Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: exynos850: Add Exynos850 CMU_MFCMSCL

CMU_MFCMSCL generates MFC, M2M, MCSC and JPEG clocks for BLK_MFCMSCL.
Add clock indices and binding documentation for CMU_MFCMSCL.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220809113323.29965-4-semen.protsenko@linaro.org

authored by

Sam Protsenko and committed by
Krzysztof Kozlowski
8f3fc0ed f20f35f4

+56 -1
+25
Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml
··· 39 39 - samsung,exynos850-cmu-dpu 40 40 - samsung,exynos850-cmu-hsi 41 41 - samsung,exynos850-cmu-is 42 + - samsung,exynos850-cmu-mfcmscl 42 43 - samsung,exynos850-cmu-peri 43 44 44 45 clocks: ··· 216 215 - const: dout_is_itp 217 216 - const: dout_is_vra 218 217 - const: dout_is_gdc 218 + 219 + - if: 220 + properties: 221 + compatible: 222 + contains: 223 + const: samsung,exynos850-cmu-mfcmscl 224 + 225 + then: 226 + properties: 227 + clocks: 228 + items: 229 + - description: External reference clock (26 MHz) 230 + - description: Multi-Format Codec clock (from CMU_TOP) 231 + - description: Memory to Memory Scaler clock (from CMU_TOP) 232 + - description: Multi-Channel Scaler clock (from CMU_TOP) 233 + - description: JPEG codec clock (from CMU_TOP) 234 + 235 + clock-names: 236 + items: 237 + - const: oscclk 238 + - const: dout_mfcmscl_mfc 239 + - const: dout_mfcmscl_m2m 240 + - const: dout_mfcmscl_mcsc 241 + - const: dout_mfcmscl_jpeg 219 242 220 243 - if: 221 244 properties:
+31 -1
include/dt-bindings/clock/exynos850.h
··· 73 73 #define CLK_DOUT_IS_ITP 61 74 74 #define CLK_DOUT_IS_VRA 62 75 75 #define CLK_DOUT_IS_GDC 63 76 - #define TOP_NR_CLK 64 76 + #define CLK_MOUT_MFCMSCL_MFC 64 77 + #define CLK_MOUT_MFCMSCL_M2M 65 78 + #define CLK_MOUT_MFCMSCL_MCSC 66 79 + #define CLK_MOUT_MFCMSCL_JPEG 67 80 + #define CLK_GOUT_MFCMSCL_MFC 68 81 + #define CLK_GOUT_MFCMSCL_M2M 69 82 + #define CLK_GOUT_MFCMSCL_MCSC 70 83 + #define CLK_GOUT_MFCMSCL_JPEG 71 84 + #define CLK_DOUT_MFCMSCL_MFC 72 85 + #define CLK_DOUT_MFCMSCL_M2M 73 86 + #define CLK_DOUT_MFCMSCL_MCSC 74 87 + #define CLK_DOUT_MFCMSCL_JPEG 75 88 + #define TOP_NR_CLK 76 77 89 78 90 /* CMU_APM */ 79 91 #define CLK_RCO_I3C_PMIC 1 ··· 236 224 #define CLK_GOUT_IS_SYSMMU_IS1_CLK 22 237 225 #define CLK_GOUT_IS_SYSREG_PCLK 23 238 226 #define IS_NR_CLK 24 227 + 228 + /* CMU_MFCMSCL */ 229 + #define CLK_MOUT_MFCMSCL_MFC_USER 1 230 + #define CLK_MOUT_MFCMSCL_M2M_USER 2 231 + #define CLK_MOUT_MFCMSCL_MCSC_USER 3 232 + #define CLK_MOUT_MFCMSCL_JPEG_USER 4 233 + #define CLK_DOUT_MFCMSCL_BUSP 5 234 + #define CLK_GOUT_MFCMSCL_CMU_MFCMSCL_PCLK 6 235 + #define CLK_GOUT_MFCMSCL_TZPC_PCLK 7 236 + #define CLK_GOUT_MFCMSCL_JPEG_ACLK 8 237 + #define CLK_GOUT_MFCMSCL_M2M_ACLK 9 238 + #define CLK_GOUT_MFCMSCL_MCSC_CLK 10 239 + #define CLK_GOUT_MFCMSCL_MFC_ACLK 11 240 + #define CLK_GOUT_MFCMSCL_PPMU_ACLK 12 241 + #define CLK_GOUT_MFCMSCL_PPMU_PCLK 13 242 + #define CLK_GOUT_MFCMSCL_SYSMMU_CLK 14 243 + #define CLK_GOUT_MFCMSCL_SYSREG_PCLK 15 244 + #define MFCMSCL_NR_CLK 16 239 245 240 246 /* CMU_PERI */ 241 247 #define CLK_MOUT_PERI_BUS_USER 1