From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,FROM_EXCESS_BASE64,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 159C3C31E40 for ; Mon, 12 Aug 2019 09:15:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8F112085A for ; Mon, 12 Aug 2019 09:15:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j/Gej1Nh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b="jI/jY+Uz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8F112085A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ysoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xMXMso92O5XiSe5QW6mJz18dA0gut5kJ5G0U56GuhVU=; b=j/Gej1Nh9ykEwKaZoCaAaTHob izWqkiln4ZDyShDUIzsm0pG7WhEFNCuaH/6mgtkRqaEXaqyAWq1uJuPgfCiBYZL3uyRyNSsOUvw6U NcOWLUnsIjAG7BL2HchTKrcOLojWCkAZ0qILRPwQxSRcuc6RPlrv4O1WFVHauGakbypkGRDV/4yAC LvDGsI7C2p6rGJgCT5+xgyOlV7N+IIthOV3YXOXs/4HfNpD1BeL1ouLilWodx68i5UduJNNiuGzCk PUeFoKT/BPwPFq1U/LFM3qmmzS+hh4KEap+9M4y20+2kzIGzD+4UfHL5A+K2lp9R7EZHhU8lbzi5h QZqXZhD+g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hx6Qo-0008Mg-FU; Mon, 12 Aug 2019 09:15:58 +0000 Received: from uho.ysoft.cz ([81.19.3.130]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hx6Ql-0008MM-6Z for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 09:15:56 +0000 Received: from [10.1.8.111] (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 9D261A32FB; Mon, 12 Aug 2019 11:15:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1565601344; bh=7HwczNO4AaJxhz9DmNAJsQskuU0vcuHCLWic8ettZ1A=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jI/jY+UzM1VHcCwq+/3IO6TnBVWOVbl8u7LnYXJ1phUy7WgS6Ahm7lYGCQ7TFIV4M DJuGH9XbOg+nKg/up1TxBvtRgezEW58h8Pt/pRrtW4Nkv9KgwjORu9eMonK1j6QvrO UWjKg4NKenMQuhYLadJHl6CNyVQtoCNfDoMwTt34= Subject: Re: [PATCH v3 05/21] ARM: dts: add recovery for I2C for iMX7 To: Philippe Schenker , Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Shawn Guo , Mark Rutland , Fabio Estevam References: <20190807082556.5013-1-philippe.schenker@toradex.com> <20190807082556.5013-6-philippe.schenker@toradex.com> From: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Message-ID: Date: Mon, 12 Aug 2019 11:15:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190807082556.5013-6-philippe.schenker@toradex.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_021555_403675_11D57818 X-CRM114-Status: GOOD ( 14.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sascha Hauer , "linux-kernel@vger.kernel.org" , Oleksandr Suvorov , NXP Linux Team , Pengutronix Kernel Team , "linux-arm-kernel@lists.infradead.org" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 07. 08. 19 10:26, Philippe Schenker wrote: > From: Oleksandr Suvorov > > - add recovery mode for applicable i2c buses for > Colibri iMX7 module. > > Signed-off-by: Oleksandr Suvorov > Signed-off-by: Philippe Schenker > --- Hi Philippe, since you are going to send v4 anyway I suggest you update the subject to be consistent across all the patches. "ARM: dts: imx7-colibri: add recovery for I2C for iMX7" fits better I think. Thank you, Michal > > Changes in v3: None > Changes in v2: None > > arch/arm/boot/dts/imx7-colibri.dtsi | 25 +++++++++++++++++++++++-- > 1 file changed, 23 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi > index a8d992f3e897..2480623c92ff 100644 > --- a/arch/arm/boot/dts/imx7-colibri.dtsi > +++ b/arch/arm/boot/dts/imx7-colibri.dtsi > @@ -140,8 +140,12 @@ > > &i2c1 { > clock-frequency = <100000>; > - pinctrl-names = "default"; > + pinctrl-names = "default", "gpio"; > pinctrl-0 = <&pinctrl_i2c1 &pinctrl_i2c1_int>; > + pinctrl-1 = <&pinctrl_i2c1_recovery &pinctrl_i2c1_int>; > + scl-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; > + sda-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; > + > status = "okay"; > > codec: sgtl5000@a { > @@ -242,8 +246,11 @@ > > &i2c4 { > clock-frequency = <100000>; > - pinctrl-names = "default"; > + pinctrl-names = "default", "gpio"; > pinctrl-0 = <&pinctrl_i2c4>; > + pinctrl-1 = <&pinctrl_i2c4_recovery>; > + scl-gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>; > + sda-gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; > }; > > &lcdif { > @@ -540,6 +547,13 @@ > >; > }; > > + pinctrl_i2c4_recovery: i2c4-recoverygrp { > + fsl,pins = < > + MX7D_PAD_ENET1_RGMII_TD2__GPIO7_IO8 0x4000007f > + MX7D_PAD_ENET1_RGMII_TD3__GPIO7_IO9 0x4000007f > + >; > + }; > + > pinctrl_lcdif_dat: lcdif-dat-grp { > fsl,pins = < > MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79 > @@ -740,6 +754,13 @@ > >; > }; > > + pinctrl_i2c1_recovery: i2c1-recoverygrp { > + fsl,pins = < > + MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x4000007f > + MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x4000007f > + >; > + }; > + > pinctrl_cd_usdhc1: usdhc1-cd-grp { > fsl,pins = < > MX7D_PAD_LPSR_GPIO1_IO00__GPIO1_IO0 0x59 /* CD */ > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel