-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Rongjun Ying
authored and
Mark Brown
committed
Jul 3, 2014
1 parent
2bd8d1d
commit 374a667
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
|