-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Describe the bug
I'm trying to apply this overlay on RPI 5
https://github.com/AkiyukiOkayasu/RaspberryPi_I2S_Master/blob/master/i2smaster.dts
Here my overlay for RPI 5
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&i2s_clk_consumer>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&sound>;
__overlay__ {
compatible = "simple-audio-card";
simple-audio-card,name = "sj201";
status = "okay";
capture_link: simple-audio-card,dai-link@0 {
format = "i2s";
r_cpu_dai: cpu {
sound-dai = <&i2s_clk_consumer>;
dai-tdm-slot-num = <2>;
dai-tdm-slot-width = <32>;
};
r_codec_dai: codec {
sound-dai = <&codec_in>;
};
};
};
};
fragment@3 {
target-path = "/";
__overlay__ {
codec_in: spdif-receiver {
#address-cells = <0>;
#size-cells = <0>;
#sound-dai-cells = <0>;
compatible = "linux,spdif-dir";
status = "okay";
};
};
};
};
after running this overlay I have an error:
[ 5.815800] designware-i2s 1f000a4000.i2s: ASoC: error at snd_soc_dai_set_fmt on 1f000a4000.i2s: -22
[ 5.815868] asoc-simple-card: probe of soc:sound failed with error -22
Steps to reproduce the behaviour
- build overlay: dtc -@ -H epapr -O dtb -o xvf3510.dtbo -Wno-unit_address_vs_reg xvf3510.dts
- Add overlay to /boot/firmware/config.txt
- Reboot
Device (s)
Raspberry Pi 5
System
cat /etc/rpi-issue
Raspberry Pi reference 2023-12-05
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 70cd6f2a1e34d07f5cba7047aea5b92457372e05, stage
vcgencmd version
2024/02/16 15:28:41
Copyright (c) 2012 Broadcom
version 4c845bd3 (release) (embedded)
uname -a
Linux raspberrypi 6.6.21-v8-16k+ #1741 SMP PREEMPT Fri Mar 8 13:44:12 GMT 2024 aarch64 GNU/Linux
Logs
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels