summaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek/Kconfig
diff options
context:
space:
mode:
authorFlora Fu <flora.fu@mediatek.com>2015-03-17 11:14:34 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2015-03-30 12:25:40 +0200
commit1f022d84bd193ec88b01c6d2cb5b6647cb20a02f (patch)
treed8bff7c26116269f6ead91c0ce8f37d222b94c83 /drivers/soc/mediatek/Kconfig
parent67fdcc96b49455569307e6ba7bba0905cf9d6596 (diff)
downloadblackbird-op-linux-1f022d84bd193ec88b01c6d2cb5b6647cb20a02f.tar.gz
blackbird-op-linux-1f022d84bd193ec88b01c6d2cb5b6647cb20a02f.zip
soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs
This adds support for the PMIC wrapper found on MediaTek MT8135 and MT8173 SoCs. The PMIC wrapper is found on MT6xxx SoCs aswell but these are currently not supported. On MediaTek MT8135, MT8173 and other SoCs the PMIC is connected via SPI. The SPI master interface is not directly visible to the CPU, but only through the PMIC wrapper inside the SoC. The communication between the SoC and the PMIC can optionally be encrypted. Also a non standard Dual IO SPI mode can be used to increase speed. The MT8135 also supports a special feature named "IP Pairing". With IP Pairing the pins of some SoC internal peripherals can be on the PMIC. The signals of these pins are routed over the SPI bus using the pwrap bridge. Because of these optional non SPI conform features the PMIC driver is not implemented as a SPI bus master driver. Signed-off-by: Flora Fu, MediaTek Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/Kconfig')
-rw-r--r--drivers/soc/mediatek/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
new file mode 100644
index 000000000000..bcdb22d5e215
--- /dev/null
+++ b/drivers/soc/mediatek/Kconfig
@@ -0,0 +1,11 @@
+#
+# MediaTek SoC drivers
+#
+config MTK_PMIC_WRAP
+ tristate "MediaTek PMIC Wrapper Support"
+ depends on ARCH_MEDIATEK
+ select REGMAP
+ help
+ Say yes here to add support for MediaTek PMIC Wrapper found
+ on different MediaTek SoCs. The PMIC wrapper is a proprietary
+ hardware to connect the PMIC.
OpenPOWER on IntegriCloud