Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: Fix node descriptions in uniphier-clock example

Prior to adding dt-bindings for SoC-dependent controllers, rename the
clock nodes to the generic names in the example.

And drop redundant examples and a parent node of the clock as it is not
directly necessary.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221213082449.2721-2-hayashi.kunihiko@socionext.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Kunihiko Hayashi and committed by
Rob Herring
e6610409 1b929c02

+3 -36
+3 -36
Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml
··· 61 61 62 62 examples: 63 63 - | 64 - sysctrl@61840000 { 65 - compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon"; 66 - reg = <0x61840000 0x4000>; 67 - 68 - clock { 69 - compatible = "socionext,uniphier-ld11-clock"; 70 - #clock-cells = <1>; 71 - }; 72 - 73 - // other nodes ... 74 - }; 75 - 76 - - | 77 - mioctrl@59810000 { 78 - compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon"; 79 - reg = <0x59810000 0x800>; 80 - 81 - clock { 82 - compatible = "socionext,uniphier-ld11-mio-clock"; 83 - #clock-cells = <1>; 84 - }; 85 - 86 - // other nodes ... 87 - }; 88 - 89 - - | 90 - perictrl@59820000 { 91 - compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon"; 92 - reg = <0x59820000 0x200>; 93 - 94 - clock { 95 - compatible = "socionext,uniphier-ld11-peri-clock"; 96 - #clock-cells = <1>; 97 - }; 98 - 99 - // other nodes ... 64 + clock-controller { 65 + compatible = "socionext,uniphier-ld11-clock"; 66 + #clock-cells = <1>; 100 67 };