]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: clock: renesas: Make example 'clocks' parsable
authorRob Herring <robh@kernel.org>
Tue, 1 Mar 2022 19:03:59 +0000 (13:03 -0600)
committerStephen Boyd <sboyd@kernel.org>
Fri, 25 Mar 2022 02:24:10 +0000 (19:24 -0700)
commit33816b3073215bdf100f60195cbbcc2997c0b089
treea5d1315af54b0b57fd40c062855ba40d23381bd3
parent33f9df74fe1aff5bd1dd1a75f5e11b25a8935d17
dt-bindings: clock: renesas: Make example 'clocks' parsable

'clocks' in the example is not parsable with the 0 phandle value
because the number of #clock-cells is unknown in the previous entry.
Solve this by adding the clock provider node. Only 'cpg_clocks' is
needed as the examples are built with fixups which can be used to
identify phandles.

This is in preparation to support schema validation on .dtb files.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220301190400.1644150-1-robh@kernel.org
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/renesas,cpg-div6-clock.yaml