Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2528906rwi; Fri, 28 Oct 2022 08:06:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hJXKozwusfSaKMoDtfkdew9P/mGIoa8mk3xuHDMXc+NcR4e59KRHhsFLzsVBgetzOBrU9 X-Received: by 2002:a17:90a:e545:b0:213:9c27:cded with SMTP id ei5-20020a17090ae54500b002139c27cdedmr1517145pjb.208.1666969616335; Fri, 28 Oct 2022 08:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666969616; cv=none; d=google.com; s=arc-20160816; b=biwhUUI1cvUPk5kLmVsmi9XL4mkySS9Nyuld87ZiirQuxlz9pwOlOdi0xprBRq4Qwb ezwgTeEdunj5vDbTY6bGYYdz85mOJOcV59loPKDrziDmMFwKqTSNnBGUjUnrCnd0r8uu e1RaLFyyaA5JKtW2z5IcJzGgEECzV4w9WMGtw2qaqtZJRhPSoQEY/35Kgon3L8mJKYYp STzWarNEP8lfPMYIqMsLtOFTZuqYnNMaJhV35Ws9M4SuRfyYZ3RdzXvrIVqckOk7QpZT 72UbzY6ifBx7rHoqkkzF6V3RPW0U0At2H+C36X+D/hDrc/gE6gRavbWUmvsnWeFb0m+w q7cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AFy9ujQdGUEwIwZLLKiJhMSw30Tfkd+pQPEhtsqCMP4=; b=BI/c+RmM9TrKrtryjuYr0jEqAGplNefO2d6UjGSUvbj12zr+qgR/xsdZalORgRmrxM mbSh/glZRuibjDGD7FOhAfttDmLglvuDdKb7zcYnBcsDcCQEN75PWk6A23tDZ45QxPXx JvqcXcPe44KRmhGf8fvMIjuxpOFusAtIYtVqzxbhBmc7XSssaABu1ByHK7FRcuOEUqW7 OhKDjFqt8JqzHdtS6mDl2ftifX4vM3tbGfytpVRr23XFGJVr5WOL6Y2YZnOUP3I6622k MOE2WYaBG05hCvN0S8yajrVXAhHb4RYqe4X0YBnBsWIDXQQfPP3nqvBCmfSN/VSEC3we FWuw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a170902ca8500b00176e58d4a4esi4715874pld.100.2022.10.28.08.06.44; Fri, 28 Oct 2022 08:06:56 -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 S229902AbiJ1Oo0 (ORCPT + 99 others); Fri, 28 Oct 2022 10:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbiJ1OoY (ORCPT ); Fri, 28 Oct 2022 10:44:24 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A574D19ABC9 for ; Fri, 28 Oct 2022 07:44:23 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooQam-0006Lb-SP; Fri, 28 Oct 2022 16:44:16 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ooQam-0000bP-H6; Fri, 28 Oct 2022 16:44:16 +0200 Date: Fri, 28 Oct 2022 16:44:16 +0200 From: Marco Felsch To: "Peng Fan (OSS)" Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V2 10/15] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Message-ID: <20221028144416.rjxwjasvz4asbfpi@pengutronix.de> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> <20221024031351.4135651-11-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024031351.4135651-11-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 22-10-24, Peng Fan (OSS) wrote: > From: Peng Fan > > Add I2C gpio recovery iomuxc settings > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 24 +++++++++++++++++-- > 1 file changed, 22 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > index 2b4395854283..a37a165b40ec 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi > @@ -160,8 +160,11 @@ &i2c1 { > > &i2c2 { > clock-frequency = <400000>; > - pinctrl-names = "default"; > + pinctrl-names = "default", "gpio"; > pinctrl-0 = <&pinctrl_i2c2>; > + pinctrl-1 = <&pinctrl_i2c2_gpio>; > + scl-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; > + sda-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; > status = "okay"; > > ptn5110: tcpc@50 { > @@ -196,8 +199,11 @@ typec1_con: connector { > > &i2c3 { > clock-frequency = <400000>; > - pinctrl-names = "default"; > + pinctrl-names = "default", "gpio"; > pinctrl-0 = <&pinctrl_i2c3>; > + pinctrl-1 = <&pinctrl_i2c3_gpio>; > + scl-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; > + sda-gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>; > status = "okay"; > > pca6416: gpio@20 { > @@ -344,6 +350,13 @@ MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 > >; > }; > > + pinctrl_i2c2_gpio: i2c2grp-gpio { > + fsl,pins = < > + MX8MN_IOMUXC_I2C2_SCL_GPIO5_IO16 0x1c3 > + MX8MN_IOMUXC_I2C2_SDA_GPIO5_IO17 0x1c3 > + >; > + }; > + > pinctrl_gpio_wlf: gpiowlfgrp { > fsl,pins = < > MX8MN_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6 > @@ -377,6 +390,13 @@ MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 > >; > }; > > + pinctrl_i2c3_gpio: i2c3grp-gpio { > + fsl,pins = < > + MX8MN_IOMUXC_I2C3_SCL_GPIO5_IO18 0x1c3 > + MX8MN_IOMUXC_I2C3_SDA_GPIO5_IO19 0x1c3 > + >; > + }; Please sort them alphabetical. Regards, Marco > + > pinctrl_pmic: pmicirqgrp { > fsl,pins = < > MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141 > -- > 2.37.1 > > >