From patchwork Wed Jan 18 07:26:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13105747 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 6916BC32793 for ; Wed, 18 Jan 2023 07:28:53 +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:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2Tnm3AxqLw6V6Ir2682aq+j+TtuWnLmslGdCKp7vRXA=; b=q42OA+9jjjmFpu 1jg6AG1nkxmpVYxWuIcMcDRswGzbI9mkiFxv+A15v2cvw5QaY9OnTN7rILGDKyhUiUDosxHFvR+yX QSSPN4Y7Of01BjXlOWP7LMsZcj39HoRq8/rLjgU2FxKhT/RcEgiyXIB+Q0jQixgGAN/8ujJzbQO7B O3q9Ekkqcsvp8zlTiNCF++ykDxDjNFxxIA/ymAbQ7T9NtzEVdqCpKMwIA45rmi7x1StnBdLytJK6S tcKLTmOn8J2MkyVXzd0aVU2pAlxMJI90UdmzTCJJNukth4uxfUEpm6KJW/hzy4Osue3NVXKVtwPds ivWGHhv9LqtJNe6F+wIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI2rH-00HCD4-DO; Wed, 18 Jan 2023 07:27:43 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI2r6-00HCAC-U3 for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 07:27:34 +0000 Received: from toolbox.int.toradex.com ([213.55.225.137]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LptxZ-1olA0G3Jl1-00fhWo; Wed, 18 Jan 2023 08:27:20 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Max Krummenacher , Philippe Schenker , Marcel Ziswiler , Fabio Estevam , Frank Li , Joakim Zhang , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v4 02/17] arm64: dts: imx8-ss-dma: add io-channel-cells to adc nodes Date: Wed, 18 Jan 2023 08:26:40 +0100 Message-Id: <20230118072656.18845-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com> References: <20230118072656.18845-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:qtcyZrXQL4eUfQUxbtKRmKPYf7+xb0oIkImD3UOhsY+sfF3kcbA sJPbp/yXbsInYixh4lmXpj+IfG8MZUcJ/YnaVC3ELqPPtYFiBFoemtNZ0l7um90W8xqTBro FB22tqo+08QhEtIWYv8o6EKFl3xzPxTL9TteavEz8u2DA8U0EPtU1byn0atfmmaGbQlTa4o q4BEnv7W5+Pvwlbn/29Sw== UI-OutboundReport: notjunk:1;M01:P0:RndXisrEm34=;yHrdp2rQcaf2OysPLENiYmu+Hvn sWDl0YyOfF4Fnzt/BbW0B8SAzOAhiCwIIG/SpZ1LlmHwj7dx0UHAz9yiFuYhVMDp840AowW7/ pQj3Zg9uQrUunx9q8TXedER4qVZkYpB4EHHyMi0/A5FQaXxNr1XgZtvWR6qRG0++joSBfP6mE 9ibge7+6f8KBRWdHXFAO86eQioujqjdVIasVs04k35PUyPosLs/gQMQZA+HN+8HeMoQhom/kf TvohYdwv+XeG43cWUG2G6wxdhIWkDD26cqzciJfl974hPFlRpzzcqb2EKt0LE2sHgdMHnAeWe u6DkfH1ntEESkXSz7ipDDLpIYt7ebVFgmOa9j9lKI0RjHuZwo9zSpuFxnMS5GIhXykLveXewc TMPohLeqCgyUyg7yM7/w8WH2vDkjuug0ymUXOrebFONBda5GmxBFes3WK/6gaY++qc4Rm3SiH g/HjIELD+XKrt4VXzZVG2ZGbooMeAsAxao5S6NpnOrHutKV6QclCKkfs6ivpTFD989crXF5yZ 7BbgAerhS26YnryMAwsaBqzEDyUrdLpEypY2+ffvENaNSihNdW7/8p56R1WUNHTD3GBNHf6hS DCtdAsVC3yYGGXJ1H8CamgHewttI4ChojRK2Vhz6NdhT+UKVu8EGv8etGdx8Fv5yzuoXrdiug 4TLpyq1ikQ6n+FVUfHGWhRvguHjhFrgzqxq70epv3q+QbWDFyZeeUfLal3hSeyE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230117_232733_057128_603402BA X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. 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 From: Max Krummenacher This commit adds io-channel-cells property to the ADC nodes. This property is required in order for an IIO consumer driver to work. Especially required for Apalis iMX8 QM, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Signed-off-by: Philippe Schenker Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- (no changes since v3) Changes in v3: - Fix subject as pointed out by Shawn. Thanks! arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index a943a1e2797f..6e5ef8b69bf8 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi @@ -270,6 +270,7 @@ i2c3: i2c@5a830000 { adc0: adc@5a880000 { compatible = "nxp,imx8qxp-adc"; + #io-channel-cells = <1>; reg = <0x5a880000 0x10000>; interrupts = ; interrupt-parent = <&gic>; @@ -284,6 +285,7 @@ adc0: adc@5a880000 { adc1: adc@5a890000 { compatible = "nxp,imx8qxp-adc"; + #io-channel-cells = <1>; reg = <0x5a890000 0x10000>; interrupts = ; interrupt-parent = <&gic>;