Skip to content

Commit f34da56

Browse files
committed
Merge branch 'v6.11/bindings' into v6.11/drivers
* v6.11/bindings: dt-bindings: clock: meson: a1: peripherals: support sys_pll input dt-bindings: clock: meson: a1: pll: introduce new syspll bindings
2 parents d4c83ac + 4105641 commit f34da56

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ properties:
3030
- description: input fixed pll div7
3131
- description: input hifi pll
3232
- description: input oscillator (usually at 24MHz)
33+
- description: input sys pll
34+
minItems: 6 # sys_pll is optional
3335

3436
clock-names:
3537
items:
@@ -39,6 +41,8 @@ properties:
3941
- const: fclk_div7
4042
- const: hifi_pll
4143
- const: xtal
44+
- const: sys_pll
45+
minItems: 6 # sys_pll is optional
4246

4347
required:
4448
- compatible
@@ -65,9 +69,10 @@ examples:
6569
<&clkc_pll CLKID_FCLK_DIV5>,
6670
<&clkc_pll CLKID_FCLK_DIV7>,
6771
<&clkc_pll CLKID_HIFI_PLL>,
68-
<&xtal>;
72+
<&xtal>,
73+
<&clkc_pll CLKID_SYS_PLL>;
6974
clock-names = "fclk_div2", "fclk_div3",
7075
"fclk_div5", "fclk_div7",
71-
"hifi_pll", "xtal";
76+
"hifi_pll", "xtal", "sys_pll";
7277
};
7378
};

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-peripherals-clkc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,6 @@
164164
#define CLKID_DMC_SEL 151
165165
#define CLKID_DMC_DIV 152
166166
#define CLKID_DMC_SEL2 153
167+
#define CLKID_SYS_PLL_DIV16 154
167168

168169
#endif /* __A1_PERIPHERALS_CLKC_H */

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)