From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC813C38142 for ; Sun, 22 Jan 2023 17:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tWV4ULd/h7gV9n+PO+p4QiDt37CAyVNmmj9OzqbDw/s=; b=mwVGklFw7reEaw U4mPfyb+CzCkfxQ714FDsZnrw8NkDdOma3tgtN1p+7QvFIigF5Eu5rHVadgMrQkULbABXXMu7iSHZ Eqod86S7rPPguMrgy/6mWCveVacM2jqS3dWroLZqbiPsszgAsocxQq8CxpY5A656BP15Xb9lljzru hnfGbyEUsdcT2nPdGfQ9gzQIk7Ay3JYLPYe1mgBu3CebzoVXNiFAhliwwfHrIzXpdHze7INGrO4WO aqOZ/X8PkTtIcjSkPm/1EKEWwq2BpYBRuDeLo1Fwd+AVv0NqLfsGzvf8hpQkiYLLhY0cwBHvvj76i gQiW6rikZ1QYt/uYf+SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJdlS-00FZCX-GQ; Sun, 22 Jan 2023 17:04:18 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJdlP-00FZBt-1w for linux-arm-kernel@lists.infradead.org; Sun, 22 Jan 2023 17:04:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C40C60C71; Sun, 22 Jan 2023 17:04:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4440DC433D2; Sun, 22 Jan 2023 17:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674407053; bh=Mf8+nEfDKINkdcBw9BzOV7P06ItxNI829BzlDTuL374=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qrg5Phdk6N8gotVPed9oOqXjXj9dtW9rw0mwPvWbQawGXO2D0cQR6m/CNqsT+t8Gm 3gLa/0ZNnzrta0EMQu2iqB7oIJA52MYU90y5lokwpAL5AHmHR9OG54u7GBFfEPeAHL kRg7qOk+GIXe9VWij0XdUgmb+ow9zUYJ6qdKEvH9X/kKhXsfF4lN+hVgLAkW67esNq 6MMKorF7es8kYlVa1hhPajxZFbPMuJqj91NpAjjTCuqdzgFffJQbwhVxFmipXwal9X vSHIW14WVRXX4oDmaLd7izfZ6bDK8vO7UVFNXKS3t+rk1LYgb1c8xEeUYIMiB9JLy8 ICcYMstRolXTg== Date: Sun, 22 Jan 2023 17:17:58 +0000 From: Jonathan Cameron To: haibo.chen@nxp.com Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 2/3] dt-bindings: iio: adc: Add NXP IMX93 ADC Message-ID: <20230122171758.6752c208@jic23-huawei> In-Reply-To: <20230117135137.1735536-3-haibo.chen@nxp.com> References: <20230117135137.1735536-1-haibo.chen@nxp.com> <20230117135137.1735536-3-haibo.chen@nxp.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230122_090415_224811_C9A7C1C4 X-CRM114-Status: GOOD ( 18.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 17 Jan 2023 21:51:36 +0800 haibo.chen@nxp.com wrote: > From: Haibo Chen > > The IMX93 SoC has a new ADC IP, so add binding documentation > for NXP IMX93 ADC. > > Reviewed-by: Rob Herring > Signed-off-by: Haibo Chen Applied, Thanks, Jonathan > --- > .../bindings/iio/adc/nxp,imx93-adc.yaml | 81 +++++++++++++++++++ > 1 file changed, 81 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > new file mode 100644 > index 000000000000..dacc526dc695 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > @@ -0,0 +1,81 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/nxp,imx93-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP iMX93 ADC > + > +maintainers: > + - Haibo Chen > + > +description: > + The ADC on iMX93 is a 8-channel 12-bit 1MS/s ADC with 4 channels > + connected to pins. it support normal and inject mode, include > + One-Shot and Scan (continuous) conversions. Programmable DMA > + enables for each channel Also this ADC contain alternate analog > + watchdog thresholds, select threshold through input ports. And > + also has Self-test logic and Software-initiated calibration. > + > +properties: > + compatible: > + const: nxp,imx93-adc > + > + reg: > + maxItems: 1 > + > + interrupts: > + items: > + - description: WDGnL, watchdog threshold interrupt requests. > + - description: WDGnH, watchdog threshold interrupt requests. > + - description: normal conversion, include EOC (End of Conversion), > + ECH (End of Chain), JEOC (End of Injected Conversion) and > + JECH (End of injected Chain). > + - description: Self-testing Interrupts. > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: ipg > + > + vref-supply: > + description: > + The reference voltage which used to establish channel scaling. > + > + "#io-channel-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - vref-supply > + - "#io-channel-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + soc { > + #address-cells = <1>; > + #size-cells = <1>; > + adc@44530000 { > + compatible = "nxp,imx93-adc"; > + reg = <0x44530000 0x10000>; > + interrupts = , > + , > + , > + ; > + clocks = <&clk IMX93_CLK_ADC1_GATE>; > + clock-names = "ipg"; > + vref-supply = <®_vref_1v8>; > + #io-channel-cells = <1>; > + }; > + }; > +... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel