1*c66ec88fSEmmanuel Vadot* Amlogic HDMI Tx control glue 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: "amlogic,g12a-tohdmitx" or 5*c66ec88fSEmmanuel Vadot "amlogic,sm1-tohdmitx" 6*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory 7*c66ec88fSEmmanuel Vadot mapped region. 8*c66ec88fSEmmanuel Vadot- #sound-dai-cells: should be 1. 9*c66ec88fSEmmanuel Vadot- resets: phandle to the dedicated reset line of the hdmitx glue. 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel VadotExample on the S905X2 SoC: 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadottohdmitx: audio-controller@744 { 14*c66ec88fSEmmanuel Vadot compatible = "amlogic,g12a-tohdmitx"; 15*c66ec88fSEmmanuel Vadot reg = <0x0 0x744 0x0 0x4>; 16*c66ec88fSEmmanuel Vadot #sound-dai-cells = <1>; 17*c66ec88fSEmmanuel Vadot resets = <&clkc_audio AUD_RESET_TOHDMITX>; 18*c66ec88fSEmmanuel Vadot}; 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotExample of an 'amlogic,axg-sound-card': 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadotsound { 23*c66ec88fSEmmanuel Vadot compatible = "amlogic,axg-sound-card"; 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot[...] 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot dai-link-x { 28*c66ec88fSEmmanuel Vadot sound-dai = <&tdmif_a>; 29*c66ec88fSEmmanuel Vadot dai-format = "i2s"; 30*c66ec88fSEmmanuel Vadot dai-tdm-slot-tx-mask-0 = <1 1>; 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot codec-0 { 33*c66ec88fSEmmanuel Vadot sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>; 34*c66ec88fSEmmanuel Vadot }; 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot codec-1 { 37*c66ec88fSEmmanuel Vadot sound-dai = <&external_dac>; 38*c66ec88fSEmmanuel Vadot }; 39*c66ec88fSEmmanuel Vadot }; 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot dai-link-y { 42*c66ec88fSEmmanuel Vadot sound-dai = <&tdmif_c>; 43*c66ec88fSEmmanuel Vadot dai-format = "i2s"; 44*c66ec88fSEmmanuel Vadot dai-tdm-slot-tx-mask-0 = <1 1>; 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot codec { 47*c66ec88fSEmmanuel Vadot sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>; 48*c66ec88fSEmmanuel Vadot }; 49*c66ec88fSEmmanuel Vadot }; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot dai-link-z { 52*c66ec88fSEmmanuel Vadot sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadot codec { 55*c66ec88fSEmmanuel Vadot sound-dai = <&hdmi_tx>; 56*c66ec88fSEmmanuel Vadot }; 57*c66ec88fSEmmanuel Vadot }; 58*c66ec88fSEmmanuel Vadot}; 59