summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/sirf-audio-port.txt
diff options
context:
space:
mode:
authorRongjun Ying <rongjun.ying@csr.com>2014-03-05 16:34:35 +0800
committerMark Brown <broonie@linaro.org>2014-03-06 17:20:08 +0800
commita731e217df3a2ee3ef9413153ed7b45e578d8687 (patch)
tree7c2955f9931af1ab396a1685c27c63b061ae625b /Documentation/devicetree/bindings/sound/sirf-audio-port.txt
parentf516e368dcb5eb5fbe23246c09bf69573d67cd18 (diff)
downloadtalos-obmc-linux-a731e217df3a2ee3ef9413153ed7b45e578d8687.tar.gz
talos-obmc-linux-a731e217df3a2ee3ef9413153ed7b45e578d8687.zip
ASoC: sirf: Add SiRF audio port driver is used by SiRF internal audio codec
This driver is used by SIRF internal audio codec. Use dedicated SiRF audio port TXFIFO and RXFIFO Supports two DMA channels for SiRF audio port TXFIFO and RXFIFO The audio port like as audio bus such as i2s. Signed-off-by: Rongjun Ying <rongjun.ying@csr.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/sirf-audio-port.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/sirf-audio-port.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sirf-audio-port.txt b/Documentation/devicetree/bindings/sound/sirf-audio-port.txt
new file mode 100644
index 000000000000..1f66de3c8f00
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/sirf-audio-port.txt
@@ -0,0 +1,20 @@
+* SiRF SoC audio port
+
+Required properties:
+- compatible: "sirf,audio-port"
+- reg: Base address and size entries:
+- dmas: List of DMA controller phandle and DMA request line ordered pairs.
+- dma-names: Identifier string for each DMA request line in the dmas property.
+ These strings correspond 1:1 with the ordered pairs in dmas.
+
+ One of the DMA channels will be responsible for transmission (should be
+ named "tx") and one for reception (should be named "rx").
+
+Example:
+
+audioport: audioport@b0040000 {
+ compatible = "sirf,audio-port";
+ reg = <0xb0040000 0x10000>;
+ dmas = <&dmac1 3>, <&dmac1 8>;
+ dma-names = "rx", "tx";
+};
OpenPOWER on IntegriCloud