Re: [PATCH v1 1/2] dt-bindings/display/panel: otm8009a: Add optional power-supply property

From: Yannick FERTRE
Date: Tue Feb 06 2018 - 04:05:49 EST


Reviewed-by: Yannick Fertrà <yannick.fertre@xxxxxx>


On 02/05/2018 10:45 AM, Philippe Cornu wrote:
> Some boards use a dedicated voltage regulator for this panel.
> Add & document this related optional power-supply property.
>
> Signed-off-by: Philippe Cornu <philippe.cornu@xxxxxx>
> ---
> Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt
> index 6862028e7b2e..203b03eefb68 100644
> --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt
> +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.txt
> @@ -9,6 +9,7 @@ Required properties:
>
> Optional properties:
> - reset-gpios: a GPIO spec for the reset pin (active low).
> + - power-supply: phandle of the regulator that provides the supply voltage.
>
> Example:
> &dsi {
> @@ -17,5 +18,6 @@ Example:
> compatible = "orisetech,otm8009a";
> reg = <0>;
> reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
> + power-supply = <&v1v8>;
> };
> };