From patchwork Tue Dec 13 14:33:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 87895 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp2234236qgi; Tue, 13 Dec 2016 06:34:09 -0800 (PST) X-Received: by 10.98.80.9 with SMTP id e9mr100403719pfb.13.1481639649671; Tue, 13 Dec 2016 06:34:09 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si48253158pfj.214.2016.12.13.06.34.09; Tue, 13 Dec 2016 06:34:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933418AbcLMOdw (ORCPT + 25 others); Tue, 13 Dec 2016 09:33:52 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:57509 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932502AbcLMOdp (ORCPT ); Tue, 13 Dec 2016 09:33:45 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 0E91420E34; Tue, 13 Dec 2016 15:33:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from qschulz.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id B644020E34; Tue, 13 Dec 2016 15:33:38 +0100 (CET) From: Quentin Schulz To: linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, lee.jones@linaro.org Cc: Quentin Schulz , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, antoine.tenart@free-electrons.com, thomas.petazzoni@free-electrons.com Subject: [PATCH v9 2/3] mfd: Kconfig: MFD_SUN4I_GPADC depends on !TOUCHSCREN_SUN4I_GPADC Date: Tue, 13 Dec 2016 15:33:31 +0100 Message-Id: <20161213143332.24988-3-quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161213143332.24988-1-quentin.schulz@free-electrons.com> References: <20161213143332.24988-1-quentin.schulz@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Quentin Schulz --- added in v8. I wrongly put the XOR dependance for SUN4I_GPADC and TOUCHSCREEN_SUN4I instead of for MFD_SUN4I_GPADC and TOUCHSCREEN_SUN4I. drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.3 Acked-by: Maxime Ripard diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 443ee50..e803884 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -45,6 +45,7 @@ config MFD_SUN4I_GPADC select MFD_CORE select REGMAP_MMIO depends on ARCH_SUNXI || COMPILE_TEST + depends on !TOUCHSCREEN_SUN4I help Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. This driver will only map the hardware interrupt and registers, you