From patchwork Tue Jan 31 10:13:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13122858 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 69F78C38142 for ; Tue, 31 Jan 2023 10:38:23 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4Qj2olkiixo9kFEhmTyxrQjm3bZ0/MdTkoIiK8a2hNo=; b=dzS2S0RsV8hO1+ LqVZ/hgNm9xsKb2qyfJNt87HKmq9K0kBRUgQbzjarD9Tc/zsRH/TpHGPdTjbkvjzDk720nNqWPVnZ FlAa3J8K9/+Ecd5D5OaSbwY7pEmo4IQb1/NPHaKOPkbVxuCvhd/gH1hlXX/XI1xc4lRiVn/bpT/yf LLGcIw6Y/pbRjH5qsA6Yl47Gthp/pHBs/NiqMuLZei0m4N4tQNPFUoS5ATIxpIq/TQIQX+HsXxAGi gIpVI+dboOXHlX51k7SRF1K/cyCzLqukyOhBTMhsvhS5lNNCbosNDbza1BJlO+mnE8CqE4knmNQ1q ZsXoHN2G3YmVlCleu5yA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMo0p-007TEI-Aj; Tue, 31 Jan 2023 10:37:16 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMndq-007J07-Bi for linux-arm-kernel@lists.infradead.org; Tue, 31 Jan 2023 10:13:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1675160010; x=1706696010; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BLfbb6NEKYdixzxNTlcXCZh7D0DeRCzh+i1m4DSVTHE=; b=ETIOItMumTwPC0gz/hoe83YrVY19feJQMYgzsPCH5w2R3t6kwBnWI7wZ QdXnNvsVDggQzZMGXdb6M6Qg/vu3xzTwI+8joSA8rzL8YjVTo6Azo06pW BP4DDG5POCdbt1ga9K6h7in1mAm/yvOr7aMcjMylZeJ7qjxA+1LeQAvOA 6uGU59eCWGMBtlBBIaKiWQZ9vm9UIcodM43bwJTMrUCMMem6iK/nZsZ8w eCfs0arCFfgGFcOD4g3gPriFfbxVL0+aqY9xcam3EjQDTU4t5fbnGLXVY YDJG0sw3NDer6ZyStz5oKoK+K/vj4c8jlyTfymAJDrynH914qfd4+6HLf g==; X-IronPort-AV: E=Sophos;i="5.97,261,1669071600"; d="scan'208";a="28766403" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 31 Jan 2023 11:13:28 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 31 Jan 2023 11:13:28 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 31 Jan 2023 11:13:28 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1675160008; x=1706696008; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BLfbb6NEKYdixzxNTlcXCZh7D0DeRCzh+i1m4DSVTHE=; b=XsaWx+s9ssnD+/NMSGf8viPpUW8NdIihwUBCWJBiMZi37dGB1xi28RHI z0RTFcWuCjoNQYavSpvbbYQbzXm67GU/ifrX+PIfEjqFKjSonPnGO5E3x 5m0loycsEV/IEomQF/1y2DtyFD9Jc+kiRsxrpM48qPG42Bsh2txfrQ4O1 Soxm/VKwpP0Lj8N7AQ/kh+/I45XfM8gI47rvQpDx4Bk7xcs9jqgzU+1bk 4TGsr9KWoFXn2GIrHPNoufg4cLeoDjbyOf1XtRQUmbgjhG4NJIe697Q7u 1iq70E0kCQnAQkyR5DbFVQwJnEv1KzLLZhlXs1//72H/oIOIyjWqFgepT g==; X-IronPort-AV: E=Sophos;i="5.97,261,1669071600"; d="scan'208";a="28766402" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 31 Jan 2023 11:13:27 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id B8075280056; Tue, 31 Jan 2023 11:13:27 +0100 (CET) From: Alexander Stein To: Cai Huoqing , Haibo Chen , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] dt-bindings: iio: adc: add missing vref-supply Date: Tue, 31 Jan 2023 11:13:23 +0100 Message-Id: <20230131101323.606931-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230131_021330_837969_71604562 X-CRM114-Status: GOOD ( 12.53 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Although this property is used right now for IIO_CHAN_INFO_SCALE, this ADC has two internal reference voltages, which the driver currently doesn't make use of. Fixes: db73419d8c06 ("dt-bindings: iio: adc: Add binding documentation for NXP IMX8QXP ADC") Signed-off-by: Alexander Stein --- .../devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml index 63369ba388e4..879768af0303 100644 --- a/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml @@ -39,6 +39,9 @@ properties: power-domains: maxItems: 1 + vref-supply: + description: External ADC reference voltage supply on VREFH pad. + "#io-channel-cells": const: 1 @@ -72,6 +75,7 @@ examples: assigned-clocks = <&clk IMX_SC_R_ADC_0>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_ADC_0>; + vref-supply = <®_1v8>; #io-channel-cells = <1>; }; };