Commit 6e591332 authored by Raghav Sharma's avatar Raghav Sharma Committed by Krzysztof Kozlowski
Browse files

dt-bindings: clock: exynosautov920: add G3D clock definitions



Add device tree clock binding definitions for CMU_G3D

Signed-off-by: default avatarRaghav Sharma <raghav.s@samsung.com>
Link: https://patch.msgid.link/20260202103555.2089376-2-raghav.s@samsung.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent cdd94147
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ properties:
      - samsung,exynosautov920-cmu-cpucl0
      - samsung,exynosautov920-cmu-cpucl1
      - samsung,exynosautov920-cmu-cpucl2
      - samsung,exynosautov920-cmu-g3d
      - samsung,exynosautov920-cmu-hsi0
      - samsung,exynosautov920-cmu-hsi1
      - samsung,exynosautov920-cmu-hsi2
@@ -287,6 +288,26 @@ allOf:
            - const: oscclk
            - const: noc

  - if:
      properties:
        compatible:
          contains:
            const: samsung,exynosautov920-cmu-g3d

    then:
      properties:
        clocks:
          items:
            - description: External reference clock (38.4 MHz)
            - description: CMU_G3D SWITCH clock (from CMU_TOP)
            - description: CMU_G3D NOCP clock (from CMU_TOP)

        clock-names:
          items:
            - const: oscclk
            - const: switch
            - const: nocp

required:
  - compatible
  - "#clock-cells"
+6 −0
Original line number Diff line number Diff line
@@ -309,4 +309,10 @@
#define CLK_MOUT_MFD_NOC_USER           1
#define CLK_DOUT_MFD_NOCP               2

/* CMU_G3D */
#define FOUT_PLL_G3D                    1
#define CLK_MOUT_G3D_NOC                2
#define CLK_MOUT_G3D_SWITCH_USER        3
#define CLK_MOUT_G3D_NOCP_USER          4

#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */