Skip to content

Commit 96f3b97

Browse files
rockosovjbrun3t
authored andcommitted
dt-bindings: clock: meson: a1: pll: introduce new syspll bindings
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 <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent fc1c7f9 commit 96f3b97

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ properties:
2626
items:
2727
- description: input fixpll_in
2828
- description: input hifipll_in
29+
- description: input syspll_in
30+
minItems: 2 # syspll_in is optional
2931

3032
clock-names:
3133
items:
3234
- const: fixpll_in
3335
- const: hifipll_in
36+
- const: syspll_in
37+
minItems: 2 # syspll_in is optional
3438

3539
required:
3640
- compatible
@@ -53,7 +57,8 @@ examples:
5357
reg = <0 0x7c80 0 0x18c>;
5458
#clock-cells = <1>;
5559
clocks = <&clkc_periphs CLKID_FIXPLL_IN>,
56-
<&clkc_periphs CLKID_HIFIPLL_IN>;
57-
clock-names = "fixpll_in", "hifipll_in";
60+
<&clkc_periphs CLKID_HIFIPLL_IN>,
61+
<&clkc_periphs CLKID_SYSPLL_IN>;
62+
clock-names = "fixpll_in", "hifipll_in", "syspll_in";
5863
};
5964
};

include/dt-bindings/clock/amlogic,a1-pll-clkc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
#define CLKID_FCLK_DIV5 8
2222
#define CLKID_FCLK_DIV7 9
2323
#define CLKID_HIFI_PLL 10
24+
#define CLKID_SYS_PLL 11
2425

2526
#endif /* __A1_PLL_CLKC_H */

0 commit comments

Comments
 (0)