diff options
| author | Kenneth Heitke <kheitke@codeaurora.org> | 2014-02-12 14:44:22 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 14:55:28 -0500 |
| commit | 5a86bf343976b9c8ab2f240bc866451fa67e5573 (patch) | |
| tree | 26868658105a10869ca43d9eaf72098674eeb458 /include/dt-bindings | |
| parent | a2a720e15f59be60c7ae1c58b5b4ac1003dd5078 (diff) | |
spmi: Linux driver framework for SPMI
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@codeaurora.org>
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/dt-bindings')
| -rw-r--r-- | include/dt-bindings/spmi/spmi.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/spmi/spmi.h b/include/dt-bindings/spmi/spmi.h new file mode 100644 index 000000000000..d11e1e543871 --- /dev/null +++ b/include/dt-bindings/spmi/spmi.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. | ||
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 and | ||
| 5 | * only version 2 as published by the Free Software Foundation. | ||
| 6 | * | ||
| 7 | * This program is distributed in the hope that it will be useful, | ||
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | * GNU General Public License for more details. | ||
| 11 | */ | ||
| 12 | #ifndef __DT_BINDINGS_SPMI_H | ||
| 13 | #define __DT_BINDINGS_SPMI_H | ||
| 14 | |||
| 15 | #define SPMI_USID 0 | ||
| 16 | #define SPMI_GSID 1 | ||
| 17 | |||
| 18 | #endif | ||
