Skip to content

Commit f20f35f

Browse files
Sam Protsenkokrzk
authored andcommitted
dt-bindings: clock: exynos850: Add Exynos850 CMU_IS
CMU_IS generates CSIS, IPP, ITP, VRA and GDC clocks for BLK_IS. Add clock indices and bindings documentation for CMU_IS domain. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 45bbf4d commit f20f35f

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ properties:
3838
- samsung,exynos850-cmu-core
3939
- samsung,exynos850-cmu-dpu
4040
- samsung,exynos850-cmu-hsi
41+
- samsung,exynos850-cmu-is
4142
- samsung,exynos850-cmu-peri
4243

4344
clocks:
@@ -191,6 +192,30 @@ allOf:
191192
- const: dout_hsi_mmc_card
192193
- const: dout_hsi_usb20drd
193194

195+
- if:
196+
properties:
197+
compatible:
198+
contains:
199+
const: samsung,exynos850-cmu-is
200+
201+
then:
202+
properties:
203+
clocks:
204+
items:
205+
- description: External reference clock (26 MHz)
206+
- description: CMU_IS bus clock (from CMU_TOP)
207+
- description: Image Texture Processing core clock (from CMU_TOP)
208+
- description: Visual Recognition Accelerator clock (from CMU_TOP)
209+
- description: Geometric Distortion Correction clock (from CMU_TOP)
210+
211+
clock-names:
212+
items:
213+
- const: oscclk
214+
- const: dout_is_bus
215+
- const: dout_is_itp
216+
- const: dout_is_vra
217+
- const: dout_is_gdc
218+
194219
- if:
195220
properties:
196221
compatible:

include/dt-bindings/clock/exynos850.h

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,19 @@
6161
#define CLK_MOUT_AUD 49
6262
#define CLK_GOUT_AUD 50
6363
#define CLK_DOUT_AUD 51
64-
#define TOP_NR_CLK 52
64+
#define CLK_MOUT_IS_BUS 52
65+
#define CLK_MOUT_IS_ITP 53
66+
#define CLK_MOUT_IS_VRA 54
67+
#define CLK_MOUT_IS_GDC 55
68+
#define CLK_GOUT_IS_BUS 56
69+
#define CLK_GOUT_IS_ITP 57
70+
#define CLK_GOUT_IS_VRA 58
71+
#define CLK_GOUT_IS_GDC 59
72+
#define CLK_DOUT_IS_BUS 60
73+
#define CLK_DOUT_IS_ITP 61
74+
#define CLK_DOUT_IS_VRA 62
75+
#define CLK_DOUT_IS_GDC 63
76+
#define TOP_NR_CLK 64
6577

6678
/* CMU_APM */
6779
#define CLK_RCO_I3C_PMIC 1
@@ -187,6 +199,32 @@
187199
#define CLK_GOUT_SYSREG_HSI_PCLK 13
188200
#define HSI_NR_CLK 14
189201

202+
/* CMU_IS */
203+
#define CLK_MOUT_IS_BUS_USER 1
204+
#define CLK_MOUT_IS_ITP_USER 2
205+
#define CLK_MOUT_IS_VRA_USER 3
206+
#define CLK_MOUT_IS_GDC_USER 4
207+
#define CLK_DOUT_IS_BUSP 5
208+
#define CLK_GOUT_IS_CMU_IS_PCLK 6
209+
#define CLK_GOUT_IS_CSIS0_ACLK 7
210+
#define CLK_GOUT_IS_CSIS1_ACLK 8
211+
#define CLK_GOUT_IS_CSIS2_ACLK 9
212+
#define CLK_GOUT_IS_TZPC_PCLK 10
213+
#define CLK_GOUT_IS_CSIS_DMA_CLK 11
214+
#define CLK_GOUT_IS_GDC_CLK 12
215+
#define CLK_GOUT_IS_IPP_CLK 13
216+
#define CLK_GOUT_IS_ITP_CLK 14
217+
#define CLK_GOUT_IS_MCSC_CLK 15
218+
#define CLK_GOUT_IS_VRA_CLK 16
219+
#define CLK_GOUT_IS_PPMU_IS0_ACLK 17
220+
#define CLK_GOUT_IS_PPMU_IS0_PCLK 18
221+
#define CLK_GOUT_IS_PPMU_IS1_ACLK 19
222+
#define CLK_GOUT_IS_PPMU_IS1_PCLK 20
223+
#define CLK_GOUT_IS_SYSMMU_IS0_CLK 21
224+
#define CLK_GOUT_IS_SYSMMU_IS1_CLK 22
225+
#define CLK_GOUT_IS_SYSREG_PCLK 23
226+
#define IS_NR_CLK 24
227+
190228
/* CMU_PERI */
191229
#define CLK_MOUT_PERI_BUS_USER 1
192230
#define CLK_MOUT_PERI_UART_USER 2

0 commit comments

Comments
 (0)