Thread (32 messages) 32 messages, 6 authors, 2022-09-05

Re: [PATCH v3 10/19] dt-bindings: clock: rockchip: Document RV1126 CRU

From: Heiko Stübner <heiko@sntech.de>
Date: 2022-08-23 19:21:07
Also in: linux-arm-kernel, linux-clk, linux-rockchip

Am Freitag, 19. August 2022, 23:20:03 CEST schrieb Jagan Teki:
On Fri, 19 Aug 2022 at 02:59, Stephen Boyd [off-list ref] wrote:
quoted
Quoting Jagan Teki (2022-08-18 05:41:23)
quoted
+
+  clocks:
+    maxItems: 1
+
+  clock-names:
+    const: xin24m
+
+  rockchip,grf:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Phandle to the syscon managing the "general register files" (GRF),
+      if missing pll rates are not changeable, due to the missing pll
+      lock status.
+
+required:
+  - compatible
+  - reg
+  - "#clock-cells"
+  - "#reset-cells"
Why aren't clocks required?
I don't see any clocks being used by cru in rv1126 [1] so that is the
reason I didn't add any. Let me know if it is something that is
mandatory to add even if it's unused.
[1] https://github.com/rockchip-linux/kernel/blob/develop-4.19/arch/arm/boot/dts/rv1126.dtsi#L1074
Our clock drivers normally just expect that xin24m to be present
but that xin24m _is_ a clock dependency for the cru and for a lot
of Rockchip SoCs Johan did update both the binding and the dtsi-s
to make that explicit when converting the binding over to yaml

See for example the rk3399.

Heiko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help