android_kernel_oneplus_msm8998/drivers/platform/msm/Kconfig
Abhijeet Dharmapurikar 0c98f90e2e 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>
2016-03-01 12:22:33 -08:00

47 lines
1.6 KiB
Text

menu "Qualcomm MSM specific device drivers"
depends on ARCH_QCOM
config QPNP_POWER_ON
tristate "QPNP PMIC POWER-ON Driver"
depends on SPMI && INPUT
help
This driver supports the power-on functionality on Qualcomm
PNP PMIC. It currently supports reporting the change in status of
the KPDPWR_N line (connected to the power-key).
config QPNP_REVID
tristate "QPNP Revision ID Peripheral"
depends on SPMI
help
Say 'y' here to include support for the Qualcomm QPNP REVID
peripheral. REVID prints out the PMIC type and revision numbers
in the kernel log along with the PMIC option status. The PMIC
type is mapped to a Qualcomm chip part number and logged as well.
config QPNP_COINCELL
tristate "Qualcomm QPNP coincell charger support"
depends on SPMI
help
This driver supports the QPNP coincell peripheral found inside of
Qualcomm QPNP PMIC devices. The coincell charger provides a means to
charge a coincell battery or backup capacitor which is used to
maintain PMIC register state when the main battery is removed from the
mobile device.
config QPNP_HAPTIC
tristate "Haptic support for QPNP PMIC"
help
This option enables device driver support for the Haptic
on the Qualcomm Technologies' QPNP PMICs. It uses the android
timed-output framework.
config GPIO_USB_DETECT
tristate "GPIO-based USB VBUS Detection"
depends on POWER_SUPPLY
help
This driver supports external USB VBUS detection circuitry whose
output is connected to a GPIO. The driver in turn notifies the
USB driver of VBUS presence/disconnection using the power_supply
framework.
endmenu