Improve MFD_ASUS_TRANSFORMER_EC dependencies
Subsystems (5)
v2 cover Improve MFD_ASUS_TRANSFORMER_EC dependencies
From: Geert Uytterhoeven <[email protected]>
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/[email protected]
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(-)
Signature · 12 lines
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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 TorvaldsPATCH v2 1/4 mfd: MFD_ASUS_TRANSFORMER_EC should depend on ARCH_TEGRA
From: Geert Uytterhoeven <[email protected]>
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.
---
v2:
- s/is only found/is currently only found/.
drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
@@ -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
Signature · 1 line
2.43.0
PATCH v2 2/4 input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC
In reply to Geert UytterhoevenFrom: Geert Uytterhoeven <[email protected]>
The Asus Transformer's Mobile Dock multimedia keys driver builds fine when MFD_ASUS_TRANSFORMER_EC is not enabled.
---
v2:
- Add missing dependency on I2C.
--- drivers/input/keyboard/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/input/keyboard/Kconfig +2 -1
@@ -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.
Signature · 1 line
2.43.0
PATCH v2 3/4 input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC
In reply to Geert UytterhoevenFrom: Geert Uytterhoeven <[email protected]>
The Asus Transformer's Dock keyboard and touchpad controller driver builds fine when MFD_ASUS_TRANSFORMER_EC is not enabled.
---
v2:
- Add missing dependency on I2C.
--- drivers/input/serio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/input/serio/Kconfig +2 -1
@@ -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.
Signature · 1 line
2.43.0
PATCH v2 4/4 power: supply: Enable compile-testing for BATTERY_ASUS_TRANSFORMER_EC
In reply to Geert UytterhoevenFrom: Geert Uytterhoeven <[email protected]>
The Asus Transformer's battery driver builds fine when MFD_ASUS_TRANSFORMER_EC is not enabled.
---
v2:
- Add missing dependency on I2C.
--- drivers/power/supply/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/power/supply/Kconfig +2 -1
@@ -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.
Signature · 1 line
2.43.0
[email protected]
AI reviewSashiko has reviewed this 4-patch series and found no issues.
Sashiko has reviewed this 4-patch series and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]
Re: [PATCH v2 2/4] input: keyboard: Enable compile-testing for KEYBOARD_ASUS_TRANSFORMER_EC
In reply to Geert UytterhoevenQuoted 6 lines · Geert Uytterhoeven
From: Geert Uytterhoeven <[email protected]>
The Asus Transformer's Mobile Dock multimedia keys driver builds fine when
MFD_ASUS_TRANSFORMER_ECis not enabled.Signed-off-by Geert Uytterhoeven <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry
Re: [PATCH v2 3/4] input: serio: Enable compile-testing for SERIO_ASUS_TRANSFORMER_EC
In reply to Geert UytterhoevenQuoted 6 lines · Geert Uytterhoeven
From: Geert Uytterhoeven <[email protected]>
The Asus Transformer's Dock keyboard and touchpad controller driver builds fine when
MFD_ASUS_TRANSFORMER_ECis not enabled.Signed-off-by Geert Uytterhoeven <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry