Commit 149da46a authored by Quentin Schulz's avatar Quentin Schulz Committed by Lee Jones

mfd: Kconfig: MFD_SUN4I_GPADC depends on !TOUCHSCREN_SUN4I_GPADC

MFD_SUN4I_GPADC and TOUCHSCREEN_SUN4I are incompatible (both are drivers
for Allwinner SoCs' ADC). This makes sure TOUCHSCREEN_SUN4I isn't
enabled while MFD_SUN4I_GPADC is enabled.
Signed-off-by: default avatarQuentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent a042a7a4
...@@ -46,6 +46,7 @@ config MFD_SUN4I_GPADC ...@@ -46,6 +46,7 @@ config MFD_SUN4I_GPADC
select REGMAP_MMIO select REGMAP_MMIO
select REGMAP_IRQ select REGMAP_IRQ
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
depends on !TOUCHSCREEN_SUN4I
help help
Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
This driver will only map the hardware interrupt and registers, you This driver will only map the hardware interrupt and registers, you
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment