Re: [PATCH v4 7/7] mfd: dt-bindings: Add RK805 device tree bindings document

From: Rob Herring
Date: Thu Mar 23 2017 - 22:38:35 EST


On Fri, Mar 17, 2017 at 03:08:45PM +0800, Elaine Zhang wrote:
> Add device tree bindings documentation for Rockchip's RK805 PMIC.
>
> Signed-off-by: Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mfd/rk808.txt | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/devicetree/bindings/mfd/rk808.txt
> index 9636ae8d8d41..05eb07134483 100644
> --- a/Documentation/devicetree/bindings/mfd/rk808.txt
> +++ b/Documentation/devicetree/bindings/mfd/rk808.txt
> @@ -1,11 +1,12 @@
> RK8XX Power Management Integrated Circuit
>
> The rk8xx family current members:
> +rk805
> rk808
> rk818
>
> Required properties:
> -- compatible: "rockchip,rk808", "rockchip,rk818"
> +- compatible: "rockchip,rk805", "rockchip,rk808", "rockchip,rk818"

Please make this one valid combination per line

> - reg: I2C slave address
> - interrupt-parent: The parent interrupt controller.
> - interrupts: the interrupt outputs of the controller.
> @@ -18,6 +19,14 @@ Optional properties:
> - rockchip,system-power-controller: Telling whether or not this pmic is controlling
> the system power.
>
> +Optional RK805 properties:
> +- vcc1-supply: The input supply for DCDC_REG1
> +- vcc2-supply: The input supply for DCDC_REG2
> +- vcc3-supply: The input supply for DCDC_REG3
> +- vcc4-supply: The input supply for DCDC_REG4
> +- vcc5-supply: The input supply for LDO_REG1 and LDO_REG2
> +- vcc6-supply: The input supply for LDO_REG3
> +
> Optional RK808 properties:
> - vcc1-supply: The input supply for DCDC_REG1
> - vcc2-supply: The input supply for DCDC_REG2
> @@ -56,6 +65,15 @@ by a child node of the 'regulators' node.
> /* standard regulator bindings here */
> };
>
> +Following regulators of the RK805 PMIC block are supported. Note that
> +the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
> +number as described in RK805 datasheet.
> +
> + - DCDC_REGn
> + - valid values for n are 1 to 4.
> + - LDO_REGn
> + - valid values for n are 1 to 3
> +
> Following regulators of the RK808 PMIC block are supported. Note that
> the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
> number as described in RK808 datasheet.
> --
> 1.9.1
>
>