From patchwork Sun May 14 09:22:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 93667 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6205617vqo; Sun, 14 May 2023 02:35:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6l1zcbp8uF2n6IanpT3Bo5rjUm/OE9rCNsT8gr90Bf17l698JZJpdlGbkP4lG4zInN6VlM X-Received: by 2002:a05:6a20:3d09:b0:f0:93d9:9c03 with SMTP id y9-20020a056a203d0900b000f093d99c03mr37328423pzi.15.1684056935403; Sun, 14 May 2023 02:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684056935; cv=none; d=google.com; s=arc-20160816; b=zXetxiPip7sl88wDwcF4X3O34/1PK5qsqDwIispQ0n+9WRHxljrkpbQHU8aaS2gp1A e8GgwPHeMXeBmgUtFB8s2vA4j+gVKGCPgSm2wnJ+CnK2eqfUScy0pa8gq97euIllzjSW +ZtmiDUdHZLAttisbj8P0I7Sv6ztQAXsqzksoC0Rbmt4cC9fzIx01O82FiADZysbtRaz uxRYFqaIvIz3BIbuyhfSvMNMN5gPs6JqFKpBLykNQSXv9TYqdXNzEicMPfb82WhJpzMt rw3KMzLpNtxPl4FGtX0nmlKKYK9LsoLjGE7jkwqtLqGsR1WB34z9gZP4/OlseyJA/rJn 8Mxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8NLH2FcZZSgWRpXS+knnTWyNJJnkq6MijqbUQI4ut74=; b=sPXgwBd8Lwo7NJptACOMKW8EInW7CfhDhXj9Brt3SECw0YEu9kcZR2t9Gms6iv3jtd 3nvW7AzvbnpvOxZS3nngcreWpaATmsblU0dYtpSzBlJyeysHpdHbqB6N4PQE+fLKARYe 4att50QKeUFNCd4GIAQLyWLoKS7TyTiE5OmxdQvWfF7wnoEEg4oqGm/zvaFb4ksRDlhZ f55xg4FKIZCDxf8FeRBk7gkwxRLjzk3pKy96xk7csHMFJzTlgYeYEAEA9FlB3kINKAM4 YTYcQ7lTSBpVXuJvK9RkIP1yXvmvoPrJopRXzc/y7mg75CEE0cG0iyX8fgGbg/QfMw7f mLLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l197-20020a633ece000000b00517ac1a9a63si13338518pga.129.2023.05.14.02.35.22; Sun, 14 May 2023 02:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235718AbjENJXV (ORCPT + 99 others); Sun, 14 May 2023 05:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjENJXR (ORCPT ); Sun, 14 May 2023 05:23:17 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B04231FFE; Sun, 14 May 2023 02:23:14 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id A650B2127F; Sun, 14 May 2023 11:23:10 +0200 (CEST) From: Francesco Dolcini To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Emanuele Ghidoli , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Andrejs Cainikovs , Francesco Dolcini Subject: [PATCH v2 1/4] arm64: dts: colibri-imx8x: fix eval board pin configuration Date: Sun, 14 May 2023 11:22:43 +0200 Message-Id: <20230514092246.9741-2-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230514092246.9741-1-francesco@dolcini.it> References: <20230514092246.9741-1-francesco@dolcini.it> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765861684642312676?= X-GMAIL-MSGID: =?utf-8?q?1765861684642312676?= From: Emanuele Ghidoli Fix pinctrl groups to have SODIMM 75 only in one group. Remove configuration of the pin at SoM level because it is normally used as CSI_MCLK at camera interface connector. Without this fix it is not possible, without redefining iomuxc pinctrl, to use CSI_MCLK signal and leads to the following error messages: imx8qxp-pinctrl scu:pinctrl: pin IMX8QXP_CSI_MCLK already requested imx8qxp-pinctrl scu:pinctrl: pin-147 (16-003c) status -22 Fixes: 4d2adf738169 ("arm64: dts: colibri-imx8x: Split pinctrl_hog1") Signed-off-by: Emanuele Ghidoli Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: remove stray newline after Fixes: tag --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 7cad79102e1a..6f88c11f16e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -365,7 +365,7 @@ &usdhc2 { &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, - <&pinctrl_hog2>, <&pinctrl_lpspi2_cs2>; + <&pinctrl_lpspi2_cs2>; /* On-module touch pen-down interrupt */ pinctrl_ad7879_int: ad7879intgrp { @@ -499,8 +499,7 @@ pinctrl_hog0: hog0grp { }; pinctrl_hog1: hog1grp { - fsl,pins = , /* SODIMM 75 */ - ; /* SODIMM 93 */ + fsl,pins = ; /* SODIMM 93 */ }; pinctrl_hog2: hog2grp { From patchwork Sun May 14 09:22:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 93666 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6204022vqo; Sun, 14 May 2023 02:30:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iZ8bPwYK6I/d93wgRlYeMCJT1m5g4kXVu+rkTlRga2MNsd0vfMOFRGBFr4GXreOuc5rQv X-Received: by 2002:a17:902:dac5:b0:1a5:dfd:d167 with SMTP id q5-20020a170902dac500b001a50dfdd167mr38226386plx.8.1684056642193; Sun, 14 May 2023 02:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684056642; cv=none; d=google.com; s=arc-20160816; b=BDjMbL+ijHoJxCDhHSWmWqDbKtaHe33jsZxDAMSOEwT84Mamw5P//QiFoOkiDpD1zY ceX+HzwbWeF7oAOVZLg2JHqOyS/x7wJnxiQsJKH66FhUTQ+fGAclL0UG6cKNP47CGnHD 8KpAbZes3srLOcq4b1LVl7zEXTHIuzuengdVdg4McANhM0NFVi/Tyy+z7hTQcVDrz1HX 0SWji8t3fHi6uoKpB5H3gj4wxEYDdeBXIR5gNohDVPc8IjLC24pOQRoQi6SHor0v+pLQ 1YUS7tA4MzuinKD7w9F3K+uJEHS3pEfmwXlUip+ecjq+5vdirgZNG3EhEkvp9DfnRc1+ Rclw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fWDCpeRrOfFSc4UBqoq2DVc6fexaKI5utHQegDV3o6c=; b=ny7rLsEH6In7b5JSloVKd2vIIc9S/3Rm8o/lkHYbPExjy0L0Rk1erby9/eS5wKl8mN GfL8P35oOOqNhEUyM9fPFux1EesouG2MnjQflVYa1lyNW3B4YaYwrn2xXi60kXvsHcwL j0e2TsORcLYRVyIa10xQS0cPqk7LjULqUGHA7WnKj6iP2kUdvjCGXXso4jN262EdpbzR n8ia8/j6qqf7++mmk/p+xhAfFgS2EfLhjXZkh+idd2IjYHZNZGx3bI2NHhom3d5dovY1 +A5POJ7sP1zF3tmEe2g4R4rEsVW+1li2mUP4zbW8O3xpG9prBGyxtjl81uJVCULGU/Bx Kw8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a170902ea8200b001a643dfb884si12700551plb.451.2023.05.14.02.30.26; Sun, 14 May 2023 02:30:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233824AbjENJXS (ORCPT + 99 others); Sun, 14 May 2023 05:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232868AbjENJXR (ORCPT ); Sun, 14 May 2023 05:23:17 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8071F1FDE; Sun, 14 May 2023 02:23:14 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 2C02A2131E; Sun, 14 May 2023 11:23:11 +0200 (CEST) From: Francesco Dolcini To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Emanuele Ghidoli , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Andrejs Cainikovs , Francesco Dolcini Subject: [PATCH v2 2/4] arm64: dts: colibri-imx8x: move pinctrl property from SoM to eval board Date: Sun, 14 May 2023 11:22:44 +0200 Message-Id: <20230514092246.9741-3-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230514092246.9741-1-francesco@dolcini.it> References: <20230514092246.9741-1-francesco@dolcini.it> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765861377982832687?= X-GMAIL-MSGID: =?utf-8?q?1765861377982832687?= From: Emanuele Ghidoli Each carrier board device tree except the eval board one already override iomuxc pinctrl property to configure unused pins as gpio. So move also the pinctrl property to eval board device tree. Leave the pin group definition in imx8x-colibri.dtsi to avoid duplication and simplify configuration of gpio. Signed-off-by: Emanuele Ghidoli Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: remove stray newline after Fixes: tag --- arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 6 ++++++ arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 7264d784ae72..9af769ab8ceb 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -33,6 +33,12 @@ rtc_i2c: rtc@68 { }; }; +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, + <&pinctrl_lpspi2_cs2>; +}; + /* Colibri SPI */ &lpspi2 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 6f88c11f16e1..b0d6f632622c 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -363,10 +363,6 @@ &usdhc2 { /* TODO VPU Encoder/Decoder */ &iomuxc { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>, - <&pinctrl_lpspi2_cs2>; - /* On-module touch pen-down interrupt */ pinctrl_ad7879_int: ad7879intgrp { fsl,pins = ; From patchwork Sun May 14 09:22:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 93668 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6206489vqo; Sun, 14 May 2023 02:38:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7xtjsX5ZMe+Gpj/7OB5Nh8B/dUsimAyzqF4ey6/0MJr4mPnyBLID+ozM16LJ2fz2HIV1Ce X-Received: by 2002:a17:902:f804:b0:1a6:d9a6:a9b4 with SMTP id ix4-20020a170902f80400b001a6d9a6a9b4mr31049696plb.3.1684057120148; Sun, 14 May 2023 02:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684057120; cv=none; d=google.com; s=arc-20160816; b=oLQ+0RaKSOgUIWaapzbsWw4mIVcxa8z00ic+Hm7ZoSCOQaJXu2uok4X4wNcYZWOcit wQSf0CAKHpX8CaTzR13ajWOyb+7keMrGS8p9F0s5cp/AUzGz7yxgGCbXl2F5x3fs/zna tkenvHIGXn17cjQNd/enkvshrb7SQrklJsYb4csNwedHkUdLc29Dw1TxPHYkFXy4wp8g wq8uJ34R7r7rk4QPIhgX8TSxqTRtEM/bnf3jPYsrvvufaz+NZkzkWJ5n28M7ENQVC3C2 1IHMhWufz3WuptjBT/3PN1ZPNMF5oyoG1An6KrHbm0CTjpIuJulMP7/ABdqkoK3LELcw kJbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EBknmMzBHeVW9nlp/rzdxepXgOevrFu2uXpYR9s+9+4=; b=ua4PE9LtbM8mSkEqf6dJFHPJz8e8VxzU0887i6+TYqucqABRT1Y8CMWtG7/hBqAt++ UriL5NNCN4sLq1GwVkx1kZ7SonW0OsxbO5SvAnyMZY5sGYjEZ2veuSg9nKYZsxxTgomo BVmBy3Wy0J/5wvjb3dFBCZtSo4FhObVp39BNA+99sBi0w3eAgqAxMBtr5fHxRZiw7ZZM VK0pnClgfYwBpO6GvoyGAlN94wUI31dZGVI7/FlwZch0XO4LeYYo6pZN6fIfaTC6viGx mSACi+hycKQa3CfbmvOLEf0JxzZE4jcWIUlq8ijOsXUQ2FrPllXjtyWG+8u9KgU1ikKY El8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a17090301d100b0019aa8d665bdsi14129239plh.71.2023.05.14.02.38.24; Sun, 14 May 2023 02:38:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235765AbjENJXa (ORCPT + 99 others); Sun, 14 May 2023 05:23:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233488AbjENJXR (ORCPT ); Sun, 14 May 2023 05:23:17 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A83F71FF3; Sun, 14 May 2023 02:23:14 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id A4B4C21320; Sun, 14 May 2023 11:23:11 +0200 (CEST) From: Francesco Dolcini To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Emanuele Ghidoli , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Andrejs Cainikovs , Francesco Dolcini Subject: [PATCH v2 3/4] arm64: dts: colibri-imx8x: fix iris pinctrl configuration Date: Sun, 14 May 2023 11:22:45 +0200 Message-Id: <20230514092246.9741-4-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230514092246.9741-1-francesco@dolcini.it> References: <20230514092246.9741-1-francesco@dolcini.it> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765861878488195251?= X-GMAIL-MSGID: =?utf-8?q?1765861878488195251?= From: Emanuele Ghidoli Remove GPIO3_IO10 from Iris carrier board pinctrl configuration, this is already defined in the SOM dtsi since this is a standard SOM functionality (wake-up button). Duplicating it leads to the following error message imx8qxp-pinctrl scu:pinctrl: pin IMX8QXP_QSPI0A_DATA1 already requested Fixes: aefb5e2d974d ("arm64: dts: colibri-imx8x: Add iris carrier board") Signed-off-by: Emanuele Ghidoli Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: remove stray newline after Fixes: tag --- arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index 5f30c88855e7..f8953067bc3b 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -48,8 +48,7 @@ pinctrl_gpio_iris: gpioirisgrp { , /* SODIMM 101 */ , /* SODIMM 97 */ , /* SODIMM 85 */ - , /* SODIMM 79 */ - ; /* SODIMM 45 */ + ; /* SODIMM 79 */ }; pinctrl_uart1_forceoff: uart1forceoffgrp { From patchwork Sun May 14 09:22:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 93669 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6206486vqo; Sun, 14 May 2023 02:38:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5WpW5prgf2llz79veAx588y+LUL5JNK5NJvi7ovl7iIhl8SoSWmqPom06R6E8Vylwffb7k X-Received: by 2002:a17:90a:2f05:b0:250:3652:55bd with SMTP id s5-20020a17090a2f0500b00250365255bdmr34844129pjd.14.1684057120139; Sun, 14 May 2023 02:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684057120; cv=none; d=google.com; s=arc-20160816; b=hY9saaL/mHkQq0NiXTeZjNFpmKDAeyAY/z63SWiAxlXDzWxiK6uC/yaFQyHuBhIO1b fuPfHabDR+SrgC31a9hdKknOM16OfKdhWhy6shm51Jg+Pu4OMW/9sRwz0+FVbyYzSbR4 K0SpE3nT+/IThbiWTyxOM0cpCRnFx+PGpUtPT6gwwprxvkLf87973P4TVyYKpLmwNmRE 80aabv8hQhw9Sz7Cb/hTSHCujKkb+oD9WA2ArjWGUHlIQh/eO5GLd0YBJjaO5Ln/iYHC p8l+QDprhFeRNAf/KuJ5zQLdR0RsyEXn5sQss0n6YQ/sN2cVCsivcTVnu6XRZ44oRBnY pnGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QyJZkM092es5SuKaPv1VdYj7Twe8UaB3b6Uh7zMaOf0=; b=QZr6zbaXmiBrcYsqw8n9ZCIQu0ytMsaI5WOTb83ACqUVcb6cw0h5vIVhOZnetezSkw cFH6Vc0vU6UlPR4JJeGYmgTl9iLvAM9mFYpYDh39se8vEAE4565FKHLyK/q+ko09/n4K I75hiUQ/UmNUPcsdJyUAA+hcGj3aGU3g9Q/A07YooIKEfEUGbXA95rr0bu4kyRBn69pk 3MtstTJ8+nYbCqLk9zF913v0VvIy3joq2RC5DRsyxMh4z73wLmhl3OIutAF9/7ivgFGJ 8TmBS+293HBLHXXTn3e4sap7jS5vwtczrZJYdUKwMtthnC6sPjQDLFD3kiZ0CZ3rGXT6 aBgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u64-20020a17090a51c600b0024e2d70d28asi28857603pjh.140.2023.05.14.02.38.24; Sun, 14 May 2023 02:38:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236997AbjENJXe (ORCPT + 99 others); Sun, 14 May 2023 05:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233239AbjENJXR (ORCPT ); Sun, 14 May 2023 05:23:17 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B01A51FF6; Sun, 14 May 2023 02:23:14 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 21D9421326; Sun, 14 May 2023 11:23:12 +0200 (CEST) From: Francesco Dolcini To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Andrejs Cainikovs , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Francesco Dolcini Subject: [PATCH v2 4/4] arm64: dts: colibri-imx8x: delete adc1 and dsp Date: Sun, 14 May 2023 11:22:46 +0200 Message-Id: <20230514092246.9741-5-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230514092246.9741-1-francesco@dolcini.it> References: <20230514092246.9741-1-francesco@dolcini.it> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765861878643571630?= X-GMAIL-MSGID: =?utf-8?q?1765861878643571630?= From: Andrejs Cainikovs i.MX8, i.MX8X, i.MX8XP and i.MX8XL SOC device trees are all based on imx8-ss-*.dtsi files. For i.MX8X and i.MX8XP these device trees should be updated with some peripherals removed or updated, similar to i.MX8XL (imx8dxl-ss-*.dtsi files). However, it looks like only i.MX8 and i.MX8XL are up to date, but for i.MX8X and i.MX8XP some of the peripherals got inherited from imx8-ss-*.dtsi files, but in reality they are not present on SOC. As a result, during resource partition ownership check U-Boot receives messages from SCU firmware about these resources not owned by boot partition. In reality, these resources are not owned by anyone, as they simply does not exist, but are defined in Linux device tree. This change removes those peripherals, which are listed during U-Boot resource partition ownership check as warnings: ## Flattened Device Tree blob at 9d400000 Booting using the fdt blob at 0x9d400000 Loading Device Tree to 00000000fd652000, end 00000000fd67efff ... OK Disable clock-controller@59580000 rsrc 512 not owned Disable clock-controller@5ac90000 rsrc 102 not owned Starting kernel ... Fixes: ba5a5615d54f ("arm64: dts: freescale: add initial support for colibri imx8x") Signed-off-by: Andrejs Cainikovs Signed-off-by: Francesco Dolcini --- v2: Fixed patch From: --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index b0d6f632622c..49d105eb4769 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -769,3 +769,10 @@ pinctrl_wifi: wifigrp { fsl,pins = ; }; }; + +/* Delete peripherals which are not present on SOC, but are defined in imx8-ss-*.dtsi */ + +/delete-node/ &adc1; +/delete-node/ &adc1_lpcg; +/delete-node/ &dsp; +/delete-node/ &dsp_lpcg;