History

dt-bindings: clock: Add bindings for Exynos850 CMU_CMGP

CMU_CMGP generates USI and ADC clocks for BLK_ALIVE. In particular USI clocks are needed for HSI2C_3 and HSI2C_4 instances. Add clock indices and bindings documentation for CMU_CMGP domain.

Sam Protsenko committed 4 years ago

Commit c2afeb71 parent 579839a2 files · +36 −0Browse files

Unified · Split

2 files
  1. Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml +19 −0
  2. include/dt-bindings/clock/exynos850.h +17 −0
Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml+19−0
@@ -33,6 +33,7 @@ properties: · 32 unmodified lines
3333 enum:
3434 - samsung,exynos850-cmu-top
3535 - samsung,exynos850-cmu-apm
36+ - samsung,exynos850-cmu-cmgp
3637 - samsung,exynos850-cmu-core
3738 - samsung,exynos850-cmu-dpu
3839 - samsung,exynos850-cmu-hsi
@@ -87,6 +88,24 @@ allOf: · 48 unmodified lines
8788 - const: oscclk
8889 - const: dout_clkcmu_apm_bus
8990
91+ - if:
92+ properties:
93+ compatible:
94+ contains:
95+ const: samsung,exynos850-cmu-cmgp
96+
97+ then:
98+ properties:
99+ clocks:
100+ items:
101+ - description: External reference clock (26 MHz)
102+ - description: CMU_CMGP bus clock (from CMU_APM)
103+
104+ clock-names:
105+ items:
106+ - const: oscclk
107+ - const: gout_clkcmu_cmgp_bus
108+
90109 - if:
91110 properties:
92111 compatible:
include/dt-bindings/clock/exynos850.h+17−0
@@ -84,6 +84,23 @@ · 83 unmodified lines
8484 #define CLK_GOUT_SPEEDY_PCLK 21
8585 #define APM_NR_CLK 22
8686
87+/* CMU_CMGP */
88+#define CLK_RCO_CMGP 1
89+#define CLK_MOUT_CMGP_ADC 2
90+#define CLK_MOUT_CMGP_USI0 3
91+#define CLK_MOUT_CMGP_USI1 4
92+#define CLK_DOUT_CMGP_ADC 5
93+#define CLK_DOUT_CMGP_USI0 6
94+#define CLK_DOUT_CMGP_USI1 7
95+#define CLK_GOUT_CMGP_ADC_S0_PCLK 8
96+#define CLK_GOUT_CMGP_ADC_S1_PCLK 9
97+#define CLK_GOUT_CMGP_GPIO_PCLK 10
98+#define CLK_GOUT_CMGP_USI0_IPCLK 11
99+#define CLK_GOUT_CMGP_USI0_PCLK 12
100+#define CLK_GOUT_CMGP_USI1_IPCLK 13
101+#define CLK_GOUT_CMGP_USI1_PCLK 14
102+#define CMGP_NR_CLK 15
103+
87104 /* CMU_HSI */
88105 #define CLK_MOUT_HSI_BUS_USER 1
89106 #define CLK_MOUT_HSI_MMC_CARD_USER 2

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t