]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: ti_am335x_tscadc: Fix TI SoC dependencies
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 20 Dec 2023 15:56:39 +0000 (15:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 07:42:13 +0000 (08:42 +0100)
[ 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 <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20231220155643.445849-1-pbrobinson@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/Kconfig

index b8847ae04d938d0943ef52cb4d6464ede130e831..c5c6608ccc84e1976e03f47b17bdd68d48b46025 100644 (file)
@@ -1382,6 +1382,7 @@ config MFD_DAVINCI_VOICECODEC
 
 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