From: Jean Delvare Date: Fri, 14 Oct 2016 12:24:09 +0000 (+0200) Subject: gpio: ts4900: Add hardware dependencies X-Git-Tag: Ubuntu-5.13.0-19.19~14501^2~37 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4c5f15b71b22ea51fcb70e538056bcb4958edd9f;p=mirror_ubuntu-jammy-kernel.git gpio: ts4900: Add hardware dependencies All the boards supported by the gpio-ts4900 driver are i.MX6 boards, so only offer the driver for building on this platform, unless build-testing. Signed-off-by: Jean Delvare Cc: Lucile Quirion Cc: Linus Walleij Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 41e2a8f84289..8eea33269433 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -802,6 +802,7 @@ config GPIO_TPIC2810 config GPIO_TS4900 tristate "Technologic Systems FPGA I2C GPIO" + depends on SOC_IMX6 || COMPILE_TEST select REGMAP_I2C help Say yes here to enabled the GPIO driver for Technologic's FPGA core.