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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 1E2F7C4741F for ; Fri, 30 Oct 2020 08:51:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 993A120704 for ; Fri, 30 Oct 2020 08:51:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SojT+mAf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="JypjtsyC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 993A120704 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=BLehKUpVCIrF1IdvB6ThW/3Tgnlmqa/Jg829QiV7SVE=; b=SojT+mAfJntYiu4+++q7DXswf Y6GtngokUtLiXfcoUE0D50hfVr6ddhG7nwwF4A+Ekbm5bBUOAZhPkKepDqD8d4Uyiy/W5LkgKEbBs Rw8iSOQ5luvsogdrMleOPTNxjjfYy+IBGpMe+qItpUZpFUdIfu7d4iURlEyO7L3qGeh8uU9lQ1MNZ g16vU3gu1BiaRUjviqxl4XqFt6Ds2b+LAzbOEPjnoNPIpdfwNDzhye8sKZNvHmTQ61D8lN540yrQu 61p8q07OU35ZWfFqTstxDpCws0IYQ9Yt3cQyVnoYcG5IpmRZyud2hrJtBY8GtkqyHHJZaufvTch2I /t3/HqwTw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYQ7M-0000I5-2z; Fri, 30 Oct 2020 08:50:40 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYQ7J-0000H7-90 for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 08:50:38 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B15120704; Fri, 30 Oct 2020 08:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604047836; bh=Q3xH7hudUvNja+v+7AwRUOAon6v7ksEpEbBYTZuoyeo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JypjtsyCxIU6VauqD4UpHdH8DMgOlkXpcUQEaX/5bjS8Bn/XqC/4992xr2jJ06Dvw EMj8BJrmJDpcqIxuA3F6209SHe6K7ILVp0ZYyt6sfYlKnae41NJudE1Af7CEL+GK34 IEizxvskY1zlBNX6JK5WBL1Nd0/pbdKm9yHqiukI= Date: Fri, 30 Oct 2020 16:50:30 +0800 From: Shawn Guo To: Oleksij Rempel Subject: Re: [PATCH v1] ARM: dts: protonic prti6q: fix PHY address Message-ID: <20201030085029.GO28755@dragon> References: <20201012071816.22434-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201012071816.22434-1-o.rempel@pengutronix.de> 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-20201030_045037_433806_DCA5045E X-CRM114-Status: GOOD ( 18.39 ) 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: Mark Rutland , devicetree@vger.kernel.org, Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , David Jander , Fabio Estevam , linux-arm-kernel@lists.infradead.org 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 Mon, Oct 12, 2020 at 09:18:16AM +0200, Oleksij Rempel wrote: > Due to bug in the bootloader, the PHY has floating address and may > randomly change on each PHY reset. To avoid it, the updated bootloader > with the following patch[0] should be used: > > | ARM: protonic: disable on-die termination to fix PHY bootstrapping > | > | If on-die termination is enabled, the RXC pin of iMX6 will be pulled > | high. Since we already have an 10K pull-down on board, the RXC level on > | PHY reset will be ~800mV, which is mostly interpreted as 1. On some > | reboots we get 0 instead and kernel can't detect the PHY properly. > | > | Since the default 0x020e07ac value is 0, it is sufficient to remove this > | entry from the affected imxcfg files. > | > | Since we get stable 0 on pin PHYADDR[2], the PHY address is changed from > | 4 to 0. > > With latest bootloader update, the PHY address will be fixed to "0". > > [0] https://git.pengutronix.de/cgit/barebox/commit/?id=93f7dcf631edfcda19e7757b28d66017ea274b81 > > Fixes: 0d446a50559 ("ARM: dts: add Protonic PRTI6Q board") > Signed-off-by: Oleksij Rempel Changed subject prefix to 'ARM: dts: imx6q-prti6q: ' and applied the patch. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel