* [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies
@ 2026-11-22 13:56 Geert Uytterhoeven
2026-11-22 13:56 ` [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA Geert Uytterhoeven
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-11-22 13:56 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
Hi all,
This patch series improves dependencies for the MFD_ASUS_TRANSFORMER_EC
MFD driver and its various subdrivers:
- The first patch adds a missing dependency for the MFD driver,
- The other patches enable compile-testing for the input, serio, and
battery subdrivers.
Note that compile-testing cannot be enabled for the LED and charger
subdrivers, as they have a hard dependency on the MFD driver.
Changes compared to v1[1]:
- s/is only found/is currently only found/,
- Add missing dependencies on I2C.
Thanks for your comments!
[1] https://lore.kernel.org/cover.1795095742.git.geert+renesas@glider.be
Geert Uytterhoeven (4):
mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA
input: keyboard: Enable compile-testing for
KEYBOARD_ASUS_TRANSFORMER_EC
input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC
power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC
drivers/input/keyboard/Kconfig | 3 ++-
drivers/input/serio/Kconfig | 3 ++-
drivers/mfd/Kconfig | 1 +
drivers/power/supply/Kconfig | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
--
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
@ 2026-11-22 13:56 ` Geert Uytterhoeven
2026-11-27 15:17 ` (subset) " Lee Jones
2026-11-22 13:56 ` [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC Geert Uytterhoeven
` (3 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-11-22 13:56 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
The ASUS Transformer's Embedded Controller is currently only found in
Tegra-based ASUS Transformer series tablets and mobile docks. Hence add
a dependency on ARCH_TEGRA, to prevent asking the user about this
functionality when configuring a kernel without NVIDIA Tegra SoC
support.
Fixes: ccb21236e307ff60 ("mfd: Add driver for ASUS Transformer embedded controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- s/is only found/is currently only found/.
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 2b2b7bced40017b0..d64be4bb0ed19a4c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -141,6 +141,7 @@ config MFD_ASUS_TRANSFORMER_EC
tristate "ASUS Transformer's embedded controller"
select MFD_CORE
depends on I2C && OF
+ depends on ARCH_TEGRA || COMPILE_TEST
help
Select this to enable support for the Embedded Controller (EC)
found in Tegra based ASUS Transformer series tablets and mobile
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
2026-11-22 13:56 ` [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA Geert Uytterhoeven
@ 2026-11-22 13:56 ` Geert Uytterhoeven
2026-11-23 2:28 ` Dmitry Torokhov
2026-11-22 13:56 ` [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC Geert Uytterhoeven
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-11-22 13:56 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
The Asus Transformer's Mobile Dock multimedia keys driver builds fine
when MFD_ASUS_TRANSFORMER_EC is not enabled.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Add missing dependency on I2C.
---
drivers/input/keyboard/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 728bc068667e7ee9..a2b92ca7e534affa 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -91,7 +91,8 @@ config KEYBOARD_APPLESPI
config KEYBOARD_ASUS_TRANSFORMER_EC
tristate "Asus Transformer's Mobile Dock multimedia keys"
- depends on MFD_ASUS_TRANSFORMER_EC
+ depends on I2C
+ depends on MFD_ASUS_TRANSFORMER_EC || COMPILE_TEST
help
Say Y here if you want to use multimedia keys present on Asus
Transformer's Mobile Dock.
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
2026-11-22 13:56 ` [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA Geert Uytterhoeven
2026-11-22 13:56 ` [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC Geert Uytterhoeven
@ 2026-11-22 13:56 ` Geert Uytterhoeven
2026-11-23 2:28 ` Dmitry Torokhov
2026-11-22 13:56 ` [PATCH v2 4/4] power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC Geert Uytterhoeven
2026-12-02 3:08 ` (subset) [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Sebastian Reichel
4 siblings, 1 reply; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-11-22 13:56 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
The Asus Transformer's Dock keyboard and touchpad controller driver
builds fine when MFD_ASUS_TRANSFORMER_EC is not enabled.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Add missing dependency on I2C.
---
drivers/input/serio/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index eb6e20cd40ac703d..5151ac75a82b041c 100644
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -86,7 +86,8 @@ config SERIO_RPCKBD
config SERIO_ASUS_TRANSFORMER_EC
tristate "Asus Transformer's Dock keyboard and touchpad controller"
- depends on MFD_ASUS_TRANSFORMER_EC
+ depends on I2C
+ depends on MFD_ASUS_TRANSFORMER_EC || COMPILE_TEST
help
Say Y here if you want to use the keyboard and/or touchpad on
Asus Transformed's Mobile Dock.
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 4/4] power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
` (2 preceding siblings ...)
2026-11-22 13:56 ` [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC Geert Uytterhoeven
@ 2026-11-22 13:56 ` Geert Uytterhoeven
2026-12-02 3:08 ` (subset) [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Sebastian Reichel
4 siblings, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2026-11-22 13:56 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
The Asus Transformer's battery driver builds fine when
MFD_ASUS_TRANSFORMER_EC is not enabled.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Add missing dependency on I2C.
---
drivers/power/supply/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index e5398359fb5c64fd..eea3b1e336a3f509 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -124,7 +124,8 @@ config BATTERY_CHAGALL
config BATTERY_ASUS_TRANSFORMER_EC
tristate "Asus Transformer's battery driver"
- depends on MFD_ASUS_TRANSFORMER_EC
+ depends on I2C
+ depends on MFD_ASUS_TRANSFORMER_EC || COMPILE_TEST
help
Say Y to enable support for battery status access on Tegra based
ASUS Transformer devices.
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC
2026-11-22 13:56 ` [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC Geert Uytterhoeven
@ 2026-11-23 2:28 ` Dmitry Torokhov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Torokhov @ 2026-11-23 2:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Sebastian Reichel, mfd, linux-input, linux-pm,
linux-tegra, Geert Uytterhoeven
On Sun, Nov 22, 2026 at 02:56:31PM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> The Asus Transformer's Mobile Dock multimedia keys driver builds fine
> when MFD_ASUS_TRANSFORMER_EC is not enabled.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC
2026-11-22 13:56 ` [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC Geert Uytterhoeven
@ 2026-11-23 2:28 ` Dmitry Torokhov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Torokhov @ 2026-11-23 2:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Sebastian Reichel, mfd, linux-input, linux-pm,
linux-tegra, Geert Uytterhoeven
On Sun, Nov 22, 2026 at 02:56:32PM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> The Asus Transformer's Dock keyboard and touchpad controller driver
> builds fine when MFD_ASUS_TRANSFORMER_EC is not enabled.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA
2026-11-22 13:56 ` [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA Geert Uytterhoeven
@ 2026-11-27 15:17 ` Lee Jones
0 siblings, 0 replies; 9+ messages in thread
From: Lee Jones @ 2026-11-27 15:17 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel, Geert Uytterhoeven
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
On Sun, 22 Nov 2026 14:56:30 +0100, Geert Uytterhoeven wrote:
> The ASUS Transformer's Embedded Controller is currently only found in
> Tegra-based ASUS Transformer series tablets and mobile docks. Hence add
> a dependency on ARCH_TEGRA, to prevent asking the user about this
> functionality when configuring a kernel without NVIDIA Tegra SoC
> support.
>
>
> [...]
Applied, thanks!
[1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA
commit: 35ea6237fcc2e0c2241aa8c870193c44558a5df5
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
` (3 preceding siblings ...)
2026-11-22 13:56 ` [PATCH v2 4/4] power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC Geert Uytterhoeven
@ 2026-12-02 3:08 ` Sebastian Reichel
4 siblings, 0 replies; 9+ messages in thread
From: Sebastian Reichel @ 2026-12-02 3:08 UTC (permalink / raw)
To: Michał Mirosław, Svyatoslav Ryhel, Ion Agorria,
Lee Jones, Dmitry Torokhov, Sebastian Reichel, Geert Uytterhoeven
Cc: mfd, linux-input, linux-pm, linux-tegra, Geert Uytterhoeven
On Sun, 22 Nov 2026 14:56:29 +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Hi all,
>
> This patch series improves dependencies for the MFD_ASUS_TRANSFORMER_EC
> MFD driver and its various subdrivers:
> - The first patch adds a missing dependency for the MFD driver,
> - The other patches enable compile-testing for the input, serio, and
> battery subdrivers.
>
> [...]
Applied, thanks!
[4/4] power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC
commit: cf23495790f995b041d7c713580508168c13906f
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-12-02 3:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 13:56 [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Geert Uytterhoeven
2026-11-22 13:56 ` [PATCH v2 1/4] mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA Geert Uytterhoeven
2026-11-27 15:17 ` (subset) " Lee Jones
2026-11-22 13:56 ` [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC Geert Uytterhoeven
2026-11-23 2:28 ` Dmitry Torokhov
2026-11-22 13:56 ` [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC Geert Uytterhoeven
2026-11-23 2:28 ` Dmitry Torokhov
2026-11-22 13:56 ` [PATCH v2 4/4] power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC Geert Uytterhoeven
2026-12-02 3:08 ` (subset) [PATCH v2 0/4] Improve MFD_ASUS_TRANSFORMER_EC dependencies Sebastian Reichel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.