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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1A63AC433F5 for ; Mon, 22 Nov 2021 00:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ww3Ej6OB7cVIX4RoLeiSuk2m35mocv78ed2g3iFiTrw=; b=Xqc4WooEoiE5DF uRbwYlWjIXIkutdF04Hho85SlP/3EUwyz8uy/dzxneLv+1iYml7vt0wic3VVI6ybfc54ysZWWNXWc so8psb6V0ionTdNNU1YP0QqwsXXvlzyxh5B8S6PTrOcCz4nWrI046En806YfwMhqEj/iqhnbEou7e 5T+DpW6BTbD00FUEPRAMYrkurUzGwmkvRU/oPt0S9ilJtJnrDjR6/D1PIXCbeCWEJSszOXbHMGcpx y19m0fm8VRs/RGJCN5vmb4j2GxGTP570wolC92nnpDWpxLWL2XlGB0OOEe9Iqetd8WuYwIqOOsJC+ PyNS9iwsAWMA4BKEiHnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1moxTs-00EabQ-4L; Mon, 22 Nov 2021 00:46:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1moxTo-00EaaT-4y for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 00:46:45 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C6395604DA; Mon, 22 Nov 2021 00:46:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637542003; bh=DuHtiZB67B//Xt5quVyGUPNGVT/dcgLJ1kuqJjKwwFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XJkLac4u0yeseK++S3IA26Yd4brapnpvMsbPxWttys61oEjFCTtrYFFab4n7MWPJT srKgIhmCt3/Q3RkBshUMCIVcxjqcbjRjpE4qAt1p9rXe2tNDpzO6jVtknlKatMf3yy +ygFAfC94UsDdE/ubCaqXPJ9FGExnKa110JYJwE6rZNTXW5fUa6cnbLr8Uo5Ro6zCL vzf+h/o2Ko2MkQ8IK+8MtAs3ciLzEok1961qFtH/dS3Za79uoRAOGS1EMufGE+EmMF o8DPk24HWFLwBDJmmqKPo3TZ3SURGbGXGZVbMA+JdqLV2BynO+pQUmie5Sst9evyts ViZ43J+h4I/1A== Date: Mon, 22 Nov 2021 08:46:38 +0800 From: Shawn Guo To: Matthias Schiffer Cc: Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Markus Niebel Subject: Re: [PATCH v2 2/3] ARM: dts: imx6qdl: tqma6: add ERR006687 hardware workaround for "a" variant Message-ID: <20211122004637.GQ31998@dragon> References: <20211103115618.13927-1-matthias.schiffer@ew.tq-group.com> <20211103115618.13927-2-matthias.schiffer@ew.tq-group.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211103115618.13927-2-matthias.schiffer@ew.tq-group.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211121_164644_245276_9EF84EC0 X-CRM114-Status: GOOD ( 19.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 03, 2021 at 12:56:17PM +0100, Matthias Schiffer wrote: > The TQMa6x "a" has a workaround for ERR006687 implemented in hardware. > Add the required pinmuxing and related setup to make use of this. > > As board DTS files based on the TQMa6x SoMs will define their own > pinmuxing for the FEC ethernet controller as well, we can't apply this > pin group unconditionally; instead, it is the responsibility of the > board DTs derived from imx6qdl-tqma6a.dtsi to include this group. > > Signed-off-by: Matthias Schiffer "ARM: dts: imx6qdl-tqma6: ..." for subject prefix. Shawn > --- > > v2: no changes > > arch/arm/boot/dts/imx6qdl-tqma6a.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi > index b679bec78e6c..bfb67da64b96 100644 > --- a/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-tqma6a.dtsi > @@ -4,6 +4,12 @@ > * Copyright 2013-2017 Markus Niebel > */ > > +&fec { > + interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>, > + <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; > + fsl,err006687-workaround-present; > +}; > + > &i2c1 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_i2c1>; > @@ -26,3 +32,17 @@ > pagesize = <32>; > }; > }; > + > +&iomuxc { > + /* > + * This pinmuxing is required for the ERR006687 workaround. Board > + * DTS files that enable the FEC controller with > + * fsl,err006687-workaround-present must include this group. > + */ > + pinctrl_enet_fix: enetfixgrp { > + fsl,pins = < > + /* ENET ping patch */ > + MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 > + >; > + }; > +}; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel