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: 84373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2296238vqo; Mon, 17 Apr 2023 10:45:19 -0700 (PDT) X-Google-Smtp-Source: AKy350ZDSzf3GlfsGqACmlhUlTjD7SH2tsVKp6kSRbnBgd7IcO1zd482weAtiTU4qdMmdi9+irFY X-Received: by 2002:a17:903:2308:b0:1a6:98a4:e925 with SMTP id d8-20020a170903230800b001a698a4e925mr16334298plh.28.1681753519070; Mon, 17 Apr 2023 10:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681753519; cv=none; d=google.com; s=arc-20160816; b=lsHQLfJLWlH0vEzg3ORGc/4gwKxa588x+5A/QcJY2TzZnd5pruHiuzpDtUEp7n1tJA CtF0LIoB/S0hud52jXAHCkI0oRRFirLWmbi8qMD2wh0hdjslVD8tVBXVibHQ8j9/lDcf 0m6l4xr77Ckxv5obMlQ3lU1YR9wyKaKbUEQj/ADy/D89HRQKOFJZ96QlThml7MtM7lSp hJ/xU75gLZPaodPdyjOJzK/v9zNjLtMz4/dSa3EcHzp3+F/RaJw3gRJSqz7tcmQ7vHxW 2acrBD3CiVsS6q4uSBPMk+JO9X+muRCYi88LqOxwu2VTLglAqFSIyHbhatmJvrdqQ8WX c1NQ== 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 :dkim-signature; bh=u9SGKTimWRUdj0QTndofO8nAh6NU/GpxYJaU61wHldI=; b=Ph9Wv8IqZRzArvr6FN1MAAv1eQUC0xnwnvJRT9mklJ0BnMF1aNYAoitMylMdAgFxTc H/TI3UZFthXNMGQ/jDMbAx9lQznG4fGzSO075kKQiTQ/xBGpR7cuh4UKnoj3KaLBPQir NTDjVXEiZ/EWDdV7pfqRhL/50IAunO4rjj9WpsB+9rloufyWX6bL+tB77ZcOGZQ63sPf leMAQjcg4IVIq3ZVY58MZXAxfoOVNCkUxjKhA8GKAuniRLF/RdrIHjc9kqeR+MmzQbkD wJ+H33D93i/xzZ3mKG05yPikHCFVwrGgQWiQQ6JUzoChTOfcY7TCFw6Q2ghIfoXjp0jI lqng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hMqJUFhv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a17090282c200b001a6555fb909si11885963plz.183.2023.04.17.10.45.06; Mon, 17 Apr 2023 10:45:19 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hMqJUFhv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbjDQRj3 (ORCPT + 99 others); Mon, 17 Apr 2023 13:39:29 -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-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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?1763446377610025678?= X-GMAIL-MSGID: =?utf-8?q?1763446377610025678?= 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 = ;