Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.6 39 lines 1.1 kB view raw
1Allwinner Sony/Philips Digital Interface Format (S/PDIF) Controller 2 3The Allwinner S/PDIF audio block is a transceiver that allows the 4processor to receive and transmit digital audio via an coaxial cable or 5a fibre cable. 6For now only playback is supported. 7 8Required properties: 9 10 - compatible : should be one of the following: 11 - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC 12 13 - reg : Offset and length of the register set for the device. 14 15 - interrupts : Contains the spdif interrupt. 16 17 - dmas : Generic dma devicetree binding as described in 18 Documentation/devicetree/bindings/dma/dma.txt. 19 20 - dma-names : Two dmas have to be defined, "tx" and "rx". 21 22 - clocks : Contains an entry for each entry in clock-names. 23 24 - clock-names : Includes the following entries: 25 "apb" clock for the spdif bus. 26 "spdif" clock for spdif controller. 27 28Example: 29 30spdif: spdif@01c21000 { 31 compatible = "allwinner,sun4i-a10-spdif"; 32 reg = <0x01c21000 0x40>; 33 interrupts = <13>; 34 clocks = <&apb0_gates 1>, <&spdif_clk>; 35 clock-names = "apb", "spdif"; 36 dmas = <&dma 0 2>, <&dma 0 2>; 37 dma-names = "rx", "tx"; 38 status = "okay"; 39};