Re: [PATCH 4/8] platform: dell: Allow DELL_LAPTOP to be arch-independent

From: Pali Rohár

Date: Fri Nov 20 2026 - 19:49:08 EST


On Friday 20 November 2026 16:05:50 Brian Mak wrote:
> CONFIG_DELL_LAPTOP is currently not available on ARM64, due to a
> dependency on CONFIG_SERIO_I8042. This dependency is actually not
> necessary, as there is a fallback. Make it optional.

i8042 is used for controlling touchpad LED and for receiving rfkill
events when the dell-rbtn is not supported on the particular machine.

Touchpad led is available on more Vostro and Inspirion machines and
there is no fallback or detection of i8042 at all. Even there is no
error checking.

And for receiving rfkill events it is same situation.

So the dell-laptop driver expects that the SERIO_I8042 is enabled and
compiled in.

If none of these functionality is available on arm64 HW, then it makes
sense to make the SERIO_I8042 only for x86. And then in the dell-laptop
driver marking the x86 specific dependency via ifdefs. Which allows to
compile driver on arm64 without those specific functionalities.

> Signed-off-by: Brian Mak <bmak@xxxxxxxxxx>
> ---
> drivers/platform/dell/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/dell/Kconfig b/drivers/platform/dell/Kconfig
> index 7030f817b6af..0223e2373508 100644
> --- a/drivers/platform/dell/Kconfig
> +++ b/drivers/platform/dell/Kconfig
> @@ -77,7 +77,7 @@ config DELL_LAPTOP
> depends on ACPI_VIDEO || ACPI_VIDEO = n
> depends on RFKILL || RFKILL = n
> depends on DELL_WMI || DELL_WMI = n
> - depends on SERIO_I8042
> + depends on SERIO_I8042 || SERIO_I8042 = n
> depends on DELL_SMBIOS
> select POWER_SUPPLY
> select LEDS_CLASS
> --
> 2.53.0
>