Skip to content

Commit db1cc49

Browse files
Raghav Sharmakrzk
authored andcommitted
dt-bindings: clock: exynosautov920: add MFD clock definitions
Add device tree clock binding definitions for CMU_MFD Signed-off-by: Raghav Sharma <raghav.s@samsung.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20251119114744.1914416-2-raghav.s@samsung.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 8f0b4cc commit db1cc49

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ properties:
4040
- samsung,exynosautov920-cmu-hsi2
4141
- samsung,exynosautov920-cmu-m2m
4242
- samsung,exynosautov920-cmu-mfc
43+
- samsung,exynosautov920-cmu-mfd
4344
- samsung,exynosautov920-cmu-misc
4445
- samsung,exynosautov920-cmu-peric0
4546
- samsung,exynosautov920-cmu-peric1
@@ -268,6 +269,24 @@ allOf:
268269
- const: mfc
269270
- const: wfd
270271

272+
- if:
273+
properties:
274+
compatible:
275+
contains:
276+
const: samsung,exynosautov920-cmu-mfd
277+
278+
then:
279+
properties:
280+
clocks:
281+
items:
282+
- description: External reference clock (38.4 MHz)
283+
- description: CMU_MFD NOC clock (from CMU_TOP)
284+
285+
clock-names:
286+
items:
287+
- const: oscclk
288+
- const: noc
289+
271290
required:
272291
- compatible
273292
- "#clock-cells"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,8 @@
305305
#define CLK_MOUT_MFC_WFD_USER 2
306306
#define CLK_DOUT_MFC_NOCP 3
307307

308+
/* CMU_MFD */
309+
#define CLK_MOUT_MFD_NOC_USER 1
310+
#define CLK_DOUT_MFD_NOCP 2
311+
308312
#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */

0 commit comments

Comments
 (0)