File tree 6 files changed +928
-0
lines changed
Documentation/devicetree/bindings/sound
6 files changed +928
-0
lines changed Original file line number Diff line number Diff line change
1
+ * Broadcom BCM2835 SoC I2S/PCM module
2
+
3
+ Required properties:
4
+ - compatible: "brcm,bcm2835-i2s"
5
+ - reg: A list of base address and size entries:
6
+ * The first entry should cover the PCM registers
7
+ * The second entry should cover the PCM clock registers
8
+ - dmas: List of DMA controller phandle and DMA request line ordered pairs.
9
+ - dma-names: Identifier string for each DMA request line in the dmas property.
10
+ These strings correspond 1:1 with the ordered pairs in dmas.
11
+
12
+ One of the DMA channels will be responsible for transmission (should be
13
+ named "tx") and one for reception (should be named "rx").
14
+
15
+ Example:
16
+
17
+ bcm2835_i2s: i2s@7e203000 {
18
+ compatible = "brcm,bcm2835-i2s";
19
+ reg = <0x7e203000 0x20>,
20
+ <0x7e101098 0x02>;
21
+
22
+ dmas = <&dma 2>,
23
+ <&dma 3>;
24
+ dma-names = "tx", "rx";
25
+ };
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ config SND_SOC_GENERIC_DMAENGINE_PCM
33
33
# All the supported SoCs
34
34
source "sound/soc/atmel/Kconfig"
35
35
source "sound/soc/au1x/Kconfig"
36
+ source "sound/soc/bcm/Kconfig"
36
37
source "sound/soc/blackfin/Kconfig"
37
38
source "sound/soc/cirrus/Kconfig"
38
39
source "sound/soc/davinci/Kconfig"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ obj-$(CONFIG_SND_SOC) += codecs/
10
10
obj-$(CONFIG_SND_SOC) += generic/
11
11
obj-$(CONFIG_SND_SOC) += atmel/
12
12
obj-$(CONFIG_SND_SOC) += au1x/
13
+ obj-$(CONFIG_SND_SOC) += bcm/
13
14
obj-$(CONFIG_SND_SOC) += blackfin/
14
15
obj-$(CONFIG_SND_SOC) += cirrus/
15
16
obj-$(CONFIG_SND_SOC) += davinci/
Original file line number Diff line number Diff line change
1
+ config SND_BCM2835_SOC_I2S
2
+ tristate "SoC Audio support for the Broadcom BCM2835 I2S module"
3
+ depends on ARCH_BCM2835 || COMPILE_TEST
4
+ select SND_SOC_DMAENGINE_PCM
5
+ select SND_SOC_GENERIC_DMAENGINE_PCM
6
+ select REGMAP_MMIO
7
+ help
8
+ Say Y or M if you want to add support for codecs attached to
9
+ the BCM2835 I2S interface. You will also need
10
+ to select the audio interfaces to support below.
Original file line number Diff line number Diff line change
1
+ # BCM2835 Platform Support
2
+ snd-soc-bcm2835-i2s-objs := bcm2835-i2s.o
3
+
4
+ obj-$(CONFIG_SND_BCM2835_SOC_I2S) += snd-soc-bcm2835-i2s.o
5
+
You can’t perform that action at this time.
0 commit comments