aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spmi/Kconfig
diff options
context:
space:
mode:
authorKenneth Heitke <kheitke@codeaurora.org>2014-02-12 14:44:24 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 14:55:28 -0500
commit39ae93e3a31d0c9ca99e35b754a9f3c6f1db2bee (patch)
tree88e35be655e440dbc3122ffdf67b1f62d3a4fc61 /drivers/spmi/Kconfig
parent8006c944b043d0cfa07cd8d8cccd686e30fe766d (diff)
spmi: Add MSM PMIC Arbiter SPMI controller
Qualcomm's PMIC Arbiter SPMI controller functions as a bus master and is used to communication with one or more PMIC (slave) devices on the SPMI bus. The PMIC Arbiter is actually a hardware wrapper around the SPMI controller that provides concurrent and autonomous PMIC access to various entities that need to communicate with the PMIC. The SPMI controller hardware handles all of the SPMI bus activity (bus arbitration, sequence start condition, transmission of frames, etc). This software driver uses the PMIC Arbiter register interface to initiate command sequences on the SPMI bus. The status register is read to determine when the command sequence has completed and whether or not it completed successfully. Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org> Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spmi/Kconfig')
-rw-r--r--drivers/spmi/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig
index 1dbfee022e90..80b79013fd1e 100644
--- a/drivers/spmi/Kconfig
+++ b/drivers/spmi/Kconfig
@@ -7,3 +7,20 @@ menuconfig SPMI
7 SPMI (System Power Management Interface) is a two-wire 7 SPMI (System Power Management Interface) is a two-wire
8 serial interface between baseband and application processors 8 serial interface between baseband and application processors
9 and Power Management Integrated Circuits (PMIC). 9 and Power Management Integrated Circuits (PMIC).
10
11if SPMI
12
13config SPMI_MSM_PMIC_ARB
14 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
15 depends on ARM
16 depends on ARCH_MSM || COMPILE_TEST
17 default ARCH_MSM
18 help
19 If you say yes to this option, support will be included for the
20 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
21 processors.
22
23 This is required for communicating with Qualcomm PMICs and
24 other devices that have the SPMI interface.
25
26endif