youyeetoo-r1: use ES8323 driver for ES8388 audio codec (#428)

The ES8388 chip works only with ES8323 driver in mainline kernel.
Rename all nodes and use only "everest,es8323" compatible string.
This commit is contained in:
SuperKali 2025-11-18 15:28:13 +01:00 committed by GitHub
parent 98eae2fbbf
commit cce4bd7f7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -12,12 +12,12 @@
model = "Youyeetoo R1";
compatible = "youyeetoo,r1", "rockchip,rk3588";
/* AUDIO */
/* AUDIO - ES8388 chip, but only works with ES8323 driver */
es8388_sound: es8388-sound {
es8323_sound: es8323-sound {
status = "okay";
compatible = "rockchip,multicodecs-card";
rockchip,card-name = "rockchip-es8388";
rockchip,card-name = "rockchip-es8323";
hp-det-gpio = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>;
io-channels = <&saradc 3>;
io-channel-names = "adc-detect";
@ -26,7 +26,7 @@
rockchip,format = "i2s";
rockchip,mclk-fs = <256>;
rockchip,cpu = <&i2s0_8ch>;
rockchip,codec = <&es8388>;
rockchip,codec = <&es8323>;
rockchip,audio-routing =
"Headphone", "LOUT1",
"Headphone", "ROUT1",

View file

@ -273,10 +273,11 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c7m0_xfer>;
es8388: es8388@11 {
/* Audio codec: ES8388 chip, but only works with ES8323 driver */
es8323: es8323@11 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "everest,es8388", "everest,es8323";
compatible = "everest,es8323";
reg = <0x11>;
clocks = <&mclkout_i2s0>;
clock-names = "mclk";