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 /doc | |
parent | 04868b407b624c414805c9e9a79195eeb3a14829 (diff) | |
download | u-boot-imx-d33776e43dc8471ab03920dda77b00333a8ddd3e.zip u-boot-imx-d33776e43dc8471ab03920dda77b00333a8ddd3e.tar.gz u-boot-imx-d33776e43dc8471ab03920dda77b00333a8ddd3e.tar.bz2 |
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 'doc')
-rw-r--r-- | doc/device-tree-bindings/spmi/spmi-sandbox.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/spmi/spmi-sandbox.txt b/doc/device-tree-bindings/spmi/spmi-sandbox.txt new file mode 100644 index 0000000..8569a1a --- /dev/null +++ b/doc/device-tree-bindings/spmi/spmi-sandbox.txt @@ -0,0 +1,31 @@ +Sandbox SPMI emulated arbiter. + +This is bus driver for Sandbox. It includes part of emulated pm8916 pmic. + +Required properties: +- compatible: "sandbox,spmi" +- #address-cells: 0x1 - childs slave ID address +- #size-cells: 0x1 + +Example: + +spmi: spmi@0 { + compatible = "sandbox,spmi"; + #address-cells = <0x1>; + #size-cells = <0x1>; + pm8916@0 { + compatible = "qcom,spmi-pmic"; + reg = <0x0 0x1>; + #address-cells = <0x1>; + #size-cells = <0x1>; + + spmi_gpios: gpios@c000 { + compatible = "qcom,pm8916-gpio"; + reg = <0xc000 0x400>; + gpio-controller; + gpio-count = <4>; + #gpio-cells = <2>; + gpio-bank-name="spmi"; + }; + }; +}; |