]> git.sur5r.net Git - u-boot/commit
drivers: Add SPMI bus uclass
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Thu, 31 Mar 2016 21:12:27 +0000 (23:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:18:12 +0000 (17:18 -0400)
commit04868b407b624c414805c9e9a79195eeb3a14829
tree00b6fdabb2f0c636aa428ce9040baca46be639f0
parent5a8221181edca991f7cfbf90b7f60ebf3c0b4970
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>
drivers/Kconfig
drivers/Makefile
drivers/spmi/Kconfig [new file with mode: 0644]
drivers/spmi/Makefile [new file with mode: 0644]
drivers/spmi/spmi-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/spmi/spmi.h [new file with mode: 0644]