1*c66ec88fSEmmanuel VadotImagination Technologies SPDIF Output Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired Properties: 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot - compatible : Compatible list, must contain "img,spdif-out" 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot - #sound-dai-cells : Must be equal to 0 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot - reg : Offset and length of the register set for the device 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot - dmas: Contains an entry for each entry in dma-names. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot - dma-names: Must include the following entry: 14*c66ec88fSEmmanuel Vadot "tx" 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot - clocks : Contains an entry for each entry in clock-names. 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot - clock-names : Includes the following entries: 19*c66ec88fSEmmanuel Vadot "sys" The system clock 20*c66ec88fSEmmanuel Vadot "ref" The reference clock 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot - resets: Contains a phandle to the spdif out reset signal 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot - reset-names: Contains the reset signal name "rst" 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotOptional Properties: 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot - interrupts : Contains the parallel out interrupt, if present 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel VadotExample: 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadotspdif_out: spdif-out@18100d00 { 33*c66ec88fSEmmanuel Vadot compatible = "img,spdif-out"; 34*c66ec88fSEmmanuel Vadot reg = <0x18100D00 0x100>; 35*c66ec88fSEmmanuel Vadot interrupts = <GIC_SHARED 21 IRQ_TYPE_LEVEL_HIGH>; 36*c66ec88fSEmmanuel Vadot dmas = <&mdc 14 0xffffffff 0>; 37*c66ec88fSEmmanuel Vadot dma-names = "tx"; 38*c66ec88fSEmmanuel Vadot clocks = <&cr_periph SYS_CLK_SPDIF_OUT>, 39*c66ec88fSEmmanuel Vadot <&clk_core CLK_SPDIF>; 40*c66ec88fSEmmanuel Vadot clock-names = "sys", "ref"; 41*c66ec88fSEmmanuel Vadot resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>; 42*c66ec88fSEmmanuel Vadot reset-names = "rst"; 43*c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 44*c66ec88fSEmmanuel Vadot}; 45