Skip to content

Commit 7fa119f

Browse files
BotchedRPRkrzk
authored andcommitted
dt-bindings: clock: exynos990: Add CMU_PERIS block
Add CMU_PERIS block compatible, and clock definitions. CMU_PERIS requires one bus clock dependency, and it's used for i.e the MCT. Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250104-exynos990-cmu-v1-1-9f54d69286d6@mentallysanemainliners.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 2014c95 commit 7fa119f

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ properties:
3131
compatible:
3232
enum:
3333
- samsung,exynos990-cmu-hsi0
34+
- samsung,exynos990-cmu-peris
3435
- samsung,exynos990-cmu-top
3536

3637
clocks:
@@ -79,6 +80,24 @@ allOf:
7980
- const: usbdp_debug
8081
- const: dpgtc
8182

83+
- if:
84+
properties:
85+
compatible:
86+
contains:
87+
const: samsung,exynos990-cmu-peris
88+
89+
then:
90+
properties:
91+
clocks:
92+
items:
93+
- description: External reference clock (26 MHz)
94+
- description: CMU_PERIS BUS clock (from CMU_TOP)
95+
96+
clock-names:
97+
items:
98+
- const: oscclk
99+
- const: bus
100+
82101
- if:
83102
properties:
84103
compatible:

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,25 @@
233233
#define CLK_GOUT_HSI0_CMU_HSI0_PCLK 21
234234
#define CLK_GOUT_HSI0_XIU_D_HSI0_ACLK 22
235235

236+
/* CMU_PERIS */
237+
#define CLK_MOUT_PERIS_BUS_USER 1
238+
#define CLK_MOUT_PERIS_CLK_PERIS_GIC 2
239+
#define CLK_GOUT_PERIS_SYSREG_PERIS_PCLK 3
240+
#define CLK_GOUT_PERIS_WDT_CLUSTER2_PCLK 4
241+
#define CLK_GOUT_PERIS_WDT_CLUSTER0_PCLK 5
242+
#define CLK_CLK_PERIS_PERIS_CMU_PERIS_PCLK 6
243+
#define CLK_GOUT_PERIS_CLK_PERIS_BUSP_CLK 7
244+
#define CLK_GOUT_PERIS_CLK_PERIS_OSCCLK_CLK 8
245+
#define CLK_GOUT_PERIS_CLK_PERIS_GIC_CLK 9
246+
#define CLK_GOUT_PERIS_AD_AXI_P_PERIS_ACLKM 10
247+
#define CLK_GOUT_PERIS_OTP_CON_BIRA_PCLK 11
248+
#define CLK_GOUT_PERIS_GIC_CLK 12
249+
#define CLK_GOUT_PERIS_LHM_AXI_P_PERIS_CLK 13
250+
#define CLK_GOUT_PERIS_MCT_PCLK 14
251+
#define CLK_GOUT_PERIS_OTP_CON_TOP_PCLK 15
252+
#define CLK_GOUT_PERIS_D_TZPC_PERIS_PCLK 16
253+
#define CLK_GOUT_PERIS_TMU_TOP_PCLK 17
254+
#define CLK_GOUT_PERIS_OTP_CON_BIRA_OSCCLK 18
255+
#define CLK_GOUT_PERIS_OTP_CON_TOP_OSCCLK 19
256+
236257
#endif

0 commit comments

Comments
 (0)