<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/linux.git/drivers/net/phy, branch visionfive_v1_5.13</title>
<subtitle>StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/linux.git/atom?h=visionfive_v1_5.13</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/linux.git/atom?h=visionfive_v1_5.13'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/'/>
<updated>2021-11-03T07:00:34+00:00</updated>
<entry>
<title>remove some temporary debug information</title>
<updated>2021-11-03T07:00:34+00:00</updated>
<author>
<name>WalkerChenL</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2021-11-03T07:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=09291cbc2ff440489cce253dbb0dceae6edfe13e'/>
<id>urn:sha1:09291cbc2ff440489cce253dbb0dceae6edfe13e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "This is just for testing git"</title>
<updated>2021-11-03T06:55:11+00:00</updated>
<author>
<name>WalkerChenL</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2021-11-03T06:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=b637fd07fd4444b08dd278e2da1f047a553e39d5'/>
<id>urn:sha1:b637fd07fd4444b08dd278e2da1f047a553e39d5</id>
<content type='text'>
This reverts commit 472748ba1b8f4e9c2ab7ef4bb6ce967a19c2945c.
</content>
</entry>
<entry>
<title>This is just for testing git</title>
<updated>2021-11-02T06:19:25+00:00</updated>
<author>
<name>WalkerChenL</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2021-11-02T06:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=472748ba1b8f4e9c2ab7ef4bb6ce967a19c2945c'/>
<id>urn:sha1:472748ba1b8f4e9c2ab7ef4bb6ce967a19c2945c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add eth phy driver(yt8521) to VisionFive board</title>
<updated>2021-11-02T05:41:18+00:00</updated>
<author>
<name>WalkerChenL</name>
<email>walker.chen@starfivetech.com</email>
</author>
<published>2021-11-02T05:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=19ddc3b9da4ce81d841b57185811f5bfcb6da801'/>
<id>urn:sha1:19ddc3b9da4ce81d841b57185811f5bfcb6da801</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: phy: micrel: Fix link detection on ksz87xx switch"</title>
<updated>2021-08-18T07:06:55+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben.hutchings@mind.be</email>
</author>
<published>2021-08-07T00:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=2a4a96afa7b58243c87e6afa609ab419d930d883'/>
<id>urn:sha1:2a4a96afa7b58243c87e6afa609ab419d930d883</id>
<content type='text'>
[ Upstream commit 2383cb9497d113360137a2be308b390faa80632d ]

Commit a5e63c7d38d5 "net: phy: micrel: Fix detection of ksz87xx
switch" broke link detection on the external ports of the KSZ8795.

The previously unused phy_driver structure for these devices specifies
config_aneg and read_status functions that appear to be designed for a
fixed link and do not work with the embedded PHYs in the KSZ8795.

Delete the use of these functions in favour of the generic PHY
implementations which were used previously.

Fixes: a5e63c7d38d5 ("net: phy: micrel: Fix detection of ksz87xx switch")
Signed-off-by: Ben Hutchings &lt;ben.hutchings@mind.be&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: micrel: Fix detection of ksz87xx switch</title>
<updated>2021-08-12T11:32:08+00:00</updated>
<author>
<name>Steve Bennett</name>
<email>steveb@workware.net.au</email>
</author>
<published>2021-07-30T22:57:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=a8c78e76c426ac77b3ee960d5b450e602ba8382c'/>
<id>urn:sha1:a8c78e76c426ac77b3ee960d5b450e602ba8382c</id>
<content type='text'>
[ Upstream commit a5e63c7d38d548b8dab6c6205e0b6af76899dbf5 ]

The logic for discerning between KSZ8051 and KSZ87XX PHYs is incorrect
such that the that KSZ87XX switch is not identified correctly.

ksz8051_ksz8795_match_phy_device() uses the parameter ksz_phy_id
to discriminate whether it was called from ksz8051_match_phy_device()
or from ksz8795_match_phy_device() but since PHY_ID_KSZ87XX is the
same value as PHY_ID_KSZ8051, this doesn't work.

Instead use a bool to discriminate the caller.

Without this patch, the KSZ8795 switch port identifies as:

ksz8795-switch spi3.1 ade1 (uninitialized): PHY [dsa-0.1:03] driver [Generic PHY]

With the patch, it identifies correctly:

ksz8795-switch spi3.1 ade1 (uninitialized): PHY [dsa-0.1:03] driver [Micrel KSZ87XX Switch]

Fixes: 8b95599c55ed24b36cf4 ("net: phy: micrel: Discern KSZ8051 and KSZ8795 PHYs")
Signed-off-by: Steve Bennett &lt;steveb@workware.net.au&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: broadcom: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY</title>
<updated>2021-08-04T10:47:53+00:00</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@kevlo.org</email>
</author>
<published>2021-07-23T13:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=58b30f9e1a488e50d39846a8c4e4945b15614932'/>
<id>urn:sha1:58b30f9e1a488e50d39846a8c4e4945b15614932</id>
<content type='text'>
[ Upstream commit ad4e1e48a6291f7fb53fbef38ca264966ffd65c9 ]

Restore PHY_ID_BCM54811 accidently removed by commit 5d4358ede8eb.

Fixes: 5d4358ede8eb ("net: phy: broadcom: Allow BCM54210E to configure APD")
Signed-off-by: Kevin Lo &lt;kevlo@kevlo.org&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340</title>
<updated>2021-07-28T12:37:23+00:00</updated>
<author>
<name>Marek Behún</name>
<email>kabel@kernel.org</email>
</author>
<published>2021-07-11T16:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=b093e56f137c739b9e99ddf6c1e05fff70097800'/>
<id>urn:sha1:b093e56f137c739b9e99ddf6c1e05fff70097800</id>
<content type='text'>
[ Upstream commit a5de4be0aaaa66a2fa98e8a33bdbed3bd0682804 ]

It seems that we cannot differentiate 88X3310 from 88X3340 by simply
looking at bit 3 of revision ID. This only works on revisions A0 and A1.
On revision B0, this bit is always 1.

Instead use the 3.d00d register for differentiation, since this register
contains information about number of ports on the device.

Fixes: 9885d016ffa9 ("net: phy: marvell10g: add separate structure for 88X3340")
Signed-off-by: Marek Behún &lt;kabel@kernel.org&gt;
Reported-by: Matteo Croce &lt;mcroce@linux.microsoft.com&gt;
Tested-by: Matteo Croce &lt;mcroce@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: nxp-c45-tja11xx: enable MDIO write access to the master/slave registers</title>
<updated>2021-07-19T08:04:39+00:00</updated>
<author>
<name>Vladimir Oltean</name>
<email>vladimir.oltean@nxp.com</email>
</author>
<published>2021-06-14T13:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=36409fe65122a51ea0a9f14e6a9b4206eba707b6'/>
<id>urn:sha1:36409fe65122a51ea0a9f14e6a9b4206eba707b6</id>
<content type='text'>
[ Upstream commit 0b5f0f29b118910c89fe249cdfbc11b400a86a18 ]

The SJA1110 switch integrates TJA1103 PHYs, but in SJA1110 switch rev B
silicon, there is a bug in that the registers for selecting the 100base-T1
autoneg master/slave roles are not writable.

To enable write access to the master/slave registers, these additional
PHY writes are necessary during initialization.

The issue has been corrected in later SJA1110 silicon versions and is
not present in the standalone PHY variants, but applying the workaround
unconditionally in the driver should not do any harm.

Suggested-by: Radu Pirea (NXP OSS) &lt;radu-nicolae.pirea@oss.nxp.com&gt;
Signed-off-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Reviewed-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: realtek: add delay to fix RXC generation issue</title>
<updated>2021-07-19T08:04:38+00:00</updated>
<author>
<name>Joakim Zhang</name>
<email>qiangqing.zhang@nxp.com</email>
</author>
<published>2021-06-08T03:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/linux.git/commit/?id=32438665ba6634ff7b19bad3305934096cc0acee'/>
<id>urn:sha1:32438665ba6634ff7b19bad3305934096cc0acee</id>
<content type='text'>
[ Upstream commit 6813cc8cfdaf401476e1a007cec8ae338cefa573 ]

PHY will delay about 11.5ms to generate RXC clock when switching from
power down to normal operation. Read/write registers would also cause RXC
become unstable and stop for a while during this process. Realtek engineer
suggests 15ms or more delay can workaround this issue.

Signed-off-by: Joakim Zhang &lt;qiangqing.zhang@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
</feed>
