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

dt: Add documentation for the ZTE SPDIF controller

This patch adds the devicetree documentation for the ZTE
zx296702 SPDIF audio controller.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jun Nie and committed by
Mark Brown
0637e965 e5d4cd87

+28
+28
Documentation/devicetree/bindings/sound/zte,zx-spdif.txt
··· 1 + ZTE ZX296702 SPDIF controller 2 + 3 + Required properties: 4 + - compatible : Must be "zte,zx296702-spdif" 5 + - reg : Must contain SPDIF core's registers location and length 6 + - clocks : Pairs of phandle and specifier referencing the controller's clocks. 7 + - clock-names: "tx" for the clock to the SPDIF interface. 8 + - dmas: Pairs of phandle and specifier for the DMA channel that is used by 9 + the core. The core expects one dma channel for transmit. 10 + - dma-names : Must be "tx" 11 + 12 + For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties 13 + please check: 14 + * resource-names.txt 15 + * clock/clock-bindings.txt 16 + * dma/dma.txt 17 + 18 + Example: 19 + spdif0: spdif0@0b004000 { 20 + compatible = "zte,zx296702-spdif"; 21 + reg = <0x0b004000 0x1000>; 22 + clocks = <&lsp0clk ZX296702_SPDIF0_DIV>; 23 + clock-names = "tx"; 24 + interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 25 + dmas = <&dma 4>; 26 + dma-names = "tx"; 27 + status = "okay"; 28 + };