-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[orangepilite/current] pcm5102a module disabled #1798
Comments
@igorpecovnik @martinayotte any thoughts? |
If its tested, yes, here. And to patch/kernel/sunxi-dev , optional sunxi-legacy |
^If its tested, yes, here. And to patch/kernel/sunxi-dev , optional sunxi-legacy Been using the PCM5102a with the orangepione/lite using a similar method with the legacy (4.19.y) kernel. It did take some head scratching initially wondering why the module wasn't getting compiled directly from Kconfig then came across this forum thread that suggested the same description fix. diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 22408bc..73126bd 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -30,8 +30,10 @@ config SND_SUN8I_CODEC_ANALOG
config SND_SUN4I_I2S
tristate "Allwinner A10 I2S Support"
+ depends on OF
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
+ select SND_SOC_PCM5102A
help
Say Y or M if you want to add support for codecs attached to
the Allwinner A10 I2S. You will also need to select the |
for sunxi-current and sunx-dev kernels. Fixes armbian#1798
for sunxi-current and sunx-dev kernels. Fixes armbian#1798
On a stock armbian image for the orangepi lite (image
Armbian_20.02.0-rc1_Orangepilite_buster_current_5.4.14.7z
), there is no kernel module for the pcm5102 (i2s with no hw control, so no i2c/spi required) DAC.Trying to build a kernel using the build toolchain, I noticed for some reason, the pcm5102a build sound module is not even listed in the modules (in the allwinner soc codecs submenu) while configuring a kernel build because of the lack of a description for the entry
config SND_SOC_PCM5102A
in thelinux-mainline/orange-pi-5.4/sound/soc/codecs/Kconfig
file. Replacing:with
makes it possible to build the module (and it work!), with the help of an overlay like:
I'd be nice to have it already built in armbian to make life easier for those who want to play with these cheapo but very capable DACs.
I'm not sure where to start if I want to provide a PR for this. I guess I have to provide a patch in
patch/kernel/sunxi-current
right?The text was updated successfully, but these errors were encountered: