Skip to content

Commit 22493f2

Browse files
committed
Merge branch 'for-v6.16/dt-bindings-clk-samsung' into next/clk
2 parents 59636ec + 3c50137 commit 22493f2

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ properties:
3434
enum:
3535
- samsung,exynosautov920-cmu-top
3636
- samsung,exynosautov920-cmu-cpucl0
37+
- samsung,exynosautov920-cmu-cpucl1
38+
- samsung,exynosautov920-cmu-cpucl2
3739
- samsung,exynosautov920-cmu-peric0
3840
- samsung,exynosautov920-cmu-peric1
3941
- samsung,exynosautov920-cmu-misc
@@ -94,6 +96,48 @@ allOf:
9496
- const: cluster
9597
- const: dbg
9698

99+
- if:
100+
properties:
101+
compatible:
102+
contains:
103+
enum:
104+
- samsung,exynosautov920-cmu-cpucl1
105+
106+
then:
107+
properties:
108+
clocks:
109+
items:
110+
- description: External reference clock (38.4 MHz)
111+
- description: CMU_CPUCL1 SWITCH clock (from CMU_TOP)
112+
- description: CMU_CPUCL1 CLUSTER clock (from CMU_TOP)
113+
114+
clock-names:
115+
items:
116+
- const: oscclk
117+
- const: switch
118+
- const: cluster
119+
120+
- if:
121+
properties:
122+
compatible:
123+
contains:
124+
enum:
125+
- samsung,exynosautov920-cmu-cpucl2
126+
127+
then:
128+
properties:
129+
clocks:
130+
items:
131+
- description: External reference clock (38.4 MHz)
132+
- description: CMU_CPUCL2 SWITCH clock (from CMU_TOP)
133+
- description: CMU_CPUCL2 CLUSTER clock (from CMU_TOP)
134+
135+
clock-names:
136+
items:
137+
- const: oscclk
138+
- const: switch
139+
- const: cluster
140+
97141
- if:
98142
properties:
99143
compatible:

include/dt-bindings/clock/samsung,exynosautov920.h

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,38 @@
181181
#define CLK_DOUT_CPUCL0_DBG_PCLKDBG 14
182182
#define CLK_DOUT_CPUCL0_NOCP 15
183183

184+
/* CMU_CPUCL1 */
185+
#define CLK_FOUT_CPUCL1_PLL 1
186+
187+
#define CLK_MOUT_PLL_CPUCL1 2
188+
#define CLK_MOUT_CPUCL1_CLUSTER_USER 3
189+
#define CLK_MOUT_CPUCL1_SWITCH_USER 4
190+
#define CLK_MOUT_CPUCL1_CLUSTER 5
191+
#define CLK_MOUT_CPUCL1_CORE 6
192+
193+
#define CLK_DOUT_CLUSTER1_ACLK 7
194+
#define CLK_DOUT_CLUSTER1_ATCLK 8
195+
#define CLK_DOUT_CLUSTER1_MPCLK 9
196+
#define CLK_DOUT_CLUSTER1_PCLK 10
197+
#define CLK_DOUT_CLUSTER1_PERIPHCLK 11
198+
#define CLK_DOUT_CPUCL1_NOCP 12
199+
200+
/* CMU_CPUCL2 */
201+
#define CLK_FOUT_CPUCL2_PLL 1
202+
203+
#define CLK_MOUT_PLL_CPUCL2 2
204+
#define CLK_MOUT_CPUCL2_CLUSTER_USER 3
205+
#define CLK_MOUT_CPUCL2_SWITCH_USER 4
206+
#define CLK_MOUT_CPUCL2_CLUSTER 5
207+
#define CLK_MOUT_CPUCL2_CORE 6
208+
209+
#define CLK_DOUT_CLUSTER2_ACLK 7
210+
#define CLK_DOUT_CLUSTER2_ATCLK 8
211+
#define CLK_DOUT_CLUSTER2_MPCLK 9
212+
#define CLK_DOUT_CLUSTER2_PCLK 10
213+
#define CLK_DOUT_CLUSTER2_PERIPHCLK 11
214+
#define CLK_DOUT_CPUCL2_NOCP 12
215+
184216
/* CMU_PERIC0 */
185217
#define CLK_MOUT_PERIC0_IP_USER 1
186218
#define CLK_MOUT_PERIC0_NOC_USER 2

0 commit comments

Comments
 (0)