1*c66ec88fSEmmanuel VadotSocionext UniPhier SoC audio driver 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe Socionext UniPhier audio subsystem consists of I2S and S/PDIF blocks in 4*c66ec88fSEmmanuel Vadotthe same register space. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot- compatible : should be one of the following: 8*c66ec88fSEmmanuel Vadot "socionext,uniphier-ld11-aio" 9*c66ec88fSEmmanuel Vadot "socionext,uniphier-ld20-aio" 10*c66ec88fSEmmanuel Vadot "socionext,uniphier-pxs2-aio" 11*c66ec88fSEmmanuel Vadot- reg : offset and length of the register set for the device. 12*c66ec88fSEmmanuel Vadot- interrupts : should contain I2S or S/PDIF interrupt. 13*c66ec88fSEmmanuel Vadot- pinctrl-names : should be "default". 14*c66ec88fSEmmanuel Vadot- pinctrl-0 : defined I2S signal pins for an external codec chip. 15*c66ec88fSEmmanuel Vadot- clock-names : should include following entries: 16*c66ec88fSEmmanuel Vadot "aio" 17*c66ec88fSEmmanuel Vadot- clocks : a list of phandle, should contain an entry for each 18*c66ec88fSEmmanuel Vadot entry in clock-names. 19*c66ec88fSEmmanuel Vadot- reset-names : should include following entries: 20*c66ec88fSEmmanuel Vadot "aio" 21*c66ec88fSEmmanuel Vadot- resets : a list of phandle, should contain an entry for each 22*c66ec88fSEmmanuel Vadot entry in reset-names. 23*c66ec88fSEmmanuel Vadot- #sound-dai-cells: should be 1. 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotOptional properties: 26*c66ec88fSEmmanuel Vadot- socionext,syscon: a phandle, should contain soc-glue. 27*c66ec88fSEmmanuel Vadot The soc-glue is used for changing mode of S/PDIF signal pin 28*c66ec88fSEmmanuel Vadot to Output from Hi-Z. This property is optional if you use 29*c66ec88fSEmmanuel Vadot I2S signal pins only. 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel VadotExample: 32*c66ec88fSEmmanuel Vadot audio { 33*c66ec88fSEmmanuel Vadot compatible = "socionext,uniphier-ld20-aio"; 34*c66ec88fSEmmanuel Vadot reg = <0x56000000 0x80000>; 35*c66ec88fSEmmanuel Vadot interrupts = <0 144 4>; 36*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 37*c66ec88fSEmmanuel Vadot pinctrl-0 = <&pinctrl_aout>; 38*c66ec88fSEmmanuel Vadot clock-names = "aio"; 39*c66ec88fSEmmanuel Vadot clocks = <&sys_clk 40>; 40*c66ec88fSEmmanuel Vadot reset-names = "aio"; 41*c66ec88fSEmmanuel Vadot resets = <&sys_rst 40>; 42*c66ec88fSEmmanuel Vadot #sound-dai-cells = <1>; 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot socionext,syscon = <&sg>; 45*c66ec88fSEmmanuel Vadot }; 46