Skip to content

Commit 4105641

Browse files
rockosovjbrun3t
authored andcommitted
dt-bindings: clock: meson: a1: peripherals: support sys_pll input
The 'sys_pll' input is an optional clock that can be used to generate 'sys_pll_div16', which serves as one of the sources for the GEN clock. 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 96f3b97 commit 4105641

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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
};

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 */

0 commit comments

Comments
 (0)