Your message dated Fri, 09 Oct 2026 10:14:18 +0000
with message-id <[email protected]>
and subject line Bug#1143942: fixed in linux 7.3~rc6-1~exp1
has caused the Debian Bug report #1143942,
regarding linux: please enable CONFIG_SND_SOC_ES8328_I2C on arm64 (ES8388 
analog audio, RK3588)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1143942: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143942
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:linux
Version: 7.1.3-1~bpo13+1
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Debian's arm64 kernel config enables the neighbouring Everest codecs but not
ES8328/ES8388:

    CONFIG_SND_SOC_ES8316=m
    CONFIG_SND_SOC_ES8326=m
    # CONFIG_SND_SOC_ES8328_I2C is not set
    # CONFIG_SND_SOC_ES8328_SPI is not set

The ES8388 is the analog audio codec on a number of shipping Rockchip RK3588
boards - including the Orange Pi 5B, which is supported by the mainline device
tree Debian ships. On those boards nothing binds to the codec, so the 3.5mm
headphone jack produces no output at all: HDMI audio works, analog does not.

Everything else in the chain is already correct and present in Debian's kernel,
which is what makes this a one-line config gap rather than a porting problem:

  * the devicetree node is in-tree and correct:
        audio-codec@10 { compatible = "everest,es8388", "everest,es8328"; ... }
  * the I2C device is created at boot:
        /sys/bus/i2c/devices/6-0010  name=es8388
  * the I2S controller is enabled (i2s@fddf0000, status = "okay")
  * snd_soc_rockchip_i2s_tdm, snd_soc_simple_card and snd_soc_simple_card_utils
    are all built and loaded

The only missing piece is the codec driver, so the sound card never registers
and the platform device sits in deferred probe indefinitely:

    $ cat /sys/kernel/debug/devices_deferred
    analog-sound        asoc-simple-card: parse error

    $ dmesg | grep analog-sound
    platform analog-sound: deferred probe pending: asoc-simple-card: parse error

    $ cat /proc/asound/cards
     0 [hdmi0          ]: simple-card - hdmi0
                          hdmi0

The driver's I2C glue already matches this hardware exactly
(sound/soc/codecs/es8328-i2c.c):

    static const struct of_device_id es8328_of_match[] = {
            { .compatible = "everest,es8328", },
            { .compatible = "everest,es8388", },
            { }
    };

Verification: building sound/soc/codecs/es8328.c and es8328-i2c.c unmodified
from stable v7.1.3, out-of-tree against linux-headers-7.1.3+deb13-arm64, and
loading the two modules resolves it immediately on an Orange Pi 5B:

    $ cat /proc/asound/cards
     0 [hdmi0          ]: simple-card - hdmi0
                          hdmi0
     1 [rockchipes8388 ]: simple-card - rockchip,es8388
                          rockchip,es8388

    dmesg: input: rockchip,es8388 Headphones as .../sound/card1/input17

Headphone jack-detect registers as well, and the deferred-probe entry clears.

Prior art: Armbian enable this driver for the same SoC family. Their
rockchip-rk3588 kernel config (config/kernel/linux-rockchip-rk3588-edge.config
in armbian/build) carries:

    CONFIG_SND_SOC_ES8328=m
    CONFIG_SND_SOC_ES8328_I2C=m
    CONFIG_SND_SOC_ES8328_SPI=m

alongside the same ES8316/ES8326 that Debian already builds. So this is not a
novel request or an unusual hardware combination - it is a codec another
distribution already ships for these boards, and which Debian's own devicetrees
describe.

Requested change - enable the I2C variant for arm64 (the SPI variant is not
needed for these boards, though Armbian enable both):

    CONFIG_SND_SOC_ES8328_I2C=m

Size cost, measured on arm64 (stripped, xz-compressed, as shipped):

    snd-soc-es8328.ko.xz          16100 bytes
    snd-soc-es8328-i2c.ko.xz       1612 bytes
                                  ------------
                                  17712 bytes

For comparison, the two codecs already enabled for arm64 in this family:

    snd-soc-es8316.ko.xz          17168 bytes
    snd-soc-es8326.ko.xz          20016 bytes

So the whole request is roughly one ES8316's worth of module, and it would give
working analog audio out of the box on RK3588 hardware Debian already supports
via its devicetrees.

Reported against trixie-backports 7.1.3-1~bpo13+1; the same setting is absent
from the trixie kernel config, so it likely applies there too.

Proposed patch. This follows the existing pattern for this codec family: they 
are
disabled in the common config and re-enabled per architecture where the hardware
exists. debian/config/config has

    # CONFIG_SND_SOC_ES8316 is not set
    # CONFIG_SND_SOC_ES8328_I2C is not set
    # CONFIG_SND_SOC_ES8328_SPI is not set

and debian/config/arm64/config already overrides the first of those. Adding the
I2C variant beside it keeps the block alphabetical:

--- a/debian/config/arm64/config
+++ b/debian/config/arm64/config
@@ -2774,7 +2774,8 @@
 CONFIG_SND_SOC_BT_SCO=m
 CONFIG_SND_SOC_CROS_EC_CODEC=m
 CONFIG_SND_SOC_DMIC=m
 CONFIG_SND_SOC_ES8316=m
+CONFIG_SND_SOC_ES8328_I2C=m
 CONFIG_SND_SOC_GTM601=m
 CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
 CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m

CONFIG_SND_SOC_ES8328 itself needs no entry - sound/soc/codecs/Kconfig has
SND_SOC_ES8328_I2C "select SND_SOC_ES8328", so the core is pulled in
automatically. arm64 only, since that is where the affected boards are; the SPI
variant is not needed.

(Line numbers are against debian/latest as of this report; the hunk is a single
added line in the alphabetised sound/soc/codecs/Kconfig block.)

-- System Information:
Debian Release: 13 (trixie)
  APT prefers trixie-backports
Architecture: arm64 (aarch64)
Kernel: Linux 7.1.3+deb13-arm64
Hardware: Xunlong Orange Pi 5B (Rockchip RK3588S)

defcom5-rockchip

--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 7.3~rc6-1~exp1
Done: Bastian Blank <[email protected]>

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <[email protected]> (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 09 Oct 2026 09:35:08 +0200
Source: linux
Architecture: source
Version: 7.3~rc6-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Kernel Team <[email protected]>
Changed-By: Bastian Blank <[email protected]>
Closes: 1143942 1146307 1148129 1148341 1148486 1148724 1149146
Changes:
 linux (7.3~rc6-1~exp1) experimental; urgency=medium
 .
   * New upstream release candidate.
 .
   [ Salvatore Bonaccorso ]
   * [arm64] drivers/misc: Enable HP_ILO as module (Closes: #1146307)
   * [amd64] drivers/gpu/drm/amd/amdgpu: Enable DRM_AMD_ISP
   * [amd64] drivers/media/platform/amd/isp4: Enable VIDEO_AMD_ISP4_CAPTURE as
     module (Closes: #1148129)
   * drivers/net/wireless/realtek/rtw89: Enable RTW89_8852CU as module
     (Closes: #1149146)
   * drivers/net/wireless/realtek/rtw89: Enable RTW89_8852AU as module
 .
   [ Bastian Blank ]
   * Introduce modules meta package.
 .
   [ Reto Schneider ]
   * Enable MICROCHIP_T1S_PHY as a module
 .
   [ Uwe Kleine-König ]
   * [arm64] Enable modular support for the i2c variant of ES8328 for analog
     audio on e.g. Orange Pi 5 (Closes: #1143942).
   * [loong64] Enable I2C_LS2X and PWM_LOONGSON as modules for Loongson-3A6000 /
     7A2000 (Closes: #1148486)
   * [armhf] Add axp20x_adc as a dependency for axp20x_usb_power to
     base-modules.udeb makeing USB work in the installer on sun7i-a20-bananapi
   * [alpha] Reenable CONFIG_COMPACTION which was disabled since 6.13.3-1~exp1
     due to a bug that was fixed in v7.0-rc1~211^2 (Closes: #1148341)
   * Enable BMI323 support as a module, used (at least) to detect screen
     rotation on certain 2-in-1 convertibles (Closes: #1148724)
 .
   [ Aurelien Jarno ]
   * [riscv64] Enable COMMON_CLK_EIC7700_HSP, SENSORS_EIC7700_PVT,
     RESET_EIC7700_HSP as modules
   * [riscv64] Enable SENSORS_POLARFIRE_SOC_TVS as module
   * [riscv64] Enable PHY_SPACEMIT_K3_COMBO_PHY as module
Checksums-Sha1:
 e4bff507e97a1468e70dc794a255acff538f058a 179693 linux_7.3~rc6-1~exp1.dsc
 a8910539f72ff278935431b86117602dac90e48c 165685012 linux_7.3~rc6.orig.tar.xz
 47206bcde71621aab334f60c546ce5cd91f4b841 1471128 
linux_7.3~rc6-1~exp1.debian.tar.xz
 52f05e139a83b3c14d7f7e1a91654b0aaf33d504 6293 
linux_7.3~rc6-1~exp1_source.buildinfo
Checksums-Sha256:
 5f3b5bc0dc9ff2fec9e078af34fef0e2858907b189b9690a1887c8f8ff7d7477 179693 
linux_7.3~rc6-1~exp1.dsc
 c4a1bbadaa70e35543ebbdc76e7fdc6025b5f91ef356df3d5372b97eb706a265 165685012 
linux_7.3~rc6.orig.tar.xz
 f7d3629cee03a81bf20b989d9614930bdabbb9c3205aca364374ea3857dd36e5 1471128 
linux_7.3~rc6-1~exp1.debian.tar.xz
 40d620def2373fb735e4c5f7c68c7409644102eac009ba25d04601eee5e93cbf 6293 
linux_7.3~rc6-1~exp1_source.buildinfo
Files:
 cd308bcfc0d5842f7b10957d55d53136 179693 kernel optional 
linux_7.3~rc6-1~exp1.dsc
 1a2bb61cfd0d0a99a811b4dd3fac1e9e 165685012 kernel optional 
linux_7.3~rc6.orig.tar.xz
 eb9ebe52076f91b2d8ef2849d87826aa 1471128 kernel optional 
linux_7.3~rc6-1~exp1.debian.tar.xz
 8c3fa78b079634f89ac4a44880cf3b1f 6293 kernel optional 
linux_7.3~rc6-1~exp1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIYEARYKAC8WIQQ8pEKDNIgQDAQDOBFji0aBW7swjwUCasiZwBEcd2FsZGlAZGVi
aWFuLm9yZwAKCRBji0aBW7swj5oYAPsGP5A4MjfBCn4Utu0lwdumlxR5p2k1G63O
bqWd3ssrIQD4irUzCeAP30zkGG6Qm4JtPfpXvu6noCgyAx3u+3uBCg==
=yrN3
-----END PGP SIGNATURE-----

Attachment: pgp9Naxl2mPPG.pgp
Description: PGP signature


--- End Message ---

Reply via email to