Received: by 10.213.65.68 with SMTP id h4csp1743838imn; Sun, 8 Apr 2018 10:24:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx49L48G+OHTaG8be0ovQ9qx/uMZIx3cTS/JqShPgdyses37YhbE0SNWar2o+QcnAVEFA47h0 X-Received: by 2002:a17:902:2b84:: with SMTP id l4-v6mr36214361plb.65.1523208285590; Sun, 08 Apr 2018 10:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523208285; cv=none; d=google.com; s=arc-20160816; b=ArkbjUFiEL0qMLErYBgMtiV6iYIiSf+frXGo2YCzXcDu8mA0OYvfJOY7+ZFSBy2VXW ovGxH06LDOEO2m0eQDEbBEVKdXVgrIGb/pamLBBu0ev5wx0EaX/Po9XfvhQLWSV89qZ3 2wiv2x1lTzCgEsDFMbv0QtWcZY0Ffcw1USQxFvDvn65c1lnFVcFh4RaswPDmDHtb9Mpd BqWkyUl24la/oh/n+UQtIDDPeK1xhFkwB5h8e4XBiG8kXMScsO50ih6JwQthuQOo8P5H soaPoeQ8Eb7SphSX367IUpWhVYU48210bzC9HlHIMtPm25tOPk2ZhkWN2VMEijc/wDYc /0nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=HwToHVttQIshv5X/LlsdeCKIDlT/FFa16EPuFIXZswg=; b=D5c9T219vXYqeJdJQqoYbzlfDmgvTO+5dwZH7uPEfB+nftq7AkfL7QoCWIpODf6C/X +kgFXxptCga7XLDjnNJwKxEspazuw1V6FNGZIpnVhoa8Jo61Ki7Lt5h2/x/+NbTgpKe7 93ppIehR66hBSgyfsl+gXuUPuKB5cI8YHYkYON2/qT7lxr/OhsYjrvDePTSpbfb4JOJX oJIMnc66q4pw7XXPTgqVK02gXQZV5/OTogiZ+CVXx72kauc6HI0ZLE3I+WDnG28A+QVc 2kuXMHNRBrDT3Cv25va3IerZRP0DzDfDdek326IUSSPTjcs6oYBt3IgW/DELZv1oSPSY YvQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c66si11191099pfc.362.2018.04.08.10.24.09; Sun, 08 Apr 2018 10:24:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752810AbeDHQpP (ORCPT + 99 others); Sun, 8 Apr 2018 12:45:15 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:51818 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574AbeDHQpM (ORCPT ); Sun, 8 Apr 2018 12:45:12 -0400 Received: from localhost (pool-173-77-163-229.nycmny.fios.verizon.net [173.77.163.229]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 896F413EDB00A; Sun, 8 Apr 2018 09:45:10 -0700 (PDT) Date: Sun, 08 Apr 2018 12:45:09 -0400 (EDT) Message-Id: <20180408.124509.41759803832731428.davem@davemloft.net> To: esben.haabendal@gmail.com Cc: netdev@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, claudiu.manoil@freescale.com, garsilva@embeddedor.com, eha@deif.com Subject: Re: [PATCH] ARM: dts: ls1021a: Specify TBIPA register address From: David Miller In-Reply-To: <20180406124635.12319-1-esben.haabendal@gmail.com> References: <20180406123836.12019-2-esben.haabendal@gmail.com> <20180406124635.12319-1-esben.haabendal@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 08 Apr 2018 09:45:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Esben Haabendal Date: Fri, 6 Apr 2018 14:46:35 +0200 > From: Esben Haabendal > > The current (mildly evil) fsl_pq_mdio code uses an undocumented shadow of > the TBIPA register on LS1021A, which happens to be read-only. > Changing TBI PHY address therefore does not work on LS1021A. > > The real (and documented) address of the TBIPA registere lies in the eTSEC > block and not in MDIO/MII, which is read/write, so using that fixes > the problem. > > Signed-off-by: Esben Haabendal Applied.