hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt
....@@ -10,7 +10,15 @@
1010 - GXL (S905X, S905D) : "amlogic,meson-gxl-aoclkc"
1111 - GXM (S912) : "amlogic,meson-gxm-aoclkc"
1212 - AXG (A113D, A113X) : "amlogic,meson-axg-aoclkc"
13
+ - G12A (S905X2, S905D2, S905Y2) : "amlogic,meson-g12a-aoclkc"
1314 followed by the common "amlogic,meson-gx-aoclkc"
15
+- clocks: list of clock phandle, one for each entry clock-names.
16
+- clock-names: should contain the following:
17
+ * "xtal" : the platform xtal
18
+ * "mpeg-clk" : the main clock controller mother clock (aka clk81)
19
+ * "ext-32k-0" : external 32kHz reference #0 if any (optional)
20
+ * "ext-32k-1" : external 32kHz reference #1 if any (optional - gx only)
21
+ * "ext-32k-2" : external 32kHz reference #2 if any (optional - gx only)
1422
1523 - #clock-cells: should be 1.
1624
....@@ -40,8 +48,9 @@
4048 compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc";
4149 #clock-cells = <1>;
4250 #reset-cells = <1>;
51
+ clocks = <&xtal>, <&clkc CLKID_CLK81>;
52
+ clock-names = "xtal", "mpeg-clk";
4353 };
44
-};
4554
4655 Example: UART controller node that consumes the clock and reset generated
4756 by the clock controller: