diff options
-rw-r--r-- | Documentation/devicetree/bindings/sound/sirf-audio-port.txt | 20 | ||||
-rw-r--r-- | sound/soc/Kconfig | 1 | ||||
-rw-r--r-- | sound/soc/Makefile | 1 | ||||
-rw-r--r-- | sound/soc/sirf/Kconfig | 8 | ||||
-rw-r--r-- | sound/soc/sirf/Makefile | 3 | ||||
-rw-r--r-- | sound/soc/sirf/sirf-audio-port.c | 194 | ||||
-rw-r--r-- | sound/soc/sirf/sirf-audio-port.h | 62 |
7 files changed, 289 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 @@ | |||
1 | * SiRF SoC audio port | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "sirf,audio-port" | ||
5 | - reg: Base address and size entries: | ||
6 | - dmas: List of DMA controller phandle and DMA request line ordered pairs. | ||
7 | - dma-names: Identifier string for each DMA request line in the dmas property. | ||
8 | These strings correspond 1:1 with the ordered pairs in dmas. | ||
9 | |||
10 | One of the DMA channels will be responsible for transmission (should be | ||
11 | named "tx") and one for reception (should be named "rx"). | ||
12 | |||
13 | Example: | ||
14 | |||
15 | audioport: audioport@b0040000 { | ||
16 | compatible = "sirf,audio-port"; | ||
17 | reg = <0xb0040000 0x10000>; | ||
18 | dmas = <&dmac1 3>, <&dmac1 8>; | ||
19 | dma-names = "rx", "tx"; | ||
20 | }; | ||
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index d62ce483a443..0060b31cc3f3 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
@@ -50,6 +50,7 @@ source "sound/soc/pxa/Kconfig" | |||
50 | source "sound/soc/samsung/Kconfig" | 50 | source "sound/soc/samsung/Kconfig" |
51 | source "sound/soc/s6000/Kconfig" | 51 | source "sound/soc/s6000/Kconfig" |
52 | source "sound/soc/sh/Kconfig" | 52 | source "sound/soc/sh/Kconfig" |
53 | source "sound/soc/sirf/Kconfig" | ||
53 | source "sound/soc/spear/Kconfig" | 54 | source "sound/soc/spear/Kconfig" |
54 | source "sound/soc/tegra/Kconfig" | 55 | source "sound/soc/tegra/Kconfig" |
generated by cgit v1.2.2 (git 2.25.0) at 2025-09-29 10:47:19 -0400 |