1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/mediatek,mt2701-hdmi-audio.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: MediaTek MT2701/MT7623N HDMI audio output 8 9maintainers: 10 - Daniel Golle <daniel@makrotopia.org> 11 12description: 13 Sound card routing the MT2701/MT7623N Audio Front End HDMI 14 playback path to the on-chip HDMI transmitter. The AFE 15 provides the DMA memif and internal I2S engine; the HDMI 16 transmitter acts as the audio codec on the serialised link. 17 18properties: 19 compatible: 20 oneOf: 21 - const: mediatek,mt2701-hdmi-audio 22 - items: 23 - const: mediatek,mt7623n-hdmi-audio 24 - const: mediatek,mt2701-hdmi-audio 25 26 mediatek,platform: 27 $ref: /schemas/types.yaml#/definitions/phandle 28 description: Phandle of the MT2701/MT7623N AFE platform node. 29 30 mediatek,audio-codec: 31 $ref: /schemas/types.yaml#/definitions/phandle 32 description: Phandle of the HDMI transmitter acting as audio codec. 33 34required: 35 - compatible 36 - mediatek,platform 37 - mediatek,audio-codec 38 39additionalProperties: false 40 41examples: 42 - | 43 sound-hdmi { 44 compatible = "mediatek,mt7623n-hdmi-audio", 45 "mediatek,mt2701-hdmi-audio"; 46 mediatek,platform = <&afe>; 47 mediatek,audio-codec = <&hdmi0>; 48 }; 49