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