[U-Boot] [PATCH V2 12/13] sandbox: dts: add sandbox_pmic.dtsi and include it to sandbox.dts and test.dts

Simon Glass
2015-05-15T13:56:57Z

On 13 May 2015 at 05:38, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> This commit adds dtsi file for Sandbox PMIC.
> It fully describes the PMIC by:
> - i2c emul node - with a default settings of 16 registers
> - 2x buck regulator nodes
> - 2x ldo regulator nodes
>
> The default register settings are set with preprocessor macros:
> - VAL2REG(min[uV/uA], step[uV/uA], val[uV/uA])
> - VAL2OMREG(mode id)
> Both defined in file:
> - include/dt-bindings/pmic/sandbox_pmic.h
>
> The Voltage ranges of each regulator can be found in:
> - include/power/sandbox_pmic.h
>
> The new file is included into:
> - sandbox.dts
> - test.dts
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> Acked-by: Simon Glass <sjg@chromium.org>
> Tested on sandbox:
> Tested-by: Simon Glass <sjg@chromium.org>
> ---
> Changes V2:
> - move sandbox PMIC node into sandbox_pmic.dtsi
> - add sandbox_pmic.h into dt-bindings directory
> - add pmic node to: sandbox.dts and test.dts
> ---
> arch/sandbox/dts/sandbox.dts | 4 ++
> arch/sandbox/dts/sandbox_pmic.dtsi | 78 +++++++++++++++++++++++++++++++++
> arch/sandbox/dts/test.dts | 6 +++
> include/dt-bindings/pmic/sandbox_pmic.h | 35 +++++++++++++++
> 4 files changed, 123 insertions(+)
> create mode 100644 arch/sandbox/dts/sandbox_pmic.dtsi
> create mode 100644 include/dt-bindings/pmic/sandbox_pmic.h

Applied to u-boot-dm, thanks!