Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1099402pxx; Fri, 30 Oct 2020 01:52:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4xo4nSnZYEWQxhU8aaKFgNFJeIPhr4HV5Ps7Sfr7BD1AhRJH1aHuMXgiyD5aau7JSNX9u X-Received: by 2002:a17:906:2e08:: with SMTP id n8mr1382824eji.476.1604047970060; Fri, 30 Oct 2020 01:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604047970; cv=none; d=google.com; s=arc-20160816; b=O80iMYoLEQ0cbSiV6ajcyX9IbIa4L9B6f+j9wpwMDrhH0ig6jAf+Rn7y5R4HwSk2Vt oFb5RYl6rbXl0q8DZZ4yXeIanU+8rFBAfoT7lp1XyPTSLj2UY3///Caku8NPB+XyFxWR IX/scYVrpHC0UB6pu3UupOEnUVREqPGh9kgz18jk151sEf2g3RNbJr8SfgqkSwwDbABF Kk4ld9vQUWEKMUjlXAZTbkJUSxoQsfWBU3vWxr3suI+jJs4oqvwfibgAJnH4eg/6PFjG ZcKFWY68weFgo01O3fA+z+hF3smMUlEHMBVYrx6gmp/uOZBz6x3YHvf6vPoznEoFK6YC E4lg== 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 :dkim-signature; bh=X86nCQRFqFANH9LMudwmvBT7vCCq4ABHLKESYu0Q8mA=; b=x5c6h0csoUM5yolw5ZCwQytVlzVhgBbUuFiUmNjUhzHo4C02uKkyNw+eXKY6r4c2i+ J4LkPrUJdbsyHFoS3BaJykHj3ybIK1nP4cfvA1qzVw+fxtVU/SQcXeb9jnqyac7jwg3A k+EzEiAYst7MHXjaoWbO/dPCwkaDt/qukunBPJt6b9dmYe4MQLObNfz47h6g/zBAwyB/ nH4sLFRJZFjxfjN3Gl/kUpz+//XCrEe7hJN88op+7EVo0Cr7Z4lKK8tlN8EbRylJ2C9x 1u9vjG/cOq1RftJPtu/Q6eXCEsgoxVVvV/mHqVxMrIZS4DsYHtCeCJLMpefCd3lm63ld NtCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JypjtsyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm22si3719769edb.382.2020.10.30.01.52.27; Fri, 30 Oct 2020 01:52:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JypjtsyC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726171AbgJ3Iui (ORCPT + 99 others); Fri, 30 Oct 2020 04:50:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:55294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726186AbgJ3Iuh (ORCPT ); Fri, 30 Oct 2020 04:50:37 -0400 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 Cc: Mark Rutland , Rob Herring , Sascha Hauer , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012071816.22434-1-o.rempel@pengutronix.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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