Skip to content

Commit 4b6ec8d

Browse files
cometzerokrzk
authored andcommitted
dt-bindings: clock: exynosautov9: add schema for cmu_fsys0/1
Add "samsung,exynosautov9-cmu-fsys0/1" compatibles to illustrate cmu_fsys0 and fsys1 for Exynos Auto v9 SoC. Signed-off-by: Chanho Park <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/49eaadecfb346982dff46cffb870400b76a4e281.1659054220.git.chanho61.park@samsung.com
1 parent 3c07324 commit 4b6ec8d

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ properties:
3535
- samsung,exynosautov9-cmu-top
3636
- samsung,exynosautov9-cmu-busmc
3737
- samsung,exynosautov9-cmu-core
38+
- samsung,exynosautov9-cmu-fsys0
39+
- samsung,exynosautov9-cmu-fsys1
3840
- samsung,exynosautov9-cmu-fsys2
3941
- samsung,exynosautov9-cmu-peric0
4042
- samsung,exynosautov9-cmu-peric1
@@ -107,6 +109,48 @@ allOf:
107109
- const: oscclk
108110
- const: dout_clkcmu_core_bus
109111

112+
- if:
113+
properties:
114+
compatible:
115+
contains:
116+
const: samsung,exynosautov9-cmu-fsys0
117+
118+
then:
119+
properties:
120+
clocks:
121+
items:
122+
- description: External reference clock (26 MHz)
123+
- description: CMU_FSYS0 bus clock (from CMU_TOP)
124+
- description: CMU_FSYS0 pcie clock (from CMU_TOP)
125+
126+
clock-names:
127+
items:
128+
- const: oscclk
129+
- const: dout_clkcmu_fsys0_bus
130+
- const: dout_clkcmu_fsys0_pcie
131+
132+
- if:
133+
properties:
134+
compatible:
135+
contains:
136+
const: samsung,exynosautov9-cmu-fsys1
137+
138+
then:
139+
properties:
140+
clocks:
141+
items:
142+
- description: External reference clock (26 MHz)
143+
- description: CMU_FSYS1 bus clock (from CMU_TOP)
144+
- description: CMU_FSYS1 mmc card clock (from CMU_TOP)
145+
- description: CMU_FSYS1 usb clock (from CMU_TOP)
146+
147+
clock-names:
148+
items:
149+
- const: oscclk
150+
- const: dout_clkcmu_fsys1_bus
151+
- const: dout_clkcmu_fsys1_mmc_card
152+
- const: dout_clkcmu_fsys1_usbdrd
153+
110154
- if:
111155
properties:
112156
compatible:

0 commit comments

Comments
 (0)