]> git.karo-electronics.de Git - linux-beck.git/commit
add single-wire serial bus interface (SSBI) driver
authorKenneth Heitke <kheitke@codeaurora.org>
Tue, 12 Mar 2013 18:41:46 +0000 (11:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 17:33:56 +0000 (10:33 -0700)
commite44b0ceee4cc2a926225e73ac1e20b9a5bb22c2d
tree3802f03fdeb9ab4a7c7b130120e8e19bd3113c20
parent501ad1c49b3d8c7b7495ef044c698c22710fc27d
add single-wire serial bus interface (SSBI) driver

SSBI is the Qualcomm single-wire serial bus interface used to connect
the MSM devices to the PMIC and other devices.

Since SSBI only supports a single slave, the driver gets the name of the
slave device passed in from the board file through the master device's
platform data.

SSBI registers pretty early (postcore), so that the PMIC can come up
before the board init. This is useful if the board init requires the
use of gpios that are connected through the PMIC.

Based on a patch by Dima Zavin <dima@android.com> that can be found at:
http://android.git.kernel.org/?p=kernel/msm.git;a=commitdiff;h=eb060bac4

This patch adds PMIC Arbiter support for the MSM8660. The PMIC Arbiter
is a hardware wrapper around the SSBI 2.0 controller that is designed to
overcome concurrency issues and security limitations.  A controller_type
field is added to the platform data to specify the type of the SSBI
controller (1.0, 2.0, or PMIC Arbiter).

[davidb@codeaurora.org:
 I've moved this driver into drivers/ssbi/ and added an include for
 linux/module.h so that it will compile]

Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/Kconfig
drivers/Makefile
drivers/ssbi/Kconfig [new file with mode: 0644]
drivers/ssbi/Makefile [new file with mode: 0644]
drivers/ssbi/ssbi.c [new file with mode: 0644]
include/linux/msm_ssbi.h [new file with mode: 0644]