summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/sirf-usp.txt
diff options
context:
space:
mode:
authorRongjun Ying <rongjun.ying@csr.com>2014-07-02 06:45:42 +0400
committerMark Brown <broonie@linaro.org>2014-07-03 20:11:41 +0400
commit374a6679bef2e79fc2a27eea79b0400295e39df0 (patch)
treef6a5dac8c4c0d85d4b0ca897d040d4a9243b9b7d /Documentation/devicetree/bindings/sound/sirf-usp.txt
parent2bd8d1d5cf8905c7652fa90a8ec952ba52f820ac (diff)
downloadlinux-374a6679bef2e79fc2a27eea79b0400295e39df0.tar.xz
ASoC: sirf: Add device tree binding for the USP audio device
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-usp.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/sirf-usp.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sirf-usp.txt b/Documentation/devicetree/bindings/sound/sirf-usp.txt
new file mode 100644
index 000000000000..02f85b32d359
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/sirf-usp.txt
@@ -0,0 +1,27 @@
+* SiRF SoC USP module
+
+Required properties:
+- compatible: "sirf,prima2-usp-pcm"
+- 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").
+
+- clocks: USP controller clock source
+- pinctrl-names: Must contain a "default" entry.
+- pinctrl-NNN: One property must exist for each entry in pinctrl-names.
+
+Example:
+usp0: usp@b0080000 {
+ compatible = "sirf,prima2-usp-pcm";
+ reg = <0xb0080000 0x10000>;
+ clocks = <&clks 28>;
+ dmas = <&dmac1 1>, <&dmac1 2>;
+ dma-names = "rx", "tx";
+ pinctrl-names = "default";
+ pinctrl-0 = <&usp0_only_utfs_pins_a>;
+};
+