From: Peter Robinson Date: Wed, 20 Dec 2023 15:56:39 +0000 (+0000) Subject: mfd: ti_am335x_tscadc: Fix TI SoC dependencies X-Git-Tag: v6.6.17~226 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c27d9af41a1912c79667847b9a73e5ad80e0a173;p=platform%2Fkernel%2Flinux-starfive.git mfd: ti_am335x_tscadc: Fix TI SoC dependencies [ Upstream commit 284d16c456e5d4b143f375b8ccc4038ab3f4ee0f ] The ti_am335x_tscadc is specific to some TI SoCs, update the dependencies for those SoCs and compile testing. Signed-off-by: Peter Robinson Link: https://lore.kernel.org/r/20231220155643.445849-1-pbrobinson@gmail.com Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 90ce58f..68d71b4 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1483,6 +1483,7 @@ config MFD_SYSCON config MFD_TI_AM335X_TSCADC tristate "TI ADC / Touch Screen chip support" + depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST select MFD_CORE select REGMAP select REGMAP_MMIO