diff options
author | Guodong Xu <guodong.xu@linaro.org> | 2014-09-01 08:28:34 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 07:23:43 (GMT) |
commit | 8bdf87b400271ebc7fbf71e117c299d19a97ebb4 (patch) | |
tree | 236c32fe5eaf83e13a949cf95a8068afd92f9a68 /drivers/mfd/Kconfig | |
parent | 0709b048cea5a368e078e10fa25adc030392125a (diff) | |
download | linux-8bdf87b400271ebc7fbf71e117c299d19a97ebb4.tar.xz |
mfd: Add HI6421 PMIC Core driver
This adds driver to support HiSilicon Hi6421 PMIC. Hi6421 includes multi-
functions, such as regulators, codec, ADCs, Coulomb counter, etc.
This driver includes core APIs _only_.
Drivers for individul components, like voltage regulators, are
implemented in corresponding driver directories and files.
Registers in Hi6421 are memory mapped, so using regmap-mmio API.
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 049796a..609b7a2 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -210,6 +210,19 @@ config MFD_MC13XXX_I2C help Select this if your MC13xxx is connected via an I2C bus. +config MFD_HI6421_PMIC + tristate "HiSilicon Hi6421 PMU/Codec IC" + depends on OF + select MFD_CORE + select REGMAP_MMIO + help + Add support for HiSilicon Hi6421 PMIC. Hi6421 includes multi- + functions, such as regulators, RTC, codec, Coulomb counter, etc. + This driver includes core APIs _only_. You have to select + individul components like voltage regulators under corresponding + menus in order to enable them. + We communicate with the Hi6421 via memory-mapped I/O. + config HTC_EGPIO bool "HTC EGPIO support" depends on GPIOLIB && ARM |