[PATCH RFC 1/3] spmi: Linux driver framework for SPMI

Kumar Gala galak at codeaurora.org
Fri Aug 16 15:04:22 EDT 2013


On Aug 9, 2013, at 3:37 PM, Josh Cartwright wrote:

> From: Kenneth Heitke <kheitke at codeaurora.org>
> 
> System Power Management Interface (SPMI) is a specification
> developed by the MIPI (Mobile Industry Process Interface) Alliance
> optimized for the real time control of Power Management ICs (PMIC).
> 
> SPMI is a two-wire serial interface that supports up to 4 master
> devices and up to 16 logical slaves.
> 
> The framework supports message APIs, multiple busses (1 controller
> per bus) and multiple clients/slave devices per controller.
> 
> Signed-off-by: Kenneth Heitke <kheitke at codeaurora.org>
> Signed-off-by: Michael Bohan <mbohan at codeaurora.org>
> Signed-off-by: Josh Cartwright <joshc at codeaurora.org>
> ---
> drivers/Kconfig                 |   2 +
> drivers/Makefile                |   1 +
> drivers/of/Kconfig              |   6 +
> drivers/of/Makefile             |   1 +
> drivers/of/of_spmi.c            |  74 +++++
> drivers/spmi/Kconfig            |   9 +
> drivers/spmi/Makefile           |   7 +
> drivers/spmi/spmi-dbgfs.c       | 591 ++++++++++++++++++++++++++++++++++++++++
> drivers/spmi/spmi-dbgfs.h       |  37 +++
> drivers/spmi/spmi.c             | 449 ++++++++++++++++++++++++++++++
> include/linux/mod_devicetable.h |   8 +
> include/linux/of_spmi.h         |  37 +++
> include/linux/spmi.h            | 337 +++++++++++++++++++++++
> 13 files changed, 1559 insertions(+)
> create mode 100644 drivers/of/of_spmi.c
> create mode 100644 drivers/spmi/Kconfig
> create mode 100644 drivers/spmi/Makefile
> create mode 100644 drivers/spmi/spmi-dbgfs.c
> create mode 100644 drivers/spmi/spmi-dbgfs.h
> create mode 100644 drivers/spmi/spmi.c
> create mode 100644 include/linux/of_spmi.h
> create mode 100644 include/linux/spmi.h

Looks like you are missing a patch for the general OF binding for SPMI

- k

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation




More information about the linux-arm-kernel mailing list