Bug#940672: Please add support for HP x2 210 PMIC and sound card

2022-04-24 Thread Diederik de Haas
Control: tag -1 pending

On Wed, 18 Sep 2019 21:46:38 +0200 Benoît Laniel  wrote:
> Package: linux-image-5.3.0-rc5-amd64
> Version: 5.3~rc5-1~exp2
> Severity: wishlist
> Tags: patch
> 
> HP x2 210 has an AXP288 PMIC. Battery driver is already enabled but not
> the charger one. Moreover, the ADC driver is needed to make them work.

I created https://salsa.debian.org/kernel-team/linux/-/merge_requests/465 and 
that has now been merged into the 'sid' branch.
Only those 2 modules needed to be enabled, the rest was already present.

signature.asc
Description: This is a digitally signed message part.


Bug#940672: Please add support for HP x2 210 PMIC and sound card

2019-09-18 Thread Benoît Laniel
Package: linux-image-5.3.0-rc5-amd64
Version: 5.3~rc5-1~exp2
Severity: wishlist
Tags: patch

HP x2 210 has an AXP288 PMIC. Battery driver is already enabled but not
the
charger one. Moreover, the ADC driver is needed to make them work.

Also, this device uses the (now landed) CX2072X codec.

Here is a proposed patch (against current debian linux git branch)
which
enables the necessary drivers.

Thanks for all your work ;)
diff --git a/debian/config/kernelarch-x86/config 
b/debian/config/kernelarch-x86/config
index cbf9193..e58a66b 100644
--- a/debian/config/kernelarch-x86/config
+++ b/debian/config/kernelarch-x86/config
@@ -454,6 +454,7 @@ CONFIG_EDAC_AMD8111=m
 ## file: drivers/extcon/Kconfig
 ##
 CONFIG_EXTCON=m
+CONFIG_EXTCON_AXP288=m
 CONFIG_EXTCON_INTEL_CHT_WC=m
 
 ##
@@ -703,6 +704,11 @@ CONFIG_KXCJK1013=m
 CONFIG_MMA9551=m
 CONFIG_MMA9553=m
 
+##
+## file: drivers/iio/adc/Kconfig
+##
+CONFIG_AXP288_ADC=m
+
 ##
 ## file: drivers/iio/gyro/Kconfig
 ##
@@ -1444,6 +1450,7 @@ CONFIG_PNP=y
 ## file: drivers/power/supply/Kconfig
 ##
 CONFIG_BATTERY_SBS=m
+CONFIG_AXP288_CHARGER=m
 CONFIG_AXP288_FUEL_GAUGE=m
 CONFIG_BATTERY_MAX17042=m
 CONFIG_CHARGER_BQ24190=m
@@ -2102,6 +2109,7 @@ CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m
 CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH=m
 CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m
 CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH=m
+CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH=m
 CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH=m
 CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH=m
 # CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH is not set