diff options
author | Maruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com> | 2019-01-03 21:09:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-07 21:05:57 +0300 |
commit | 2f00f7715e624d04e25d9cb8bb0f53884d3bcb59 (patch) | |
tree | f10b27840fafc796cc801f3b4d9fdace88dbd889 /Documentation/devicetree/bindings/sound/xlnx,spdif.txt | |
parent | 47a70e6fc9a80c8d5ef69e978d25582842f9777f (diff) | |
download | linux-2f00f7715e624d04e25d9cb8bb0f53884d3bcb59.tar.xz |
dt-bindings: ASoC: xlnx, spdif: Document spdif bindings
Added documentation for SPDIF IP DT bindings.
Signed-off-by: Maruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/xlnx,spdif.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/xlnx,spdif.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/xlnx,spdif.txt b/Documentation/devicetree/bindings/sound/xlnx,spdif.txt new file mode 100644 index 000000000000..15c2d64d247c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/xlnx,spdif.txt @@ -0,0 +1,28 @@ +Device-Tree bindings for Xilinx SPDIF IP + +The IP supports playback and capture of SPDIF audio + +Required properties: + - compatible: "xlnx,spdif-2.0" + - clock-names: List of input clocks. + Required elements: "s_axi_aclk", "aud_clk_i" + - clocks: Input clock specifier. Refer to common clock bindings. + - reg: Base address and address length of the IP core instance. + - interrupts-parent: Phandle for interrupt controller. + - interrupts: List of Interrupt numbers. + - xlnx,spdif-mode: 0 :- receiver mode + 1 :- transmitter mode + - xlnx,aud_clk_i: input audio clock value. + +Example: + spdif_0: spdif@80010000 { + clock-names = "aud_clk_i", "s_axi_aclk"; + clocks = <&misc_clk_0>, <&clk 71>; + compatible = "xlnx,spdif-2.0"; + interrupt-names = "spdif_interrupt"; + interrupt-parent = <&gic>; + interrupts = <0 91 4>; + reg = <0x0 0x80010000 0x0 0x10000>; + xlnx,spdif-mode = <1>; + xlnx,aud_clk_i = <49152913>; + }; |