diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2016-03-31 23:12:28 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-01 17:18:12 -0400 |
commit | d33776e43dc8471ab03920dda77b00333a8ddd3e (patch) | |
tree | 6aa15b2e9fe52e476c02c647c0ccc2493a77a79a /drivers/spmi/Kconfig | |
parent | 04868b407b624c414805c9e9a79195eeb3a14829 (diff) |
spmi: Add sandbox test driver
This patch adds emulated spmi bus controller with part of
pm8916 pmic on it to sandbox and tests validating SPMI uclass.
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/spmi/Kconfig')
-rw-r--r-- | drivers/spmi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig index 0b9bd31206..c70d67582d 100644 --- a/drivers/spmi/Kconfig +++ b/drivers/spmi/Kconfig @@ -7,4 +7,12 @@ config SPMI Select this to enable to support SPMI bus. SPMI (System Power Management Interface) bus is used to connect PMIC devices on various SoCs. + +config SPMI_SANDBOX + boolean "Support for Sandbox SPMI bus" + depends on SPMI + ---help--- + Demo SPMI bus implementation. Emulates part of PM8916 as single + slave (0) on bus. It has 4 GPIO peripherals, pid 0xC0-0xC3. + endmenu |