2020-03-10 00:06:07

by Giulio Benetti

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Giulio Benetti <[email protected]>
---
Documentation/devicetree/bindings/clock/clock-bindings.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt b/Documentation/devicetree/bindings/clock/clock-bindings.txt
index b646bbcf7f92..8a55fdcf96ee 100644
--- a/Documentation/devicetree/bindings/clock/clock-bindings.txt
+++ b/Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -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";
};
--
2.20.1


2020-03-23 21:01:52

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: clk: fix example for single-output provider

On Tue, 10 Mar 2020 00:57:22 +0100, Giulio Benetti wrote:
> As described above single-output clock provider should have
> 0 cells number, so let's fix it by using 0 as cells number.
>
> Signed-off-by: Giulio Benetti <[email protected]>
> ---
> Documentation/devicetree/bindings/clock/clock-bindings.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied, thanks.

Rob