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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 0EC54C433DB for ; Fri, 12 Mar 2021 14:09:36 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 A65D664FB8 for ; Fri, 12 Mar 2021 14:09:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A65D664FB8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; 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=g5bQx2pYjjZv7j3j4tNHJHlVn1DFngLxNEruf43cBpI=; b=QlV3enrVfIKETqijbL8UVbE1X Ny85zyU/kp10ZpGH01ZmtQIC1jV9uBOBI3QOPJeqyoDGMm58JzPQ69+A2Dje+DznwwcmMyhxYeqzK AzmMSJJw69W8g3GIRMse0TMP+6ovdMhM07llp/9OrTlto/hsV5iSU8Ks05mhXKgoLHl78XIhtVGv3 sPoHlVD192ui7R4K4xfJrMjL1ThRx68KOL+EG1QC3GbgNV39bTcEamD5PD8NKooFLh6m3HpyGPmt4 ZjWODNCSO6+oI439i8rSXxNCT/dyShu+4CSoOJG3Wm2AYSWOjyDCNiKCKlYX1XlGDvjk8pnhlTYqV mcHsdcWpg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKiSe-00Bavq-DK; Fri, 12 Mar 2021 14:08:16 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKiSZ-00BauO-40 for linux-arm-kernel@lists.infradead.org; Fri, 12 Mar 2021 14:08:12 +0000 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lKiSW-00AXDR-FB; Fri, 12 Mar 2021 15:08:08 +0100 Date: Fri, 12 Mar 2021 15:08:08 +0100 From: Andrew Lunn To: Fabio Estevam Cc: shawnguo@kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, qiangqing.zhang@nxp.com Subject: Re: [PATCH] ARM: imx6ul-14x14-evk: Do not reset the Ethernet PHYs independently Message-ID: References: <20210312113746.1405836-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210312113746.1405836-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_140811_275578_11E5314B X-CRM114-Status: GOOD ( 10.13 ) 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 Fri, Mar 12, 2021 at 08:37:46AM -0300, Fabio Estevam wrote: > The imx6ul-evk board designer took the bad decision to tie the > two Ethernet PHY reset lines together. This prevents one Ethernet > interface to work while the other one is brought down. For example: > > # ifconfig eth0 down > # [ 279.386551] fec 2188000.ethernet eth1: Link is Down > > Bringing eth0 interface down also causes eth1 to be down. > > The Ethernet reset lines comes from the IO expander and both come in > logic level 0 by default. > > To fix this issue, remove the Ethernet PHY reset descriptions from > its respective PHY nodes and force both Ethernet PHY lines to be at > logic level 1 via gpio-hog. > > Fixes: 2db7e78bf02b ("ARM: dts: imx6ul-14x14-evk: Describe the KSZ8081 reset") > Reported-by: Joakim Zhang > Signed-off-by: Fabio Estevam Reviewed-by: Andrew Lunn Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel