Skip to content

Commit 6e59133

Browse files
Raghav Sharmakrzk
authored andcommitted
dt-bindings: clock: exynosautov920: add G3D clock definitions
Add device tree clock binding definitions for CMU_G3D Signed-off-by: Raghav Sharma <raghav.s@samsung.com> Link: https://patch.msgid.link/20260202103555.2089376-2-raghav.s@samsung.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent cdd9414 commit 6e59133

2 files changed

Lines changed: 27 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
@@ -35,6 +35,7 @@ properties:
3535
- samsung,exynosautov920-cmu-cpucl0
3636
- samsung,exynosautov920-cmu-cpucl1
3737
- samsung,exynosautov920-cmu-cpucl2
38+
- samsung,exynosautov920-cmu-g3d
3839
- samsung,exynosautov920-cmu-hsi0
3940
- samsung,exynosautov920-cmu-hsi1
4041
- samsung,exynosautov920-cmu-hsi2
@@ -287,6 +288,26 @@ allOf:
287288
- const: oscclk
288289
- const: noc
289290

291+
- if:
292+
properties:
293+
compatible:
294+
contains:
295+
const: samsung,exynosautov920-cmu-g3d
296+
297+
then:
298+
properties:
299+
clocks:
300+
items:
301+
- description: External reference clock (38.4 MHz)
302+
- description: CMU_G3D SWITCH clock (from CMU_TOP)
303+
- description: CMU_G3D NOCP clock (from CMU_TOP)
304+
305+
clock-names:
306+
items:
307+
- const: oscclk
308+
- const: switch
309+
- const: nocp
310+
290311
required:
291312
- compatible
292313
- "#clock-cells"

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,10 @@
309309
#define CLK_MOUT_MFD_NOC_USER 1
310310
#define CLK_DOUT_MFD_NOCP 2
311311

312+
/* CMU_G3D */
313+
#define FOUT_PLL_G3D 1
314+
#define CLK_MOUT_G3D_NOC 2
315+
#define CLK_MOUT_G3D_SWITCH_USER 3
316+
#define CLK_MOUT_G3D_NOCP_USER 4
317+
312318
#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */

0 commit comments

Comments
 (0)