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 = ;