Skip to contentSkip to conversation

dt-bindings: clk: fix example for single-output provider

PATCH Applied Giulio Benetti 2 participants 2 messages Mar 10, 2020 – Mar 23, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: clk: fix example for single-output provider

As described above single-output clock provider should have 0 cells number, so let's fix it by using 0 as cells number.

---
 Documentation/devicetree/bindings/clock/clock-bindings.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/clock/clock-bindings.txt +1 -1
index b646bbcf7f92..8a55fdcf96ee 100644
@@ -94,7 +94,7 @@ clock is connected to output 0 of the &ref.
     /* external oscillator */
     osc: oscillator {
         compatible = "fixed-clock";
-        #clock-cells = <1>;
+        #clock-cells = <0>;
         clock-frequency  = <32678>;
         clock-output-names = "osc";
     };
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Giulio Benetti

As described above single-output clock provider should have 0 cells number, so let's fix it by using 0 as cells number.

---
 Documentation/devicetree/bindings/clock/clock-bindings.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Rob