Re: [PATCH] dt-bindings: regulator: update fixed-regulator example

From: Rob Herring
Date: Mon Feb 11 2019 - 12:36:50 EST


On Fri, Feb 8, 2019 at 8:05 AM Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> Fixed regulators do not have associated bus addresses and are typically
> placed directly under the root node where their names must still be
> unique despite not having a unit address.
>
> Fix the malformed example node which had a unit address but no "reg"
> property by dropping the unit address.
>
> Also, try to make the example more useful by using the recommended
> generic node name "regulator", but with a suffix reflecting the
> regulator name in order to make it unique.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
> .../devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>