Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3777801pxb; Mon, 30 Aug 2021 10:22:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYyxcqruCukTc17EJi4QNgx/AVXuG0RIKbvd8Q8qwWP6035lCK2SSyljco+SIodyRTdspf X-Received: by 2002:a02:908a:: with SMTP id x10mr20725885jaf.30.1630344177917; Mon, 30 Aug 2021 10:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630344177; cv=none; d=google.com; s=arc-20160816; b=GfP748Pf3fsFkSUxUfPC/5gEbkgRkAptPuZU8luky/GSHqdfS0cLkb+i5lI9XodGqt T9vrbeaH3WROHwohRQKJ8bZgLqY+XhQf7JVD1b8kmD1tj/2qWSNUbcZm9fF2gjaVJx6p 3hT+oc5OQ5CrUV8y2Q2qqrUmsnx+FIUSqJvYlksoJCknQpeql7Jq8XphnW2l+Y5xvklL oybH/zgTb6juUZxl4bgx79wN6K95hoE2YpqEQnL9+fHr2eCpRnOwoVg/GV4pvXRdw0WV /Mf7ddgS00UKWVddr+dkYQVcRdaxh5kYAQAZXBaOj1JfLZ8OrbqvzJ00hfBIo0/E+kaM hI4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=nIlQXvKbjYUx139m2QkjTFCzUbISZ/rzRxoEQNyZ0Q4=; b=U+cjdpZhRcTukHfLI+2tu9oE6pq28SqwaLeDrtVNW0bOBmOP8YkdkF+V+Wsnip6q4H Bftch4vkeEXaEDWtjQFwQxD0NajifWaVsVNN5wrYrhx+PNn10ZBRCCwemsGt+lBbNOVu QVBInmms249WkoIl8zjIioB9ZU5W7QSE4uUM/YV4TZeMgUFWGFIyFeJWxTI2yyaVh9ny ALvJsWk455x8f4h1Vhy8HpX793CDhzlnV0jsX9ErVfTEOfd/z5ons3iSEyUS8W0QK2E8 BGUlhDfFEKt7/H+BHlGIMn92ZXAgmGZ57mf+UvkjLOCSnMV2a0Oe1QNwmjuxD2j9rHk6 AAXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si13680993ilj.52.2021.08.30.10.22.46; Mon, 30 Aug 2021 10:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237976AbhH3RWv (ORCPT + 99 others); Mon, 30 Aug 2021 13:22:51 -0400 Received: from mx21.baidu.com ([220.181.3.85]:33564 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238040AbhH3RWt (ORCPT ); Mon, 30 Aug 2021 13:22:49 -0400 Received: from BC-Mail-Ex32.internal.baidu.com (unknown [172.31.51.26]) by Forcepoint Email with ESMTPS id D6C896276C212D3AE1AA; Tue, 31 Aug 2021 01:21:52 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex32.internal.baidu.com (172.31.51.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Tue, 31 Aug 2021 01:21:52 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 31 Aug 2021 01:21:51 +0800 From: Cai Huoqing To: , , , , , , , , CC: , , , , "Cai Huoqing" Subject: [PATCH 2/6] iio: adc: Add configuration for NXP i.MX8QuadXPlus ADC driver Date: Tue, 31 Aug 2021 01:21:36 +0800 Message-ID: <20210830172140.414-3-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210830172140.414-1-caihuoqing@baidu.com> References: <20210830172140.414-1-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex15.internal.baidu.com (172.31.51.55) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The NXP i.MX 8QuadXPlus SOC has a new ADC IP, so add the configuration for NXP i.MX8QuadXPlus ADC driver. Signed-off-by: Cai Huoqing --- drivers/iio/adc/Kconfig | 10 ++++++++++ drivers/iio/adc/Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index af168e1c9fdb..fa8ad63d6ac2 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -530,6 +530,16 @@ config IMX7D_ADC This driver can also be built as a module. If so, the module will be called imx7d_adc. +config IMX8QXP_ADC + tristate "NXP IMX8QXP ADC driver" + depends on ARCH_MXC_ARM64 || COMPILE_TEST + depends on HAS_IOMEM + help + Say yes here to build support for IMX8QXP ADC. + + This driver can also be built as a module. If so, the module will be + called imx8qxp-adc. + config LP8788_ADC tristate "LP8788 ADC driver" depends on MFD_LP8788 diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile index d68550f493e3..d3f53549720c 100644 --- a/drivers/iio/adc/Makefile +++ b/drivers/iio/adc/Makefile @@ -46,6 +46,7 @@ obj-$(CONFIG_FSL_MX25_ADC) += fsl-imx25-gcq.o obj-$(CONFIG_HI8435) += hi8435.o obj-$(CONFIG_HX711) += hx711.o obj-$(CONFIG_IMX7D_ADC) += imx7d_adc.o +obj-$(CONFIG_IMX8QXP_ADC) += imx8qxp-adc.o obj-$(CONFIG_INA2XX_ADC) += ina2xx-adc.o obj-$(CONFIG_INGENIC_ADC) += ingenic-adc.o obj-$(CONFIG_INTEL_MRFLD_ADC) += intel_mrfld_adc.o -- 2.25.1