summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>2016-03-31 23:12:27 +0200
committerTom Rini <trini@konsulko.com>2016-04-01 17:18:12 -0400
commit04868b407b624c414805c9e9a79195eeb3a14829 (patch)
tree00b6fdabb2f0c636aa428ce9040baca46be639f0 /include/dm
parent5a8221181edca991f7cfbf90b7f60ebf3c0b4970 (diff)
downloadu-boot-imx-04868b407b624c414805c9e9a79195eeb3a14829.zip
u-boot-imx-04868b407b624c414805c9e9a79195eeb3a14829.tar.gz
u-boot-imx-04868b407b624c414805c9e9a79195eeb3a14829.tar.bz2
drivers: Add SPMI bus uclass
Qualcom processors use proprietary bus to talk with PMIC devices - SPMI (System Power Management Interface). On wiring level it is similar to I2C, but on protocol level, it's multi-master and has simple autodetection capabilities. This commit adds simple uclass that provides bus read/write interface. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 37c4176..cbf9b2c 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -66,6 +66,7 @@ enum uclass_id {
UCLASS_RTC, /* Real time clock device */
UCLASS_SERIAL, /* Serial UART */
UCLASS_SPI, /* SPI bus */
+ UCLASS_SPMI, /* System Power Management Interface bus */
UCLASS_SPI_FLASH, /* SPI flash */
UCLASS_SPI_GENERIC, /* Generic SPI flash target */
UCLASS_SYSCON, /* System configuration device */