linux/drivers/platform/cznic
Marek Behún af340b7aa2 platform: cznic: turris-omnia-mcu: Make GPIO code optional
Make the GPIO part of the driver optional, under a boolean config
option. Move the dependency to GPIOLIB and OF and the selection of
GPIOLIB_IRQCHIP to this new option.

This makes the turris-omnia-mcu driver available for compilation even if
GPIOLIB or OF are disabled.

Fixes: ed46f1f773 ("platform: cznic: turris-omnia-mcu: fix Kconfig dependencies")
Signed-off-by: Marek Behún <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240719085756.30598-5-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-08-07 14:43:54 +02:00
..
Kconfig platform: cznic: turris-omnia-mcu: Make GPIO code optional 2024-08-07 14:43:54 +02:00
Makefile platform: cznic: turris-omnia-mcu: Make GPIO code optional 2024-08-07 14:43:54 +02:00
turris-omnia-mcu-base.c platform: cznic: turris-omnia-mcu: Make GPIO code optional 2024-08-07 14:43:54 +02:00
turris-omnia-mcu-gpio.c platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG 2024-07-01 15:46:37 +02:00
turris-omnia-mcu-sys-off-wakeup.c platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup 2024-07-01 15:46:37 +02:00
turris-omnia-mcu-trng.c platform: cznic: turris-omnia-mcu: Add support for MCU provided TRNG 2024-07-01 15:46:37 +02:00
turris-omnia-mcu-watchdog.c platform: cznic: turris-omnia-mcu: Add support for MCU watchdog 2024-07-01 15:46:37 +02:00
turris-omnia-mcu.h platform: cznic: turris-omnia-mcu: Make GPIO code optional 2024-08-07 14:43:54 +02:00