Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1514433

[PATCH v7 1/3] input: touchscreen: TOUCHSCREEN_SUN4I depends on !SUN4I_GPADC

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v7 1/3] input: touchscreen: TOUCHSCREEN_SUN4I depends on !SUN4I_GPADC
Date 2016-11-03 11:20 +0100
Message-ID <sznhM-2zZ-25@gated-at.bofh.it> (permalink)
References <sznhL-2zZ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


SUN4I_GPADC and TOUCHSCREEN_SUN4I are incompatible (both are drivers
for Allwinner SoCs' ADC). This makes sure TOUCHSCREEN_SUN4I isn't
enabled while SUN4I_GPADC is enabled.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---

added in v7

 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index efca013..c618cb9 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -1120,6 +1120,7 @@ config TOUCHSCREEN_SUN4I
 	depends on ARCH_SUNXI || COMPILE_TEST
 	depends on HWMON
 	depends on THERMAL || !THERMAL_OF
+	depends on !SUN4I_GPADC
 	help
 	  This selects support for the resistive touchscreen controller
 	  found on Allwinner sunxi SoCs.
-- 
2.9.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/3] add support for Allwinner SoCs ADC Quentin Schulz <quentin.schulz@free-electrons.com> - 2016-11-03 11:20 +0100
  [PATCH v7 1/3] input: touchscreen: TOUCHSCREEN_SUN4I depends on !SUN4I_GPADC Quentin Schulz <quentin.schulz@free-electrons.com> - 2016-11-03 11:20 +0100
    Re: [PATCH v7 1/3] input: touchscreen: TOUCHSCREEN_SUN4I depends on  !SUN4I_GPADC Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-11-09 01:30 +0100
  [PATCH v7 3/3] iio: adc: add support for Allwinner SoCs ADC Quentin Schulz <quentin.schulz@free-electrons.com> - 2016-11-03 11:20 +0100
    Re: [PATCH v7 3/3] iio: adc: add support for Allwinner SoCs ADC Lee Jones <lee.jones@linaro.org> - 2016-11-03 15:50 +0100

csiph-web