Skip to content

Commit 0d7d657

Browse files
committed
boards/youyeetoo-yy3588: switch analog audio to ES8388
The codec is an ES8388; bind it through the es8328 driver on every kernel target. Single card name rockchip-es8388, alsactl state captured on hardware. Signed-off-by: SuperKali <hello@superkali.me>
1 parent 02d4d69 commit 0d7d657

3 files changed

Lines changed: 311 additions & 155 deletions

File tree

config/boards/youyeetoo-yy3588.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function post_family_tweaks__youyeetoo_yy3588_naming_audios() {
2222
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
2323
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
2424
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
25-
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8323-sound", ENV{SOUND_DESCRIPTION}="ES8323 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
25+
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-analog-sound", ENV{SOUND_DESCRIPTION}="ES8388 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
2626

2727
return 0
2828
}

config/kernel/linux-rk35xx-vendor.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,6 +2065,8 @@ CONFIG_SND_SOC_ES7243E=y
20652065
CONFIG_SND_SOC_ES8311=y
20662066
CONFIG_SND_SOC_ES8316=y
20672067
CONFIG_SND_SOC_ES8323=y
2068+
CONFIG_SND_SOC_ES8328=y
2069+
CONFIG_SND_SOC_ES8328_I2C=y
20682070
CONFIG_SND_SOC_ES8326=y
20692071
CONFIG_SND_SOC_RK3308=y
20702072
CONFIG_SND_SOC_RK3328=y

0 commit comments

Comments
 (0)