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
33 enum:33 enum:
34 - samsung,exynos850-cmu-top34 - samsung,exynos850-cmu-top
35 - samsung,exynos850-cmu-apm35 - samsung,exynos850-cmu-apm
36 - samsung,exynos850-cmu-cmgp
36 - samsung,exynos850-cmu-core37 - samsung,exynos850-cmu-core
37 - samsung,exynos850-cmu-dpu38 - samsung,exynos850-cmu-dpu
38 - samsung,exynos850-cmu-hsi39 - samsung,exynos850-cmu-hsi
@@ -87,6 +88,24 @@ allOf: · 48 unmodified lines
87 - const: oscclk88 - const: oscclk
88 - const: dout_clkcmu_apm_bus89 - const: dout_clkcmu_apm_bus
89 90
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
90 - if:109 - if:
91 properties:110 properties:
92 compatible:111 compatible:
include/dt-bindings/clock/exynos850.h+17−0
@@ -84,6 +84,23 @@ · 83 unmodified lines
84#define CLK_GOUT_SPEEDY_PCLK 2184#define CLK_GOUT_SPEEDY_PCLK 21
85#define APM_NR_CLK 2285#define APM_NR_CLK 22
86 86
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
87/* CMU_HSI */104/* CMU_HSI */
88#define CLK_MOUT_HSI_BUS_USER 1105#define CLK_MOUT_HSI_BUS_USER 1
89#define CLK_MOUT_HSI_MMC_CARD_USER 2106#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