Thread (51 messages) 51 messages, 14 authors, 2015-04-29

[PATCH 1/5] soc: mediatek: Add SMI driver

From: Paul Bolle <hidden>
Date: 2015-03-06 11:30:50
Also in: linux-devicetree, linux-iommu, lkml

On Fri, 2015-03-06 at 18:48 +0800, yong.wu at mediatek.com wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -20,3 +20,10 @@ config MT8173_PMIC_WRAP
 	  PMIC wrapper is a proprietary hardware in MT8173 to make
 	  communication protocols to access PMIC device.
 	  This driver implement access protocols for MT8173.
+
+config MTK_SMI
+        bool
Nit: make this one tab instead of 8 spaces, please.
+	help
+	  Smi help enable/disable iommu in mt8173 and control the
+	  clock of each local arbiter.
+	  It should be true while MTK_IOMMU enable.
I don't think anyone using the *config tools will ever see this text, as
there's no prompt. So you might as well make this a comment or drop it
altogether.

Is this selected by more than just MTK_IOMMU (see 2/5)? If not, I think
MTK_SMI will be set and unset in lockstep with MTK_IOMMU. In other
words, you could as well use one Kconfig symbol.

Thanks,


Paul Bolle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help