linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: clock: fu740-prci: add reset-cells
@ 2021-09-20 14:49 Krzysztof Kozlowski
  2021-09-23 16:59 ` Rob Herring
  2021-11-02 21:40 ` Stephen Boyd
  0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-20 14:49 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Rob Herring, Palmer Dabbelt,
	Paul Walmsley, Albert Ou, Zong Li, Krzysztof Kozlowski,
	linux-clk, devicetree, linux-riscv, linux-kernel

The SiFive FU740 Power Reset Clock Interrupt Controller is a reset line
provider so add respective reset-cells property to fix:

  arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dt.yaml: clock-controller@10000000:
    '#reset-cells' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/clock/sifive/fu740-prci.yaml          | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml b/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml
index e17143cac316..252085a0cf65 100644
--- a/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml
+++ b/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml
@@ -42,6 +42,9 @@ properties:
   "#clock-cells":
     const: 1
 
+  "#reset-cells":
+    const: 1
+
 required:
   - compatible
   - reg
@@ -57,4 +60,5 @@ examples:
       reg = <0x10000000 0x1000>;
       clocks = <&hfclk>, <&rtcclk>;
       #clock-cells = <1>;
+      #reset-cells = <1>;
     };
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-02 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 14:49 [PATCH] dt-bindings: clock: fu740-prci: add reset-cells Krzysztof Kozlowski
2021-09-23 16:59 ` Rob Herring
2021-10-08  1:29   ` Palmer Dabbelt
2021-10-08 10:02     ` Heiko Stübner
2021-11-02 21:40 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).