spmi: Add sandbox test driver
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Thu, 31 Mar 2016 21:12:28 +0000 (23:12 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:18:12 +0000 (17:18 -0400)
commitd33776e43dc8471ab03920dda77b00333a8ddd3e
tree6aa15b2e9fe52e476c02c647c0ccc2493a77a79a
parent04868b407b624c414805c9e9a79195eeb3a14829
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>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
doc/device-tree-bindings/spmi/spmi-sandbox.txt [new file with mode: 0644]
drivers/spmi/Kconfig
drivers/spmi/Makefile
drivers/spmi/spmi-sandbox.c [new file with mode: 0644]
test/dm/Makefile
test/dm/spmi.c [new file with mode: 0644]