Commit 0b94201e authored by Raghav Sharma's avatar Raghav Sharma Committed by Krzysztof Kozlowski
Browse files

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



Add device tree clock binding definitions for CMU_MFC

Signed-off-by: default avatarRaghav Sharma <raghav.s@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 4914c17a
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ properties:
      - samsung,exynosautov920-cmu-hsi1
      - samsung,exynosautov920-cmu-hsi2
      - samsung,exynosautov920-cmu-m2m
      - samsung,exynosautov920-cmu-mfc
      - samsung,exynosautov920-cmu-misc
      - samsung,exynosautov920-cmu-peric0
      - samsung,exynosautov920-cmu-peric1
@@ -247,6 +248,26 @@ allOf:
            - const: noc
            - const: jpeg

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

    then:
      properties:
        clocks:
          items:
            - description: External reference clock (38.4 MHz)
            - description: CMU_MFC MFC clock (from CMU_TOP)
            - description: CMU_MFC WFD clock (from CMU_TOP)

        clock-names:
          items:
            - const: oscclk
            - const: mfc
            - const: wfd

required:
  - compatible
  - "#clock-cells"
+5 −0
Original line number Diff line number Diff line
@@ -300,4 +300,9 @@
#define CLK_MOUT_M2M_NOC_USER           2
#define CLK_DOUT_M2M_NOCP               3

/* CMU_MFC */
#define CLK_MOUT_MFC_MFC_USER           1
#define CLK_MOUT_MFC_WFD_USER           2
#define CLK_DOUT_MFC_NOCP               3

#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */