Commit 26475355 authored by Irui Wang's avatar Irui Wang Committed by Mauro Carvalho Chehab
Browse files

media: dt-bindings: mediatek: vcodec: Add the platform compatible to schema



There are venc node warnings when running dtbs_check, the clock-names
was unexpected, missing properties '#address-cells' and '#size-cells'.
Add the corresponding platform compatible to schema.

Signed-off-by: default avatarIrui Wang <irui.wang@mediatek.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent eb861c3d
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -67,6 +67,12 @@ properties:
  power-domains:
    maxItems: 1

  "#address-cells":
    const: 2

  "#size-cells":
    const: 2

required:
  - compatible
  - reg
@@ -84,7 +90,9 @@ allOf:
          contains:
            enum:
              - mediatek,mt8183-vcodec-enc
              - mediatek,mt8188-vcodec-enc
              - mediatek,mt8192-vcodec-enc
              - mediatek,mt8195-vcodec-enc

    then:
      required:
@@ -107,7 +115,9 @@ allOf:
        compatible:
          enum:
            - mediatek,mt8173-vcodec-enc
            - mediatek,mt8188-vcodec-enc
            - mediatek,mt8192-vcodec-enc
            - mediatek,mt8195-vcodec-enc

    then:
      properties:
@@ -118,7 +128,7 @@ allOf:
        clock-names:
          items:
            - const: venc_sel
    else:  # for vp8 hw decoder
    else:  # for vp8 hw encoder
      properties:
        clock:
          items: