Message ID | 20190512211237.24571-1-jbrunet@baylibre.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp592041ili; Sun, 12 May 2019 14:13:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKXEXpOyFEhLfNSL4itrld/QECu3yhnVLFg5iSsBPkoPvBb8t4BMkAQ5XScGJzpPdiq141 X-Received: by 2002:a63:7d09:: with SMTP id y9mr7293566pgc.350.1557695593679; Sun, 12 May 2019 14:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557695593; cv=none; d=google.com; s=arc-20160816; b=bEdDB1+QK5pQwmphSO1RA33HLZhiX7860884LRYTvae9JNClkLf5vgzrQh9SGYbB0A QO4f/jnYQeMZhkJT84jDgOpkIS6O7803tkFe5R08yhvVG9+4tLpgTGJzQLQeh6xvDgAR kQLgsWlzOXbS9JgH8fkrsE8nuE38u/vD2NuQ80PmTEq6PwM6/ds53XlFNovxb+wr412d UbizikXcJO2G9vzzE5gMvvGLfpbTqdjr8KNQTbWkUAH84PzWc5P/g6N/1YI+S+WiNwTs yLSl2AEsG7Jb78XaegomGytdWZxaLZwJHZ8a07vNmpI7HhSYijnvtW1nUgBXlF5JehFD e/+w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=/MF03Yk8qHs4qIsb2AOZr0tzgKoY7lMlH2WlfSDwuOY=; b=oUYYRAOq5BIUnfW1q2g6voS6LcdPpdaER9WXQPsjeDcwxMowLwLW3lhiZHN0pOqiyc rkXkfDWv3slmVxoDTTEDVb6544qRcDQf3cMie/EBs3iyTdil6Q1zIEBdgMCVWgWCmkwp TxMx85+2RG5Zw+A9q0QQlHWF84hihj+EQMuOdWfYADumEae6exX8eQgIg2PZN0/TZ90B tq3oHaLeATFdhLXzLnZf7gnwyGun1evxb6qDxKnQLbtG5RWh93UTcFcWbXu5+E3kqPui H1Dr86uDiPu5Xo8n1BEwGYqBZWqz8KlIZwP1GEEJdtWYUHGhzRTr32QJiVjUbtlm3OCT YQ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xrX4j64+; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Return-Path: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si2786971pgn.430.2019.05.12.14.13.13; Sun, 12 May 2019 14:13:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xrX4j64+; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727095AbfELVNF (ORCPT <rfc822;dan.rue@linaro.org> + 9 others); Sun, 12 May 2019 17:13:05 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37947 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726997AbfELVNF (ORCPT <rfc822;netdev@vger.kernel.org>); Sun, 12 May 2019 17:13:05 -0400 Received: by mail-wr1-f66.google.com with SMTP id v11so13032586wru.5 for <netdev@vger.kernel.org>; Sun, 12 May 2019 14:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/MF03Yk8qHs4qIsb2AOZr0tzgKoY7lMlH2WlfSDwuOY=; b=xrX4j64+HMUtsk4h0npiVMTngyq5aDotfuTPiLl3pkn4irKm66Tib/0yHHrTgZgITz 6kHKZN2IPzjRNZEipner79yUCaRKmqnmIPIt4mMaO1WCjOjlb4LRLjFIeupDmm910TsW 5luX379Yau3bRAZ18bQZ3Y3XhG6LZrq1MP8UH2TRBz1hBPGluEd5v343HsHc3xJi+7HY OYdEtFF7pebGsEzZDsTl89mkx2Lbs4fwiBqez4uIHtQsxK6bvUzaww5LK9e+JGUH6Y0H O+2tXanD20mVNk1BlS6yiiuC21tD/K6Tc3jbGHK2RO/A7P/490SRYG3OGJjGbVG1mq+O Ll4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/MF03Yk8qHs4qIsb2AOZr0tzgKoY7lMlH2WlfSDwuOY=; b=Z+tmLGLklYGTH2XVPd+5IA7PXy54bIO/BFkN4EOEJXvcNSlGeCM2qd4PQz5zgHAMhe sdQAAF1hc2bcWy1/hpZQczHU0e+yowaddEGtzg2j8hUALNji/6yej3rKexXH2QenZwO1 5ohbwuavMjtzyoc2IP/fcNhJluW8n7Jn4ucRWXDqUow9AGnGbwYajNcIXgGi0asWvhMj 0pcvCwHVPoARpoR6jHUgBHShJ7o3AmBXXKYaOrNp3vcsye3/T2ieLDFdGKJEPmjZbrBn cnJxlKbektOaIJDckxkMbxJpaGairNVbfgeIIXakqU41T3cWrCoYKLU0pXcQjkvZ8Nku bepA== X-Gm-Message-State: APjAAAVe6FSjRwLxOtSswb6QMsB1IculgUvvNzwEIZ7+yJGCnyLSp/w/ Tf4wvJagYyDVpEG1yw385PH2Iw== X-Received: by 2002:adf:b6a5:: with SMTP id j37mr12136969wre.4.1557695583710; Sun, 12 May 2019 14:13:03 -0700 (PDT) Received: from boomer.baylibre.com (uluru.liltaz.com. [163.172.81.188]) by smtp.googlemail.com with ESMTPSA id j46sm30499951wre.54.2019.05.12.14.13.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 May 2019 14:13:02 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Heiner Kallweit <hkallweit1@gmail.com>, "David S. Miller" <davem@davemloft.net>, Kevin Hilman <khilman@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com>, netdev@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Qi Duan <qi.duan@amlogic.com> Subject: [PATCH net] net: meson: fixup g12a glue ephy id Date: Sun, 12 May 2019 23:12:37 +0200 Message-Id: <20190512211237.24571-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
[net] net: meson: fixup g12a glue ephy id
|
expand
|
diff --git a/drivers/net/phy/mdio-mux-meson-g12a.c b/drivers/net/phy/mdio-mux-meson-g12a.c index 6fa29ea8e2a3..6644762ff2ab 100644 --- a/drivers/net/phy/mdio-mux-meson-g12a.c +++ b/drivers/net/phy/mdio-mux-meson-g12a.c @@ -33,7 +33,7 @@ #define ETH_PLL_CTL7 0x60 #define ETH_PHY_CNTL0 0x80 -#define EPHY_G12A_ID 0x33000180 +#define EPHY_G12A_ID 0x33010180 #define ETH_PHY_CNTL1 0x84 #define PHY_CNTL1_ST_MODE GENMASK(2, 0) #define PHY_CNTL1_ST_PHYADD GENMASK(7, 3)
The phy id chosen by Amlogic is incorrectly set in the mdio mux and does not match the phy driver. It was not detected before because DT forces the use the correct driver for the internal PHY. Fixes: 7090425104db ("net: phy: add amlogic g12a mdio mux support") Reported-by: Qi Duan <qi.duan@amlogic.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- drivers/net/phy/mdio-mux-meson-g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1