Skip to content

Commit 4914c17

Browse files
Raghav Sharmakrzk
authored andcommitted
dt-bindings: clock: exynosautov920: add m2m clock definitions
Add device tree clock binding definitions for CMU_M2M Signed-off-by: Raghav Sharma <raghav.s@samsung.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 8c64474 commit 4914c17

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ properties:
3838
- samsung,exynosautov920-cmu-hsi0
3939
- samsung,exynosautov920-cmu-hsi1
4040
- samsung,exynosautov920-cmu-hsi2
41+
- samsung,exynosautov920-cmu-m2m
4142
- samsung,exynosautov920-cmu-misc
4243
- samsung,exynosautov920-cmu-peric0
4344
- samsung,exynosautov920-cmu-peric1
@@ -226,6 +227,26 @@ allOf:
226227
- const: embd
227228
- const: ethernet
228229

230+
- if:
231+
properties:
232+
compatible:
233+
contains:
234+
const: samsung,exynosautov920-cmu-m2m
235+
236+
then:
237+
properties:
238+
clocks:
239+
items:
240+
- description: External reference clock (38.4 MHz)
241+
- description: CMU_M2M NOC clock (from CMU_TOP)
242+
- description: CMU_M2M JPEG clock (from CMU_TOP)
243+
244+
clock-names:
245+
items:
246+
- const: oscclk
247+
- const: noc
248+
- const: jpeg
249+
229250
required:
230251
- compatible
231252
- "#clock-cells"

include/dt-bindings/clock/samsung,exynosautov920.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,9 @@
295295
#define CLK_DOUT_HSI2_ETHERNET 6
296296
#define CLK_DOUT_HSI2_ETHERNET_PTP 7
297297

298+
/* CMU_M2M */
299+
#define CLK_MOUT_M2M_JPEG_USER 1
300+
#define CLK_MOUT_M2M_NOC_USER 2
301+
#define CLK_DOUT_M2M_NOCP 3
302+
298303
#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */

0 commit comments

Comments
 (0)