Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp840017pxb; Sun, 12 Sep 2021 00:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSyQzu4ZS9MkN3Rg6x6dDQ4rdE1S01Zc92SgZahuqDkttLx3GeANh+xMGz0vzBEWvCTa9B X-Received: by 2002:a17:906:e105:: with SMTP id gj5mr6243600ejb.408.1631431054045; Sun, 12 Sep 2021 00:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631431054; cv=none; d=google.com; s=arc-20160816; b=O+FBn2yH/mW2NRE2WSWt1qk2HVZ3nM21LTdyiI4GxgwyF1aUv/5Br8NJtQELVIQ4X4 1eXGmi6S0KeEXZNWVfCX/ZT0L4rJLMPQfwRQzxsI8PJ+BW9sdU2i+lxQWwIg328koCjz VQfZGpOt7xvsLAOOmvCrb2PoUutYQyk3VOJ0ePMbrU26M7I0ir3QfGsunIxSQDnN5cl/ ZVS+9RgxViJwuGYG3S7rUfs3bNXudVcaxDUuOyohW7gvmaH6vEglPfrqQx6L0YZ3OQ8h JVOT4gA/68f1ol4Aiuo0Jk8waBI2orj9TUX0VNVmlcFWfhc+SCTdtfjes/yLvWoQZky2 MzwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Q9/4P2+ZkeMy02nNUUPKWbfcqisSVHP055qzjBO4hO4=; b=bx2+cNyllIn1pm4ypjqICSol00/DOYH2IOn+ompkBzHxwyf7eXKZCRiBGwtOzXMemg b/zXO78yQ2l6iuvQSVP6P+WqddTnkA2BxJyFVLlEiubaZxyQwnWRCIbHd5gleU2dvZDP ih6PyAXVqXDW15201x5fXzC8zvrP5E7CWSm0bki9Odrw8M6f6+C/FEcxgqpq80N0nRNE AIqqWHkKEHrGZSSghrHkQ+yuC8k++rN3M9DXMPLU+a7CyRTUA0z1JzV+cm40fShWMmcN jRH6g3mN3TQwmAIVTL4OD3yq7b1U6qPboyMls+qnyXmz1asik2o81DbufzOdaIDWhMCC RFIA== 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 mp29si3960197ejc.290.2021.09.12.00.16.56; Sun, 12 Sep 2021 00:17:34 -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 S232203AbhILHPM (ORCPT + 99 others); Sun, 12 Sep 2021 03:15:12 -0400 Received: from mx20.baidu.com ([111.202.115.85]:51168 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229783AbhILHPM (ORCPT ); Sun, 12 Sep 2021 03:15:12 -0400 Received: from BC-Mail-Ex32.internal.baidu.com (unknown [172.31.51.26]) by Forcepoint Email with ESMTPS id 8F40083A1DF70830CC91; Sun, 12 Sep 2021 15:13:48 +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; Sun, 12 Sep 2021 15:13:48 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.62.12) 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; Sun, 12 Sep 2021 15:13:47 +0800 From: Cai Huoqing To: , , , , , , , , CC: , , , , "Cai Huoqing" Subject: [PATCH v4 0/3] iio: imx8qxp-adc: Add driver support for NXP IMX8QXP ADC Date: Sun, 12 Sep 2021 15:13:31 +0800 Message-ID: <20210912071334.1745-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.32.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.31.62.12] X-ClientProxiedBy: BC-Mail-Ex29.internal.baidu.com (172.31.51.23) 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. v3->v4: *Sort header file declarations in alphabetical order. *Remove explicitly cast from "void *". *Make use of dev_err_probe(). *Add some blank lines to help readability. 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() v3->v4: *Sort header file declarations in alphabetical order. *Remove explicitly cast from "void *". *Make use of dev_err_probe(). *Add some blank lines to help readability. v1 link: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210830172140.414-4-caihuoqing@baidu.com/ v3 link: https://patchwork.kernel.org/project/linux-arm-kernel/cover/20210907015724.1377-1-caihuoqing@baidu.com/ Cai Huoqing (3): iio: imx8qxp-adc: Add binding documentation for NXP IMX8QXP ADC dt-bindings: iio: adc: Add binding documentation for NXP IMX8QXP ADC MAINTAINERS: Add the driver info of the NXP IMX8QXP ADC .../bindings/iio/adc/nxp,imx8qxp-adc.yaml | 88 ++++ MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/imx8qxp-adc.c | 461 ++++++++++++++++++ 5 files changed, 567 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