Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / rockchip-spdif.txt
CommitLineData
51e5084e
SS
1* Rockchip SPDIF transceiver
2
3The S/PDIF audio block is a stereo transceiver that allows the
4processor to receive and transmit digital audio via an coaxial cable or
5a fibre cable.
6
7Required properties:
8
9- compatible: should be one of the following:
ab877394
SZ
10 - "rockchip,rk3066-spdif"
11 - "rockchip,rk3188-spdif"
12 - "rockchip,rk3288-spdif"
13 - "rockchip,rk3366-spdif"
14 - "rockchip,rk3368-spdif"
15 - "rockchip,rk3399-spdif"
51e5084e
SS
16- reg: physical base address of the controller and length of memory mapped
17 region.
18- interrupts: should contain the SPDIF interrupt.
51e5084e
SS
19- dmas: DMA specifiers for tx dma. See the DMA client binding,
20 Documentation/devicetree/bindings/dma/dma.txt
21- dma-names: should be "tx"
22- clocks: a list of phandle + clock-specifier pairs, one for each entry
23 in clock-names.
24- clock-names: should contain following:
25 - "hclk": clock for SPDIF controller
26 - "mclk" : clock for SPDIF bus
27
28Required properties on RK3288:
29 - rockchip,grf: the phandle of the syscon node for the general register
30 file (GRF)
31
32Example for the rk3188 SPDIF controller:
33
34spdif: spdif@0x1011e000 {
35 compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
36 reg = <0x1011e000 0x2000>;
37 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
51e5084e
SS
38 dmas = <&dmac1_s 8>;
39 dma-names = "tx";
40 clock-names = "hclk", "mclk";
41 clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>;
42 status = "disabled";
43 #sound-dai-cells = <0>;
44};
This page took 0.066453 seconds and 5 git commands to generate.