From 55606227f3ca05af5c5fcd6e53d7afc3f765afc7 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Tue, 14 Apr 2026 15:06:14 -0700 Subject: [PATCH] =?UTF-8?q?native:=20enable=20I2C=5FDESIGNWARE=20=E2=80=94?= =?UTF-8?q?=20Jasper=20Lake=20LPSS=20I2C=20for=20RT5682=20codec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause of G7 silence: the ACPI dump added in the previous commit confirmed RTL5682 (headset codec) and MX98360A (speaker amp) are both declared on the ACPI bus (status=15, enabled+functional+visible), and SOF's JSL match table correctly selected them → jsl_rt5682_def platform device registered cleanly. But the sof_rt5682 machine driver probe was silently deferring forever waiting for the RT5682 codec to appear on its I2C bus — and that bus didn't exist, because the Intel LPSS I2C controllers (the ones at 00:15.0-3 etc that were logging "Failed to create debugfs entries") had no I2C master driver to bind to. Turn on CONFIG_I2C_DESIGNWARE_{CORE,PLATFORM,PCI,BAYTRAIL}=y so the LPSS I2C controllers enumerate their buses, ACPI client enumeration finds RTL5682 there, the RT5682 codec driver binds, and the sof_rt5682 machine driver can finally build its card. Co-Authored-By: Claude Opus 4.6 (1M context) --- fedac/native/kernel/config-minimal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fedac/native/kernel/config-minimal b/fedac/native/kernel/config-minimal index 7f80160fa2..52d60d2bda 100644 --- a/fedac/native/kernel/config-minimal +++ b/fedac/native/kernel/config-minimal @@ -2169,7 +2169,10 @@ CONFIG_I2C_ALGOBIT=y # # I2C system bus drivers (mostly embedded / system-on-chip) # -# CONFIG_I2C_DESIGNWARE_CORE is not set +CONFIG_I2C_DESIGNWARE_CORE=y +CONFIG_I2C_DESIGNWARE_PLATFORM=y +CONFIG_I2C_DESIGNWARE_PCI=y +CONFIG_I2C_DESIGNWARE_BAYTRAIL=y # CONFIG_I2C_OCORES is not set # CONFIG_I2C_PCA_PLATFORM is not set # CONFIG_I2C_SIMTEC is not set -- 2.51.2