mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
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: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
parent
e1c9223adf
commit
a8e3d66ff5
|
|
@ -48,19 +48,39 @@ required:
|
||||||
- compatible
|
- compatible
|
||||||
- '#clock-cells'
|
- '#clock-cells'
|
||||||
|
|
||||||
if:
|
allOf:
|
||||||
properties:
|
- if:
|
||||||
compatible:
|
properties:
|
||||||
contains:
|
compatible:
|
||||||
const: mediatek,mt8183-audiosys
|
contains:
|
||||||
then:
|
enum:
|
||||||
properties:
|
- mediatek,mt2701-audsys
|
||||||
audio-controller:
|
- mediatek,mt7622-audsys
|
||||||
$ref: /schemas/sound/mediatek,mt8183-audio.yaml#
|
then:
|
||||||
else:
|
properties:
|
||||||
properties:
|
audio-controller:
|
||||||
audio-controller:
|
$ref: /schemas/sound/mediatek,mt2701-audio.yaml#
|
||||||
$ref: /schemas/sound/mediatek,mt2701-audio.yaml#
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: mediatek,mt8183-audiosys
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
audio-controller:
|
||||||
|
$ref: /schemas/sound/mediatek,mt8183-audio.yaml#
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: mediatek,mt8192-audsys
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
audio-controller:
|
||||||
|
$ref: /schemas/sound/mt8192-afe-pcm.yaml#
|
||||||
|
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user