aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-10-08 09:31:12 -0400
committerMark Brown <broonie@kernel.org>2015-10-08 11:11:17 -0400
commit51e5084e718f990e88aeb0a9219adef15f847dc8 (patch)
tree38cc5c93e3998c7e2ae03747d3ec426a543ee860
parent698d0b59f3d91cc44a76dd2994a002d263c3606b (diff)
ASoC: dt-bindings: add rockchip tranceiver bindings
Add devicetree bindings for the spdif tranceiver found on found on rk3066, rk3188 and rk3288 SoCs Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-spdif.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt
new file mode 100644
index 000000000000..33dd82c7820e
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt
@@ -0,0 +1,44 @@
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:
10 - "rockchip,rk3288-spdif", "rockchip,rk3188-spdif" or
11 "rockchip,rk3066-spdif"
12- reg: physical base address of the controller and length of memory mapped
13 region.
14- interrupts: should contain the SPDIF interrupt.
15- #address-cells: should be 1.
16- #size-cells: should be 0.
17- dmas: DMA specifiers for tx dma. See the DMA client binding,
18 Documentation/devicetree/bindings/dma/dma.txt
19- dma-names: should be "tx"
20- clocks: a list of phandle + clock-specifier pairs, one for each entry
21 in clock-names.
22- clock-names: should contain following:
23 - "hclk": clock for SPDIF controller
24 - "mclk" : clock for SPDIF bus
25
26Required properties on RK3288:
27 - rockchip,grf: the phandle of the syscon node for the general register
28 file (GRF)
29
30Example for the rk3188 SPDIF controller:
31
32spdif: spdif@0x1011e000 {
33 compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
34 reg = <0x1011e000 0x2000>;
35 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
36 #address-cells = <1>;
37 #size-cells = <0>;
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};