]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: clock: meson: a1: pll: introduce new syspll bindings
authorDmitry Rokosov <ddrokosov@salutedevices.com>
Wed, 15 May 2024 18:47:25 +0000 (21:47 +0300)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 10 Jun 2024 10:16:45 +0000 (12:16 +0200)
The 'syspll' PLL is a general-purpose PLL designed specifically for the
CPU clock. It is capable of producing output frequencies within the
range of 768MHz to 1536MHz.

The 'syspll_in' source clock is an optional parent connection from the
peripherals clock controller.

Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240515185103.20256-3-ddrokosov@salutedevices.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml
include/dt-bindings/clock/amlogic,a1-pll-clkc.h

index a59b188a8bf554b029cf815dca98ac0efa49f540..c99274d2a9bd608f55e4b1d626afa61dfb8e1e9a 100644 (file)
@@ -26,11 +26,15 @@ properties:
     items:
       - description: input fixpll_in
       - description: input hifipll_in
+      - description: input syspll_in
+    minItems: 2 # syspll_in is optional
 
   clock-names:
     items:
       - const: fixpll_in
       - const: hifipll_in
+      - const: syspll_in
+    minItems: 2 # syspll_in is optional
 
 required:
   - compatible
@@ -53,7 +57,8 @@ examples:
             reg = <0 0x7c80 0 0x18c>;
             #clock-cells = <1>;
             clocks = <&clkc_periphs CLKID_FIXPLL_IN>,
-                     <&clkc_periphs CLKID_HIFIPLL_IN>;
-            clock-names = "fixpll_in", "hifipll_in";
+                     <&clkc_periphs CLKID_HIFIPLL_IN>,
+                     <&clkc_periphs CLKID_SYSPLL_IN>;
+            clock-names = "fixpll_in", "hifipll_in", "syspll_in";
         };
     };
index 2b660c0f2c9f3742eb4b04834fcae422e28dd77d..0dfc5e78a2d518541891676afc6e35787694751a 100644 (file)
@@ -21,5 +21,6 @@
 #define CLKID_FCLK_DIV5                8
 #define CLKID_FCLK_DIV7                9
 #define CLKID_HIFI_PLL         10
+#define CLKID_SYS_PLL          11
 
 #endif /* __A1_PLL_CLKC_H */