From patchwork Mon Apr 17 17:38:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 674746 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21C89C77B76 for ; Mon, 17 Apr 2023 17:39:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230428AbjDQRj0 (ORCPT ); Mon, 17 Apr 2023 13:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbjDQRjX (ORCPT ); Mon, 17 Apr 2023 13:39:23 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A653AD38; Mon, 17 Apr 2023 10:39:13 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id r15so4669317wmo.1; Mon, 17 Apr 2023 10:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753151; x=1684345151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9ieDwkRbhuGtBTgJ4hOuFJkUlUo/FNB20cmPOQ1PxlQ=; b=dzUrRtQkog8JNXGtZoiC7CP+HTXCAQ9v4suq8iLyRHwcHjnosnjoOp1/z00XXRaR/z 3IXC/WUMCCftHOJuVXpTHXptlFVHH0vXL8bWaUUCkyJ2lipZ5x320iNXy1osMJ31chsx 3UeC2Do+coPSWPt4eIpOSKxm8wQg4Xmi7cwTKsCwvelKlqf8ubQk6BlOf6AJa7jiLvdV Iub8emhrPLAPUyeaE+5+kI9xRSAcOQFv0VTfmLUUIaxwT/SZkhaTz2/KsMzZXtxHcJhS DO8RbBZVcqnDg2FWAHZUA+bbY91JKjKyjfjkyo2A9eYMsi7MMgyuoZoeFHJ0SAC0fkRt PGUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753151; x=1684345151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9ieDwkRbhuGtBTgJ4hOuFJkUlUo/FNB20cmPOQ1PxlQ=; b=jXRS9PCA4aaet2CUJGYmElFmcimraBoYf1G79Mo636L6dAFvZdwGp4yR7V95wCAj9T +XAvBQ+9X2RMe5hBr1Ple/mWsM/NdDMLnVFdF+MAWY52SehtbdU0xLeNnBrH6qTAMugZ smxKT15tSoVW9cTA08BQaqrQa6RmO4dUD2CDnIHappeLbMwfc8qFOhXf1CqwObmgDyKK NIScrAl0A38NBaw9Z3a8MbXjt0YF0iQYqD2jNlex6URzbj++watKxtEsmZfyOJz+FRn+ ZCQBu2xmaV6e3dgoqJjQYsfRT5NmF9JOeRV7KrAiJTN2uK65PIrk2lAUAuGNhGcE5fyW VTTg== X-Gm-Message-State: AAQBX9eYOBsKrBVB0HFKp8ORf1Dc2mni0u+qmwGz58CZotg1Fgjx8x6V KlJptbuaBHo9hOUjeItHTY06g+l0IYggWQ== X-Google-Smtp-Source: AKy350acDiZjZ/q8MEpKibMOeWoQQvMBufVGART6kFvMm7dpJYWzgvi7Mk44pQ8mdwP7UAQSTuaddg== X-Received: by 2002:a7b:c40b:0:b0:3ed:d3a7:7077 with SMTP id k11-20020a7bc40b000000b003edd3a77077mr10800678wmi.40.1681753151293; Mon, 17 Apr 2023 10:39:11 -0700 (PDT) Received: from andrejs-nb.int.toradex.com (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003f174cafcdasm2478211wmb.7.2023.04.17.10.39.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:39:10 -0700 (PDT) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: [PATCH v1 1/4] arm64: dts: colibri-imx8x: fix eval board pin configuration Date: Mon, 17 Apr 2023 19:38:27 +0200 Message-Id: <20230417173830.19401-2-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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 Mon Apr 17 17:38:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 674745 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C61D5C77B7D for ; Mon, 17 Apr 2023 17:39:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbjDQRj0 (ORCPT ); Mon, 17 Apr 2023 13:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjDQRjX (ORCPT ); Mon, 17 Apr 2023 13:39:23 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DFB5AF15; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id n43-20020a05600c502b00b003f17466a9c1so1618140wmr.2; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753152; x=1684345152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u9SGKTimWRUdj0QTndofO8nAh6NU/GpxYJaU61wHldI=; b=hMqJUFhv26kEEYUAT+5/rDi8dUaz7Ab1xirOqdR6Z+OQWco8jYDIrhNTBVc5aPdAax XdhRUGYHw7cLE7oJLcmcXwp9oblAqC1sO3hHGII60Y5SRJk3Pyjk806/fMmi8IZfq7UJ Zv+wpYInZenS5EuA0X5VPEogGmTKoliyrq8KHhLQd2LqfI0sjwj4DqztO1+tf8l6deia JLKFMoWwaSVOrkoJUVEi9D8tkHZdqze86IcSOZOgbtUNv8yM1KArQ28wSjCMPf/e2wd+ A3rOAt5K0Jqjt/yASA/FkRrzp6ucuYKt+htsAfWLk4eCs2NjbJf6IMEA2yNL9zjFTBIp 2tTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753152; x=1684345152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u9SGKTimWRUdj0QTndofO8nAh6NU/GpxYJaU61wHldI=; b=El/A+psKPqKPebUBYnCB0BgufkXlycfW8w+wR7CdORCxhha8g3qJR11x44dsPCXzIq C8SOB/BTRuSEKOouFLErLnZwgw3F6CJemxPo/RSqXD3Hzohsg16RJv8f6TWPk5YSBMyK kuluTg14aBZcA6Y5P26nDPfNOfg1Pf/oAlt8kyj/vOaQlRdO43BjUgv86ynzihbgyiH0 yswCNy7N3QZbRefUZtz0fQ5iFVc8xM2qEX1oI+VvlePYRLeAZ6huqSxP0vtq/6925FfY ZG9iVGjvP05WqvprFQJf2G0ZwyVuiDU1NW5pzhv0OYKFJet3r9VLrFDrJlv66f51nEjc JZkQ== X-Gm-Message-State: AAQBX9dXiFLn7mJiqyfRtWpYk8XbAfHTQA1LN3UHT7XnqvtNVqI60gLs pOs5QBzjrPsA0rwL68aatcZ2eeY8mvMd2w== X-Google-Smtp-Source: AKy350bd6pQCa71FaLhDIm2hyeIlwbBqoZ/tQ5qPswmFeb2koI4NW8q60iCmGWNdqpbmhvLKf1l+Eg== X-Received: by 2002:a7b:cc81:0:b0:3f1:72d4:b271 with SMTP id p1-20020a7bcc81000000b003f172d4b271mr4043414wma.3.1681753152375; Mon, 17 Apr 2023 10:39:12 -0700 (PDT) Received: from andrejs-nb.int.toradex.com (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003f174cafcdasm2478211wmb.7.2023.04.17.10.39.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:39:11 -0700 (PDT) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: [PATCH v1 2/4] arm64: dts: colibri-imx8x: move pinctrl property from SoM to eval board Date: Mon, 17 Apr 2023 19:38:28 +0200 Message-Id: <20230417173830.19401-3-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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 Mon Apr 17 17:38:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 673947 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFA02C77B7C for ; Mon, 17 Apr 2023 17:39:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbjDQRj1 (ORCPT ); Mon, 17 Apr 2023 13:39:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230400AbjDQRjY (ORCPT ); Mon, 17 Apr 2023 13:39:24 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0071DAF38; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id iw7-20020a05600c54c700b003f16fce55b5so2631415wmb.0; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753153; x=1684345153; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ge6TrlA/p6ayXQGvV+CbIXlcLyfgFjoT1Tk9+mFzZ08=; b=bTZdzl6lBI4dstbUO/p2qrGvtbkcTW2mtf6PCMDwAGQogvBo2DpxFxT+TyIy4yFCKb PLQjeaXy3AVVLmCHlLXCt/RfMtaUAtC+W43B9FYweyR8Y6e19XsFNvgTsIbk9jUlq579 Q0o+4p9IYuKzXA2jo3FgNCxDssgoB+Bqi8x+UKkzg5U7w5qVT/WLimSAsW3NN6EfMl1r 4+cbiTWuTl9m58uw0cD3P39Iirvt6Qhmv+bVwvZHWYSvkBN0vDzMJSgl+5CYJAr6wwxV HxPziUYEau1NmL2lHptCMAeM3PSmQy0ar+2Ejjpt+JmIXxPN4nh8a4vccRiwn9aWoVVO Q0mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753153; x=1684345153; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ge6TrlA/p6ayXQGvV+CbIXlcLyfgFjoT1Tk9+mFzZ08=; b=bbKYr3bSw8NFzBXPuVH59ck+pXdgEDf0db9XM/qYbqz8HadTUcI5nv3i1RSPMMUfQG ouPcA+BvXMOW7cvRwmlRygDJ0hUuF+CS1+bxpgqODWneQ5vDaOj4GV1Nw8mcST9V1SkB GzNaZ2cpA2OZnfxOFZHbEvfVZEucPh8y0lluli8kvkMo+lRzjqq9t6FVs4kxZ2VHSNmW JpF0TqaBHXx8bNVvopwuQwNOgqg59Ke2vK5s9z9HYoPm/ueSBDncJCORxL9IHstbuVt8 bPWZ+jNKNGoDtQOQYURxrQIPy9H6DaVcESfDBGDHR11UW0HBIDu/vIIjxKHc21GVkWB2 CkmA== X-Gm-Message-State: AAQBX9fVQXC10aLJt1D4/Kf0Szyaj9VJMWytsW5tp7jK2oWxyNvvg+oO SD9xNT9/kdGL6URSmA5QGwdjJ2PLpA/DmQ== X-Google-Smtp-Source: AKy350Z/yYHKqmjJTzfYcXk95HfiN/oDh2I8Uf7raPkiokNLWc6L9VJpT9WmjO9h2n4ptxHOk9u2FQ== X-Received: by 2002:a7b:c394:0:b0:3f1:6fb3:ffcc with SMTP id s20-20020a7bc394000000b003f16fb3ffccmr5428864wmj.22.1681753153286; Mon, 17 Apr 2023 10:39:13 -0700 (PDT) Received: from andrejs-nb.int.toradex.com (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003f174cafcdasm2478211wmb.7.2023.04.17.10.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:39:12 -0700 (PDT) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: [PATCH v1 3/4] arm64: dts: colibri-imx8x: fix iris pinctrl configuration Date: Mon, 17 Apr 2023 19:38:29 +0200 Message-Id: <20230417173830.19401-4-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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 Mon Apr 17 17:38:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 673946 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1664DC77B7E for ; Mon, 17 Apr 2023 17:39:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230420AbjDQRj2 (ORCPT ); Mon, 17 Apr 2023 13:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbjDQRjY (ORCPT ); Mon, 17 Apr 2023 13:39:24 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E38B45B; Mon, 17 Apr 2023 10:39:16 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id m39-20020a05600c3b2700b003f170e75bd3so1732792wms.1; Mon, 17 Apr 2023 10:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753154; x=1684345154; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xo8M7dptfnnU8j8sIZf6ijHu+Q3xkPlAvSopMzRPSeI=; b=dxFQjXSqWSI4OK3YlKmd4NDmF/m8JF1EDA4I4yjdo0xcBTHYlHxRiOAOCVO0JbO5LJ EMBzj/9m3bpsfhJbd9KzFtKtN5vssL9xugmL50GBR8rS6lS5kV8wy6TEJ2oM5/uFZQo3 eVj8V8YoU9tgYURwoBZ5mwJDBs3nvhR76e1mkMj0vCjI5iJX1nqjgYG1F7SE7LWRhQuj DzNpLa9MjC9IlmvUtV5di/4MyrIRBLXL1fGNPKg2gsfDy755YmhOcM4EcmEG3R+V7B0s /c3+5BKwrFdvGA60lwCzK8wrzKBpV1/iIoukolc6R3cUuGrBh9nMiMzVnyF7Tg20wx5q lZNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753154; x=1684345154; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xo8M7dptfnnU8j8sIZf6ijHu+Q3xkPlAvSopMzRPSeI=; b=f61CrgdCc8+R/RAcTkz0MSKLmidMJdmH4bio8h5MoCH71HahwEiNmWPhH40krwk2lN VarL3l1bZvx9ED+Zxwkv0XVMFjGfUU4WxryuWBvzv5uiewO7X99qDZJOl4PQz3fyaCYR XsIi+9D5ErpNMTVbejhmL5qkQ6MXnSRo9BIW15utFNhBesHZh4zRxIFCw8azApRuHfHn DfrKOrda+HrcscH4sPJRH08wXqx+QGZh7hz319Qdn1dngCN0okp8BlYOjBv0ZF+v2hAZ gSvAhcHfWbJUoGtIwtuBRfP7Nmk2yWL81U71ScOJdgCYcdAr/AelT6sPGOZofyRT3dLY kr6A== X-Gm-Message-State: AAQBX9fZpT4GitqJRiYQ7eXRifb9wrQjAaArVajncn+z3X8aPl5oxS59 k9yJKCbdshzp4wpznd+/K6Hs26z4TdyI/Q== X-Google-Smtp-Source: AKy350Z/R7Edry6qOXn5LKcogwRMGp4EGe+XGM1A+KKlUhlTpgn4eAwnm+s947vhwm74FR4LqtNFog== X-Received: by 2002:a1c:f617:0:b0:3ed:a80e:6dfa with SMTP id w23-20020a1cf617000000b003eda80e6dfamr10949474wmc.40.1681753154125; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) Received: from andrejs-nb.int.toradex.com (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003f174cafcdasm2478211wmb.7.2023.04.17.10.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:39:13 -0700 (PDT) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: [PATCH v1 4/4] arm64: dts: colibri-imx8x: delete adc1 and dsp Date: Mon, 17 Apr 2023 19:38:30 +0200 Message-Id: <20230417173830.19401-5-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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;