From patchwork Mon Jan 2 17:10:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13086879 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 9E3BFC3DA7A for ; Mon, 2 Jan 2023 17:12:22 +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=14dHcnU7dCN8sPIK4f6fB53L7cgh2z+I4NcRdrqaGEA=; b=LUIza49sJCliRe 69eki5oRq1xPTR/3HqHNNRqvfEyRmdpAc2ld1KKrKksZV2ZDFR1krWCjQ4qB6ODItFExm7LZPDrnH JleM0hyhoTCZNdn0hbpDDOOUKuWBTIe90RH8G3huvkDueGpMbY1ycUrD0GoSOltGuaTbXG55DNYLm U3nAEh6oCuvyFxnK+ju47fXTLfE0o6pp8eVKnE4w0pLzM4nBLQDnrv+qEmCkf9R5yWdt32Qo5wcIK 4cn3k9Db/f2kffkW2UKYXuUb6/o1Yonq7woRoCAFvH54nhJZgNvCGwuJgfbw3YeOuq4bmSn+Fn98r TerrtXfPZGqZUUATVlvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCOLE-00CzNi-6X; Mon, 02 Jan 2023 17:11:16 +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 1pCOKk-00CzCN-MM for linux-arm-kernel@lists.infradead.org; Mon, 02 Jan 2023 17:10:48 +0000 Received: from toolbox.int.toradex.com ([104.59.205.51]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LynwX-1oi6Hf01zj-0166VZ; Mon, 02 Jan 2023 18:10:32 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Max Krummenacher , Philippe Schenker , Marcel Ziswiler , Fabio Estevam , Frank Li , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v2 2/5] arm64: dts: fsl-imx8qm-device.dtsi: add io-channel-cells to adc nodes Date: Mon, 2 Jan 2023 18:10:19 +0100 Message-Id: <20230102171023.33853-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230102171023.33853-1-marcel@ziswiler.com> References: <20230102171023.33853-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:BF6hlveHaNGnK+Rxx9ph72YkG8TkykKQ5KeCyFLo5XKfGpekZcR haP6Zhbsf6zZZwNYcFenxnxQvMLCTGHsPGiNCPZhvkW9a9maxg9AJ9F+YWqVYpZcQ/NZ1vk 24s4kvfKy2VelrpLH9alQx0//8T+uB7ZLxb+ioVb+pfHSjBEadU7mxCHxPMnXfkYjcKk5th DUIqrRjue45+pFoVSadrw== UI-OutboundReport: notjunk:1;M01:P0:d0DKF2BZQEI=;SJDQj5TmV+2O5SLdhNo7Vlz/MX5 bm9+3l+fki/Awn7DY/FiDXcsJzOctneZheHV6zRbMQCjXPZfy/gRpb2xB4yY/eN519yIZ9tt+ DZj4ZvNJvDWFqh/WM02dss2uM8jde/9ujNvHAvInBySfZRy2Vt4WnDVcOTafpHg0h4gnUR3mI 0cKBhPRW+EBI9atNyH7eU1lEV4bU1Abx/OEL/t1b+URbdwJJVzE4VfLuo83jAaqRYshenwxyp FNaJzOuZtERS+9lVEu78VV98HkoVxhdJShLD9D9/wOSIyH7RcfssHRTsbIArpP/0S83ZhCWUl cqEKDtGVkN92DxL39oM3jWW/yuCkGZimy33YfBmoHozkFLo07BoxA3dCYbE/Xlhg+W/5OOEVy e4ovE/VZklMPEO613uWs0k7P4Hnu0tOwnXMAZ7waCd7AsPKkDJeQ24hVjE/OxRkB5s9gjh3l9 ugxiH178qCbuwMEPrhJM6hoW9uuvGmY281SEHejeSDKRNZgHY7TQ+R0wFaf7YaDE5GS1B7ag0 NTrqZnAMYHfKCyl5Qn5j5Ea9XMWxtbdOuQVDV6eCFxL26Qv/GCFRC2nKKqPWRIOmetZqdxByO /aoyooDho3JI5OL9yN5X/bWGIwFEEgNSCEaGsTnPEFT3Ui3ACT7Hj40apafw899fcAlaZBISc l+OOXYvIIPmy6W7iL2CrbLDRt3/qrSufnXL/XamlrA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_091046_894384_1134EC13 X-CRM114-Status: UNSURE ( 9.75 ) 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 v1) 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>;