From patchwork Thu Feb 2 15:32:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13126409 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 043ECC05027 for ; Thu, 2 Feb 2023 15:36:30 +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=H63jRfpK8OLBLJ4KPqHv2DVcxZdfT0n6QaJhawU3e1U=; b=wCZuLU1YzyO9xn DrxjLrw5RbBFHPOpQ7cpDGNIs3XCHUZdk/iqYAHfHAdP9vyGvMEPCBnF3ltrk8xN9vrkTr1ntrP7H zCwQecu1jVDqjPqOAKsVXYrxtRMLHCk1hbA6Dm1itymbi6jFNJMWBIOPwikr5GpwLEizRyAdeLg9I luebAqtg/xH+kA8erlfSKRCeZR06g5lp2u1aCMuheKznE86EVOfOd31eBzsg/H/0uQZFznPEj2kHh Tx6zHrM9dM3GuZ0IP/C+9KCAXF4GRT5VGtBix9B4JL7CfmR5buAOI0l+3gN2KJBoxdefprGvGzwPs oL/v6/20Gu5V2e0eMecQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNbcc-00GR8V-F8; Thu, 02 Feb 2023 15:35:34 +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 1pNba9-00GPo7-9j for linux-arm-kernel@lists.infradead.org; Thu, 02 Feb 2023 15:33:08 +0000 Received: from toolbox.int.toradex.com ([213.55.225.17]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0M5ukJ-1oPiYW21er-00xvDK; Thu, 02 Feb 2023 16:32:46 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: Liu Ying , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-imx@nxp.com, Max Krummenacher , Philippe Schenker , Marcel Ziswiler , Alexander Stein , Fabio Estevam , Frank Li , Joakim Zhang , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v6 02/10] arm64: dts: imx8-ss-dma: add io-channel-cells to adc nodes Date: Thu, 2 Feb 2023 16:32:12 +0100 Message-Id: <20230202153221.197308-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230202153221.197308-1-marcel@ziswiler.com> References: <20230202153221.197308-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:d+sROg43lq7zrO9rP9ELErNA5F7AApp/IXiWIudUJERjflY0vzN 11yPHoYb6/AtyeyuNi6dIAkX3w1RzJrgA86vcFPV6HU6hlZUnI7Rb3Kozlh3XvI0BaizBso ReHPYBD1CuXOUk4/nm0W9iK+fUm959Do3C3t0NJ0yUOhsxKN6FSo46l8jNuLS0EDMyLFETX UR6dboyApFpmrfDP0Gy/Q== UI-OutboundReport: notjunk:1;M01:P0:WsnS/JBGwps=;bj0q2aMBvKpTRXbnQwHeAmobdd6 mewcMgAJYTR17vqzaROt5WDwfKrPgYgBHI471HlwcBKTDvIPAbCoVhyBu+K/DyvNCe5LQSSl8 Mz8vN3aCLkfE2hotoM5RRXV5DrLH8/uE6hE3tQMDfFubHfNkWBGk2ohbxicjyr0GQ6K0X72SF uLQ8l/9BZUuxov9CagAIk0YJ/BdkbkJvJHhZDcZfQ1Dh/8p5aAj6ZjsjS08uO07V/Dyb9H4Xo l9wOk6QrFgT7fOk+qzq9RxWNmt3T5uPgQnVPjWTK0dQb9l5+ajYS2tfsEzYjCM6g9f/JLaR24 G788NcoGblYoA3KEzmu2jVr/XI5POCoHtnhecfvlGULX+u3NJtd5BtYVfNPsxOLLePr7H+YDQ qt/ZKzxgZieXwKza17f36T5hzi/ZxxyNxVib0W/JFL8uUaBo0Ol6wQaRA+YmptUl2/KnvS9im 9P4BZ8h8zA4wck7JUrWfm4JHkWhxlSUsDTEdrw3O7NOzxCGQlZDlUYBY/XYlsLUZFCmFY9B4P yrOrQ67t/bATfxq5qqffJBxXD0A40W00j8KtMXvAm0gJNaftil0lmnx2oGTzf375Qr+PP2F1J MGUnYjKAXnfB5bP2KQrJ8sTYvgIOTl0EggyclUteK28lrUJXD9HQ0SCS4sC2DJqbmw8B9NT73 d5aGmDduoY7q1LR/5OpUMd1PszVNdz/1Xce7b5JsEw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230202_073301_452686_3249D3DB X-CRM114-Status: UNSURE ( 8.67 ) 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 Acked-by: Alexander Stein --- Changes in v6: - Add Alexander's acked-by. Thanks! 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>;