Skip to content

Commit aec0c90

Browse files
sound: soc: rp1: First rough, somewhat working version. WIP.
Despite the name this is not an ASOC driver but an ALSA PCM one. It probably should be rewritten/ported to the ASOC framework! It only supports 48000Hz and lacks mmap() amongst other things.
1 parent e200a4b commit aec0c90

File tree

7 files changed

+1356
-0
lines changed

7 files changed

+1356
-0
lines changed

arch/arm64/configs/bcm2712_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ CONFIG_SND_PISOUND=m
11481148
CONFIG_SND_DACBERRY400=m
11491149
CONFIG_SND_DESIGNWARE_I2S=m
11501150
CONFIG_SND_DESIGNWARE_PCM=y
1151+
CONFIG_SND_RP1_AUDIO_OUT=m
11511152
CONFIG_SND_SOC_AD193X_SPI=m
11521153
CONFIG_SND_SOC_AD193X_I2C=m
11531154
CONFIG_SND_SOC_ADAU1701=m

sound/soc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ source "sound/soc/mxs/Kconfig"
107107
source "sound/soc/pxa/Kconfig"
108108
source "sound/soc/qcom/Kconfig"
109109
source "sound/soc/rockchip/Kconfig"
110+
source "sound/soc/rp1/Kconfig"
110111
source "sound/soc/samsung/Kconfig"
111112
source "sound/soc/sh/Kconfig"
112113
source "sound/soc/sof/Kconfig"

sound/soc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ obj-$(CONFIG_SND_SOC) += kirkwood/
6060
obj-$(CONFIG_SND_SOC) += pxa/
6161
obj-$(CONFIG_SND_SOC) += qcom/
6262
obj-$(CONFIG_SND_SOC) += rockchip/
63+
obj-$(CONFIG_SND_SOC) += rp1/
6364
obj-$(CONFIG_SND_SOC) += samsung/
6465
obj-$(CONFIG_SND_SOC) += sh/
6566
obj-$(CONFIG_SND_SOC) += sof/

sound/soc/rp1/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
config SND_RP1_AUDIO_OUT
3+
tristate "PWM Audio Out from RP1"
4+
help
5+
Say Y or M if you want to add support for digital audio
6+
output from Raspberry Pi 5.
7+

sound/soc/rp1/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-$(CONFIG_SND_RP1_AUDIO_OUT) += rp1-aout.o

sound/soc/rp1/audio_out_regs.h

Lines changed: 935 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)