Unverified Commit a8e3d66f authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno
Browse files

dt-bindings: arm: mediatek: audsys: Support mt8192-audsys variant



Add support for the mediatek,mt8192-audsys compatible, which uses
a different audio controller (mt8192-afe-pcm) compared to mt8183
and mt2701.

This resolves a dtbs_check warning on all MT8192 devicetrees.

Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent e1c9223a
Loading
Loading
Loading
Loading
+33 −13
Original line number Diff line number Diff line
@@ -48,7 +48,20 @@ required:
  - compatible
  - '#clock-cells'

if:
allOf:
 - if:
     properties:
       compatible:
         contains:
           enum:
             - mediatek,mt2701-audsys
             - mediatek,mt7622-audsys
   then:
     properties:
       audio-controller:
         $ref: /schemas/sound/mediatek,mt2701-audio.yaml#

 - if:
     properties:
       compatible:
         contains:
@@ -57,10 +70,17 @@ then:
     properties:
       audio-controller:
         $ref: /schemas/sound/mediatek,mt8183-audio.yaml#
else:

 - if:
     properties:
       compatible:
         contains:
           const: mediatek,mt8192-audsys
   then:
     properties:
       audio-controller:
      $ref: /schemas/sound/mediatek,mt2701-audio.yaml#
         $ref: /schemas/sound/mt8192-afe-pcm.yaml#


additionalProperties: false