Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3328630pxb; Mon, 6 Sep 2021 19:00:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNYoAlBLkG6615hDAASEzDZn/iVY2c6YMwTKpEr6LxKIezrXU0JHzuMwwwWGbBPCLcmfyg X-Received: by 2002:a17:906:ce3a:: with SMTP id sd26mr15931864ejb.227.1630980014991; Mon, 06 Sep 2021 19:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630980014; cv=none; d=google.com; s=arc-20160816; b=mnZhyNnOrpyQWm5xSPR5vWsn+sT4+nvC3vHnvafUq0gl8sdnLinMuiJCxhHLQKojBn e1bf8a/ydl4V9eweWuCUUUZDTYPWoKGCP5VN72koYWdFgDUKsWpq6WGbHOgIO67FckLt BiF8JMXnv4Nsmspr7/41YPVOrI+qyPpMgjIDwmPxmbBIx62eTlT2QJUxjy54Vvm68K0D /jV6UuJyx6/FRYA+jViDa7i877//WEy27l9eLaBl88qiig0FXeH6cr5cg8uu0jKkigJ1 nQWHuHQPvt/q4Uu0np90EPhQdx9eJq38W2Vodd/PwIyJitpQwerabfmyUgb6DJlrB8Kf Nf+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Q3xfl3hF8LknhSEc6bzVbIZ8bIXGUCO7QBSuFH8AL2c=; b=lP1yGilKNRJoEbg450PDTuaN5d3/ciHWFodP0lLU5y9KKqrTBBxElVkQKpbkIJ8Gti Cr+KJ+kH6Rlk30NGuUkyN7XS50x4QDPa/xDFfV+wHInDuFIjNjMicX6I6stGhH3++JsI UsdZTSZAgDGnf/MWLW8sQJ5eMxN5etRRWJUb5K8p2hYHewSlgksjrTKjbX0x70CnPrXM VSo41xRc2Upswo/At3RTmX1SN2t1HIpUPI0aomWQFVB/rvycTX6GEdmm3rXLvX+i/Zhy AHjJSpavlWX5ZE+xwrsPEMoKWaKmZsh5T9kvJAnw6eGw+Iw5P9wvJxDQjcUwZ0SVMt82 KI2g== 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 j15si10006788edq.329.2021.09.06.18.59.52; Mon, 06 Sep 2021 19:00:14 -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 S240520AbhIGB6t (ORCPT + 99 others); Mon, 6 Sep 2021 21:58:49 -0400 Received: from mx21.baidu.com ([220.181.3.85]:56752 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229835AbhIGB6r (ORCPT ); Mon, 6 Sep 2021 21:58:47 -0400 Received: from BC-Mail-Ex26.internal.baidu.com (unknown [172.31.51.20]) by Forcepoint Email with ESMTPS id 98B5652CD701E2D33035; Tue, 7 Sep 2021 09:57:35 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex26.internal.baidu.com (172.31.51.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 7 Sep 2021 09:57:35 +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, 7 Sep 2021 09:57:34 +0800 From: Cai Huoqing To: CC: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Shawn Guo , "Sascha Hauer" , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , , , , Subject: [PATCH v3 0/3] iio: imx8qxp-adc: Add driver support for NXP IMX8QXP ADC Date: Tue, 7 Sep 2021 09:57:20 +0800 Message-ID: <20210907015724.1377-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex12.internal.baidu.com (172.31.51.52) 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. These patches add driver support for this ADC dt-bindings: iio: adc: v1->v2: *Fix some indentation issues. *Mark status as okay. *Change clock2 source. iio: imx8qxp-adc: v1->v2: *Squash patches 1, 2, 3, and 5 into a single patch. *Add device specific prefix. *Remove the brackets around individual numbers. *Make use of FIELD_PREP() and FIELD_GET(). *Remove a lot of cache values. *Replace mlock with adc->lock. *Move adc->value read from isr to the completion. *Set pm_runtime_disable/_put_noidle() before adc_disable. *Add error handler-err_disable_reg/err_unprepare_clk. v2->v3: *Add "return 0" to adc_runtime_resume() v1 link: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210830172140.414-4-caihuoqing@baidu.com/ Cai Huoqing (3): iio: imx8qxp-adc: Add driver support for NXP IMX8QXP ADC dt-bindings: iio: adc: Add the binding documentation for NXP IMX8QXP ADC MAINTAINERS: Add the driver info of the NXP IMX8QXP ADC .../bindings/iio/adc/nxp,imx8qxp-adc.yaml | 85 ++++ MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/imx8qxp-adc.c | 470 ++++++++++++++++++ 5 files changed, 573 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml create mode 100644 drivers/iio/adc/imx8qxp-adc.c -- 2.25.1