spmi: Add MSM PMIC Arbiter SPMI controller
authorKenneth Heitke <kheitke@codeaurora.org>
Wed, 12 Feb 2014 19:44:24 +0000 (13:44 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 19:55:28 +0000 (11:55 -0800)
commit39ae93e3a31d0c9ca99e35b754a9f3c6f1db2bee
tree88e35be655e440dbc3122ffdf67b1f62d3a4fc61
parent8006c944b043d0cfa07cd8d8cccd686e30fe766d
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>
drivers/spmi/Kconfig
drivers/spmi/Makefile
drivers/spmi/spmi-pmic-arb.c [new file with mode: 0644]