diff options
author | Damien Horsley <Damien.Horsley@imgtec.com> | 2015-02-02 03:15:46 +0000 |
---|---|---|
committer | Govindraj Raja <Govindraj.Raja@imgtec.com> | 2015-06-22 16:01:44 +0100 |
commit | adaf462ddc453f607212973760f55b19c8e5f31d (patch) | |
tree | b96c62862a9badf387d32ea8501df88a88fc3a10 /Documentation/devicetree | |
parent | 0e4e0e8e0b7bd675d61a8fc410849ffe7048bf63 (diff) | |
download | v4.1-adaf462ddc453f607212973760f55b19c8e5f31d.tar.gz |
ASoC: img: Add spdif output binding document
Add a device tree binding document for the Imagination Technologies
spdif output controller
Change-Id: I01f002bf983bd3122df4c25c52e61cb077acab3c
Signed-off-by: Damien Horsley <Damien.Horsley@imgtec.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/sound/img,spdif-out.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/img,spdif-out.txt b/Documentation/devicetree/bindings/sound/img,spdif-out.txt new file mode 100644 index 00000000000..d6c61b16cbc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/img,spdif-out.txt @@ -0,0 +1,41 @@ +Imagination Technologies SPDIF Out Controller + +Required properties: + + - compatible : Compatible list, must contain "img,spdif-out" + + - #sound-dai-cells : Must be equal to 0 + + - reg : Offset and length of the register set for the device + + - interrupts : Contains the spdif out interrupt + + - dmas : Generic dma devicetree binding as described in + Documentation/devicetree/bindings/dma/dma.txt + + - dma-names : Includes "tx" + + - clocks : Contains an entry for each entry in clock-names + + - clock-names : Includes the following entries: + "sys" The system clock + "ref" The reference clock + + - resets: Must contain a phandle to the spdif out reset signal + + - reset-names: Must contain the reset signal name "rst" + +Example: + +spdif_out: spdif-out@18100D00 { + compatible = "img,spdif-out"; + #sound-dai-cells = <0>; + reg = <0x18100D00 0x100>; + interrupts = <GIC_SHARED 21 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&mdc 14 0xffffffff 0>; + dma-names = "tx"; + clocks = <&system_clk>, <&clk_audio>; + clock-names = "sys", "ref"; + resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>; + reset-names = "rst"; +}; |