Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1963898pxb; Sun, 5 Sep 2021 04:58:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyk+VRdBUVWYoZRDJ+gC+aWdC+NdFgi7r+oNPNhXznTFsnHFrA10RfKCl7VIXpCSCRFJ3DR X-Received: by 2002:a17:907:2677:: with SMTP id ci23mr8408808ejc.429.1630843103059; Sun, 05 Sep 2021 04:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630843103; cv=none; d=google.com; s=arc-20160816; b=UU8DqbE9e2Ssem/it3Y/pL4U1XDP4lV+GzSM3fXN14KmRUkBi2awoGJKmOg4wKgK0m FHXk4XSPBCrTmiJ5J4lTVQDZheNQbzHESdDs8AZqsV//3VCx83kW3Lpka/n7myrV1scT cgYFU7quL/DYnq1z9K91eikbeCLnUCEzgPfuMQAeJuYVra9A1fRcN8iXf1kLHlBYGWuZ PPoeFEG7MOR4mztFkBB1B4oWtNAq5Ac2XXNGA8RNMYQIUDN/KLGSbd5isJWFARXLG6Ly A2vsCWQNBMhvGlZQq9hQENpA1btBKuI2yGZ/iG/Bo6nyptzWHjoXM9t8kUoflBmdRrYd tvBQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=ItheCS5mjXzbMJBoRGtVTPsV6SSOolCkJxGO7KN/Bnw=; b=FFpSKRXYEduAfxGLjEGxex/bvht5FDDd35BIQ3jWnyBrLP8mveDx4hh99gPi9NKJ4v fLAwu7K5YdRvMmt3hOevxKDQNGQWg1hGD/OlpFRDZs7nF87TCMAFM6/c5odhs/HoOzgB RYgB+hiCYsOkhIw2by41j/IBBfhigy/yuaPLjwgoZ//nq6Df1kyDKBqD6cNwwDy9r/c5 qv4OsUj5rDO9nL9cN/bH97sMHb5YPqcJiYiXpsYJcKU33rsF34pC70S8lmf0JRau0aB5 E3mIZUhnAPyYbj3eObgO2++9dYc7LJiLAf29bTzRUH6K/OqKs3Nbr0xrF9zUip0WD3xo K5nA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn4si5199416ejb.658.2021.09.05.04.58.00; Sun, 05 Sep 2021 04:58:23 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237840AbhIELxM (ORCPT + 99 others); Sun, 5 Sep 2021 07:53:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:55410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232168AbhIELxL (ORCPT ); Sun, 5 Sep 2021 07:53:11 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A52D60FBF; Sun, 5 Sep 2021 11:52:04 +0000 (UTC) Date: Sun, 5 Sep 2021 12:55:27 +0100 From: Jonathan Cameron To: Cai Huoqing Cc: , , , , , , , , , , , Subject: Re: [PATCH 4/6] dt-bindings: iio: adc: Add the binding documentation for NXP IMX8QXP ADC Message-ID: <20210905125527.1782ba86@jic23-huawei> In-Reply-To: <20210830172140.414-5-caihuoqing@baidu.com> References: <20210830172140.414-1-caihuoqing@baidu.com> <20210830172140.414-5-caihuoqing@baidu.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Aug 2021 01:21:38 +0800 Cai Huoqing wrote: > The NXP i.MX 8QuadXPlus SOC has a new ADC IP, so add the binding > documentation for NXP IMX8QXP ADC > > Signed-off-by: Cai Huoqing > --- > .../bindings/iio/adc/nxp,imx8qxp-adc.yaml | 85 +++++++++++++++++++ > 1 file changed, 85 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml > new file mode 100644 > index 000000000000..542329e6a785 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml > @@ -0,0 +1,85 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/nxp,imx8qxp-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP IMX8QXP ADC bindings > + > +maintainers: > + - Cai Huoqing > + > +description: > + Supports the ADC found on the IMX8QXP SoC. > + > +properties: > + compatible: > + const: nxp,imx8qxp-adc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 2 > + > + clock-names: > + items: > + - const: per > + - const: ipg > + > + assigned-clocks: > + maxItems: 1 > + > + assigned-clocks-rate: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + status: > + const: disable > + > + "#io-channel-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupts-parent > + - clocks > + - clock-names > + - assigned-clocks > + - assigned-clock-rates > + - power-domains > + - state > + - "#address-cells" > + - "#size-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + soc { > + #address-cells = <1>; > + #size-cells = <1>; > + adc@5a880000 { Clearly some indentation issues here. > + compatible = "nxp,imx8qxp-adc"; > + reg = <0x0 0x5a880000 0x0 0x10000>; > + interrupts = ; > + clocks = <&clk IMX_SC_R_ADC_0>, > + <&clk IMX_ADMA_LPCG_ADC_0_IPG_CLK>; > + clock-names = "per", "ipg"; > + assigned-clocks = <&clk IMX_SC_R_ADC_0>; > + assigned-clock-rates = <24000000>; > + power-domains = <&pm, IMX_SC_R_ADC_0>; > + status = "disabled"; Don't mark the example disabled. > + #io-channel-cells = <1> > + }; > + }; > +...