From patchwork Mon Dec 26 06:28:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13081641 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 204F9C4332F for ; Mon, 26 Dec 2022 06:30:28 +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=8SFpCzKIkiEElYaV8KgQioz29aHFGQnCZGUN2n2p/O4=; b=lexFTdr5ZNFep2 JsEcYIJZ7OA2+ONCrTT9FBofObBZguQt3ap/j5PhSwK77MjZSY6uA7O5Ve0+zli5qI5IroR7Cod7X rByr+MRh8XMSXXZk8n6IW3p/qm3SEPwcWtaoEYSe7RwO68zSM23LEVQ6tcC33nMdi4/YqmRX5DphY UN0yWCm9PJQdvtJmgaodGoUrc0v9rP+mwlO1xXsXxRnhZwwOEY1MxIAaPVpGxAeef3lT5tgbk3lpU GtlFUqsSUo36DUdEsZTv7Nf+l0GhuOPOShjB0qr0z6N5Oc99LzvwVJJ1Wn4zjGydUw8ScoPjPgZlC 0SyX6eFcPhH2wkXAm6sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p9gzE-002F8v-Mo; Mon, 26 Dec 2022 06:29:25 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p9gyq-002F0J-JP for linux-arm-kernel@lists.infradead.org; Mon, 26 Dec 2022 06:29:01 +0000 Received: from toolbox.int.toradex.com ([213.55.224.88]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LtYx8-1okYvL0Cua-010tRy; Mon, 26 Dec 2022 07:28:47 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Philippe Schenker , Marcel Ziswiler , Fabio Estevam , Frank Li , Krzysztof Kozlowski , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/5] arm64: dts: fsl-imx8qm-device.dtsi: add io-channel-cells to adc nodes Date: Mon, 26 Dec 2022 07:28:20 +0100 Message-Id: <20221226062824.53113-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221226062824.53113-1-marcel@ziswiler.com> References: <20221226062824.53113-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:yT894WxflFkUPHarJEEkk3EvpndWb6L9gwAL0JWbTC2Aj4azoXI GD+2EW3W9648w7kwpjF0gXLigpoAXOz5+ZzRrT3IlIsS/xHwySODgAgS9v8OTwOsVmuAQ5L 87BQRSM1f7hGD3O5ENXNZAdxQ1d7++KIUlhww3Vp/qJfzNEhiIoP4LR3Nu0cw1oQV0uDvnl INIUK6YJHIyqvSeN9l6Gg== UI-OutboundReport: notjunk:1;M01:P0:fa01bK35U3o=;ckNHUpM0OMLebzZmVU/+oUuT2bp 1cInVIcvLuenQL81HzM/TN5VeoFXn9cTW/Bwy3/YfYPiHd+QhX/r2j6XrVew/ndHbgxScjM6y SmRr8uDFcP2DUihWqZt+amLACyZ3t5+xTXRumRRcQod8E/LNiPnjOzCmLSqdwl5xEt+7ZtnbI ZSkQqet0r540OSSWKrMSI3jBYSNCQoeM1agIAmx34WydLAOoVTkZBLBBqdvhnsahzSi5MxUuT OoNJO5OtdmjGv04K8uDUliwk7RMIKhyeY7VaY02VA178iebJLFS0NHIC6AuCMAnvzInqs8GZy wjGz5XlCA+LCtwZH1YNRT+NZPLQ/ChkHwmwk3UEk3jsQ3jek76PLxuUgT0zB8NNMWMSQExMb4 dYR01aaKXB7UhCyJvHglDrYQo/xQu5+LBAve/huynUfNPyTqIOJqRbaQuGHy+8eVO3wfvIw6a wSwzlNVo6y5DItuD8xVYcjSdkOe2Vx3FRSa3/fy5Ni87WkGGs1P7gBYKHeFp6iVfkFttZKpb6 +SZveJxk70FtH6/TyjNKTP1sbsupL0jSebt189YVvuAQsgMuk5bZb918jO1xBKYDkwcJ4FDtb YbkDPC74GHdNvC+SQouFhFUMk8vJPSq6vf0K5KzvH+AV2lCqPieB0FHEiOttsYNdruKnVJwCM VzxpHIKTxovHBCthJE63eC3mIvl7VsAiUis/l7LHjQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221225_222900_773411_FD39412A X-CRM114-Status: UNSURE ( 7.82 ) 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 --- 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>;