summaryrefslogtreecommitdiff
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2016-01-22 15:30:57 -0800
committerRohit Vaswani <rvaswani@codeaurora.org>2016-03-01 12:22:33 -0800
commit0c98f90e2e5d7abd362645ffc07b106731609969 (patch)
tree556e2e5c1524f71df3d1d97d7bdb8d19a7c6bea2 /drivers/regulator/Kconfig
parent065fd87ad33b0b00dcbce1ce8880590492aec658 (diff)
spmi_devices: change to platform_devices
Change to using upstream spmi bus architecture. All the spmi devices, marked by spmi-dev-container, become platform devices. spmi-slave-container devices become spmi_devices each representing a slave. The read/write functions use regmap api's instead of calls to spmi_ext_register_read/write() implemented by the spmi bus. This regmap is instantiated per slave. The spmi bus helper functions like spmi_get_irq get changed to their platform bus equivalents. Change Kconfig files include * Remove dependence on OF_SPMI, MSM_QPNP_INT * There were few places where an earlier commit dcc2aedc80746acee589e4b47d3e6adf5d3ec253 missed adding dependence on SPMI along with MSM_SPMI. Fix them. * Add depends on ARCH_MSM. ARCH_MSM is used for internal builds. Change the nodes in DTSI files to confirm to the modified drivers. Update their binding docs to drop spmi-dev-container and spmi-slave-container; Finally update defconfig to use upstream SPMI. Change-Id: Ic85bff27c09c84b152cb38acbc3cadd05c0ec57a Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index b07545fbc2a5..44ecb5cc7142 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -796,8 +796,7 @@ config REGULATOR_RPM_SMD
application processor over SMD.
config REGULATOR_QPNP
- depends on SPMI || MSM_SPMI
- depends on OF_SPMI
+ depends on SPMI
tristate "Qualcomm QPNP regulator support"
help
This driver supports voltage regulators in Qualcomm PMIC chips which
@@ -806,8 +805,7 @@ config REGULATOR_QPNP
regulators. They also provide voltage switches and boost regulators.
config REGULATOR_QPNP_LABIBB
- depends on SPMI || MSM_SPMI
- depends on OF_SPMI
+ depends on SPMI
tristate "Qualcomm Technologies, Inc QPNP LAB/IBB regulator support"
help
This driver supports voltage regulators in Qualcomm Technologies, Inc
@@ -819,7 +817,7 @@ config REGULATOR_QPNP_LABIBB
config REGULATOR_SPM
bool "SPM regulator driver"
- depends on (SPMI || MSM_SPMI) && OF_SPMI
+ depends on SPMI
help
Enable support for the SPM regulator driver which is used for
setting voltages of processor supply regulators via the SPM module