Skip to content

Commit 0b94201

Browse files
Raghav Sharmakrzk
authored andcommitted
dt-bindings: clock: exynosautov920: add mfc clock definitions
Add device tree clock binding definitions for CMU_MFC Signed-off-by: Raghav Sharma <raghav.s@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 4914c17 commit 0b94201

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
@@ -39,6 +39,7 @@ properties:
3939
- samsung,exynosautov920-cmu-hsi1
4040
- samsung,exynosautov920-cmu-hsi2
4141
- samsung,exynosautov920-cmu-m2m
42+
- samsung,exynosautov920-cmu-mfc
4243
- samsung,exynosautov920-cmu-misc
4344
- samsung,exynosautov920-cmu-peric0
4445
- samsung,exynosautov920-cmu-peric1
@@ -247,6 +248,26 @@ allOf:
247248
- const: noc
248249
- const: jpeg
249250

251+
- if:
252+
properties:
253+
compatible:
254+
contains:
255+
const: samsung,exynosautov920-cmu-mfc
256+
257+
then:
258+
properties:
259+
clocks:
260+
items:
261+
- description: External reference clock (38.4 MHz)
262+
- description: CMU_MFC MFC clock (from CMU_TOP)
263+
- description: CMU_MFC WFD clock (from CMU_TOP)
264+
265+
clock-names:
266+
items:
267+
- const: oscclk
268+
- const: mfc
269+
- const: wfd
270+
250271
required:
251272
- compatible
252273
- "#clock-cells"

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,9 @@
300300
#define CLK_MOUT_M2M_NOC_USER 2
301301
#define CLK_DOUT_M2M_NOCP 3
302302

303+
/* CMU_MFC */
304+
#define CLK_MOUT_MFC_MFC_USER 1
305+
#define CLK_MOUT_MFC_WFD_USER 2
306+
#define CLK_DOUT_MFC_NOCP 3
307+
303308
#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */

0 commit comments

Comments
 (0)