Skip to content

Commit e264250

Browse files
Shin Sonkrzk
authored andcommitted
dt-bindings: clock: exynosautov920: add cpucl0 clock definitions
Add cpucl0 clock definitions. CPUCL0 refers to CPU Cluster 0, which provide clock support for the CPUs on Exynosauto V920 SoC. Signed-off-by: Shin Son <shin.son@samsung.com> Link: https://lore.kernel.org/r/20250423044153.1288077-2-shin.son@samsung.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 0af2f6b commit e264250

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: Samsung ExynosAuto v920 SoC clock controller
88

99
maintainers:
1010
- Sunyeal Hong <sunyeal.hong@samsung.com>
11+
- Shin Son <shin.son@samsung.com>
1112
- Chanwoo Choi <cw00.choi@samsung.com>
1213
- Krzysztof Kozlowski <krzk@kernel.org>
1314
- Sylwester Nawrocki <s.nawrocki@samsung.com>
@@ -32,6 +33,7 @@ properties:
3233
compatible:
3334
enum:
3435
- samsung,exynosautov920-cmu-top
36+
- samsung,exynosautov920-cmu-cpucl0
3537
- samsung,exynosautov920-cmu-peric0
3638
- samsung,exynosautov920-cmu-peric1
3739
- samsung,exynosautov920-cmu-misc
@@ -69,6 +71,29 @@ allOf:
6971
items:
7072
- const: oscclk
7173

74+
- if:
75+
properties:
76+
compatible:
77+
contains:
78+
enum:
79+
- samsung,exynosautov920-cmu-cpucl0
80+
81+
then:
82+
properties:
83+
clocks:
84+
items:
85+
- description: External reference clock (38.4 MHz)
86+
- description: CMU_CPUCL0 SWITCH clock (from CMU_TOP)
87+
- description: CMU_CPUCL0 CLUSTER clock (from CMU_TOP)
88+
- description: CMU_CPUCL0 DBG clock (from CMU_TOP)
89+
90+
clock-names:
91+
items:
92+
- const: oscclk
93+
- const: switch
94+
- const: cluster
95+
- const: dbg
96+
7297
- if:
7398
properties:
7499
compatible:

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,25 @@
162162
#define DOUT_CLKCMU_TAA_NOC 146
163163
#define DOUT_TCXO_DIV2 147
164164

165+
/* CMU_CPUCL0 */
166+
#define CLK_FOUT_CPUCL0_PLL 1
167+
168+
#define CLK_MOUT_PLL_CPUCL0 2
169+
#define CLK_MOUT_CPUCL0_CLUSTER_USER 3
170+
#define CLK_MOUT_CPUCL0_DBG_USER 4
171+
#define CLK_MOUT_CPUCL0_SWITCH_USER 5
172+
#define CLK_MOUT_CPUCL0_CLUSTER 6
173+
#define CLK_MOUT_CPUCL0_CORE 7
174+
175+
#define CLK_DOUT_CLUSTER0_ACLK 8
176+
#define CLK_DOUT_CLUSTER0_ATCLK 9
177+
#define CLK_DOUT_CLUSTER0_MPCLK 10
178+
#define CLK_DOUT_CLUSTER0_PCLK 11
179+
#define CLK_DOUT_CLUSTER0_PERIPHCLK 12
180+
#define CLK_DOUT_CPUCL0_DBG_NOC 13
181+
#define CLK_DOUT_CPUCL0_DBG_PCLKDBG 14
182+
#define CLK_DOUT_CPUCL0_NOCP 15
183+
165184
/* CMU_PERIC0 */
166185
#define CLK_MOUT_PERIC0_IP_USER 1
167186
#define CLK_MOUT_PERIC0_NOC_USER 2

0 commit comments

Comments
 (0)