Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp83061imm; Thu, 30 Aug 2018 08:50:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZILmwdhbMq+nSr0FjAITspj4LDctd5fD9MaDwsTmLlWiyJ8n09vRO1nQeA0hHOAOdcY8Ml X-Received: by 2002:a17:902:558f:: with SMTP id g15-v6mr10808205pli.38.1535644229470; Thu, 30 Aug 2018 08:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535644229; cv=none; d=google.com; s=arc-20160816; b=FfYytwX1gRi0YAYGLEZCw21uyt7nxI8UdRkV7elaD39S6Bbq5/dQVQ+9xVHptKdI9c xa5wa4ets16Yaxv806/14vwfeFKjxnSYaFLQnYUvHgKPWzcP9F7iYC5eZdFjCS994M5h eTksRLk0lf/tHZriSBHD4Q+LiQ2JpUJ8bY71KuCdBn6fTRTaODdb75V3Ihv9SEABgSi6 uFBRmzqfHP5bMTMk+ogrMxfIVnyGtsCo1ZV8QdD25FrrZD2uQ3BB/66+WoZEKC3b+rEm 6wRjxSI9f74AhBd4l0y/AkO8GaWt94D2rCF3IkNc6ut+q47X1Xv/eXgLL7HLvQC5A5jd cuPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=tHWKgVQ+LP5A64YbmsQPQ4TQy6BjNkjDuA1WjJuVxFc=; b=SFcnif3pBPmaMvekcMDT9PwfJkx2cQ0K7BjSGE5//t+iNqxItM6c68lkLLBMK2jKux dgH6nxLBpuatfHIE/DDFiUc24MC5u+HgPkngJCZBEyBRx2xvDfd8SY3Lr23qKNHxleAs SLyB7nLRainlaetN3K7cXg074Ahb1XWlMkkRneWl6bPdfDhMwuF5fjwKsTHLyyDsRpxP XTO1i9J7+8vx7EUWkxID6rM2StW+1Y0+bhviQEo9X2+aN8hKSitxpVIRttaM/lGS7oFY nufCunhfBkeeZivsXGsHSclETHmPN38sjejvLpvsgjJAtyjcGEk43FTuCoFplOj+vhx+ XQNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jm1AAAVu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si7682395pfb.104.2018.08.30.08.50.14; Thu, 30 Aug 2018 08:50:29 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jm1AAAVu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727553AbeH3TsL (ORCPT + 99 others); Thu, 30 Aug 2018 15:48:11 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34113 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727512AbeH3TsK (ORCPT ); Thu, 30 Aug 2018 15:48:10 -0400 Received: by mail-wr1-f68.google.com with SMTP id g33-v6so8531771wrd.1; Thu, 30 Aug 2018 08:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tHWKgVQ+LP5A64YbmsQPQ4TQy6BjNkjDuA1WjJuVxFc=; b=jm1AAAVuPY9EOrIexteon5sSq6w2VUiphdwBnzPsfyVT6LIAk9QR/qg4M1GELtOviP prOerDSGFrglpAQ8GjsmboVORQgKaEWyNqhlzrNm4FEd8p5IshSNYuWrWDJmiLfL57BO meRhdxxGdTx2glX5HXepaEwqTUj+IeAL3vth3OQlmQel6DitQYhA//5Gc4sJhMecLpIS 3uVbJr/k4HC0yGome2RNhFF+lwOd/kvDzLiV3EnULya0ns/Sz7KFrljAjL9dpZBu+vtt kZKwnMYc+i7KJfFswbxm9PdJJoZBTCyOddwFkbmcqK72Hrfni/4896lbD4bUTV6QXhDs NCug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tHWKgVQ+LP5A64YbmsQPQ4TQy6BjNkjDuA1WjJuVxFc=; b=TJE4UO0k+CNywKBK8Ml2Ymkro8lwE6PfWQ2uMLNAkBS2MwgHlXcf7F72N4ZeLqIfTs ys7IOj38d60WP6StBmcYbajegplU5i0goxkFjpF3v6ZMNp8BoBxOSZxrgBJA0Ka/S1HA gEgsRYbF+W4sgdh4/YJvvGjfnae6gkSePeAV49EIBFnJKUGvmJoC6DvuJc5E6AC6jhMO tKi0Tk1gsWwOMFZPFeAxSXojwdTbMUMx9vag5NpAdKmQvRDsQV2AkeEUwHxbIa9gSGE9 QJiS7dxjBlczXu7KrJyjbDyjHn/h362fapPfEBOe0gUHxPxFbeiXXpbVMvUvQNcVfkna 4Lpg== X-Gm-Message-State: APzg51DJH2B7NJhFZ6lij599c7dVKVpM093M7033WMRoCe2Ba0FnmlKa +n/h7vSFuyCkH17copi9f3U= X-Received: by 2002:a5d:6243:: with SMTP id m3-v6mr8147675wrv.179.1535643923775; Thu, 30 Aug 2018 08:45:23 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:23 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 04/30] iio: adc: Kconfig: Update Kconfig to new build options Date: Thu, 30 Aug 2018 17:44:52 +0200 Message-Id: <20180830154518.29507-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-1-embed3d@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since we are merging the mfd driver into the iio adc driver we need to update the Kconfig build options. Signed-off-by: Philipp Rossak --- drivers/iio/adc/Kconfig | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 9da79070357c..5d0cffd6d2e4 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -713,13 +713,16 @@ config STX104 array module parameter. config SUN4I_GPADC - tristate "Support for the Allwinner SoCs GPADC" + tristate "Allwinner sunxi platforms' GPADC/Thermal driver" + select REGMAP_MMIO + select REGMAP_IRQ depends on IIO - depends on MFD_SUN4I_GPADC || MACH_SUN8I - depends on THERMAL || !THERMAL_OF + depends on ARCH_SUNXI || MACH_SUN8I + depends on THERMAL && THERMAL_OF help Say yes here to build support for Allwinner (A10, A13 and A31) SoCs - GPADC. This ADC provides 4 channels which can be used as an ADC or as + GPADC or newer SOCs (A33, H3, A83T, ...) Thermal sensor driver. + This ADC provides 4 channels which can be used as an ADC or as a touchscreen input and one channel for thermal sensor. The thermal sensor slows down ADC readings and can be disabled by -- 2.11.0