Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8031

Interfacing (DSI, CSI, I2C, etc.) • Re: Raspberry Pi 4 model B external I2S interface not working on pins GPIO18 - 21

$
0
0
MAX98090 driver is not enable in the def_config --> will require you to compile a custom kernel (check Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers)
Hello aBUGSworstnightmare,

I did compile the kernel for SoC from the GitHub link that's mentioned in my post. But I think it did not generate .dts, .dtbo file for max98090 but its driver module (snd-soc-max98090) were found which also shows loaded when 'lsmod' is executed but stays unused by any peripheral. Despite doing all these, the i2s on RPi GPIO pins did not seem to get enabled to interface it with audio codec.
Also the .dts file that ChatGPT generated from .yaml file also shows compilation errors at line 17, thus gave up generating .dts file.
I want to verify if max98090.dtbo file is available in /mfs/sd/ path (mentioned in 'sudo vclog -m' part of my post) as it is available nowhere in the sd card.

Thank you for responding.
Maybe chatGPT is not the right 'goto person' *lol* asking for DT overlays??? :idea:

If compiling he overlay failed then you will have to fix that. an overlay will not be created if there are compile errors.
There are overlay examples for I2S devices in-tree; checking them may help you to fix your error.

Again: have you enabled the driver module in your custom kernel?
Yes, I did enable the driver module in the customized kernel that I am using in RPi. Before going for overlay generation, I will have to confirm if max98090.dtbo file is available (in mysterious '/mfs/sd/overlays' path) as this .dtbo file isn't available in '/boot/overlays' and I have no idea about overlay generation.

Thanks.

Statistics: Posted by electronics_enthu — Wed Nov 06, 2024 3:13 pm



Viewing all articles
Browse latest Browse all 8031

Trending Articles