Commit 4914c17a authored by Raghav Sharma's avatar Raghav Sharma Committed by Krzysztof Kozlowski
Browse files

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



Add device tree clock binding definitions for CMU_M2M

Signed-off-by: default avatarRaghav Sharma <raghav.s@samsung.com>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 8c644749
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ properties:
      - samsung,exynosautov920-cmu-hsi0
      - samsung,exynosautov920-cmu-hsi1
      - samsung,exynosautov920-cmu-hsi2
      - samsung,exynosautov920-cmu-m2m
      - samsung,exynosautov920-cmu-misc
      - samsung,exynosautov920-cmu-peric0
      - samsung,exynosautov920-cmu-peric1
@@ -226,6 +227,26 @@ allOf:
            - const: embd
            - const: ethernet

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

    then:
      properties:
        clocks:
          items:
            - description: External reference clock (38.4 MHz)
            - description: CMU_M2M NOC clock (from CMU_TOP)
            - description: CMU_M2M JPEG clock (from CMU_TOP)

        clock-names:
          items:
            - const: oscclk
            - const: noc
            - const: jpeg

required:
  - compatible
  - "#clock-cells"
+5 −0
Original line number Diff line number Diff line
@@ -295,4 +295,9 @@
#define CLK_DOUT_HSI2_ETHERNET          6
#define CLK_DOUT_HSI2_ETHERNET_PTP      7

/* CMU_M2M */
#define CLK_MOUT_M2M_JPEG_USER          1
#define CLK_MOUT_M2M_NOC_USER           2
#define CLK_DOUT_M2M_NOCP               3

#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */