<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net, branch v2021.01-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/net?h=v2021.01-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net?h=v2021.01-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-11-09T19:18:09Z</updated>
<entry>
<title>net: ks8851: Implement EEPROM MAC address readout</title>
<updated>2020-11-09T19:18:09Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2020-10-08T13:14:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68cbc63da0e9ba5c26c4f98f076f7a6e2fb3ccef'/>
<id>urn:sha1:68cbc63da0e9ba5c26c4f98f076f7a6e2fb3ccef</id>
<content type='text'>
In case there is an EEPROM attached to the KS8851 MAC and the EEPROM
contains a valid MAC address, the MAC address is loaded into the NIC
registers on power on. Read the MAC address out of the NIC registers
and provide it to U-Boot.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Eugen Hristev &lt;eugen.hristev@microchip.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq</title>
<updated>2020-10-29T13:10:24Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2020-10-29T13:10:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eca57cafa521345b2fc71616ae47245598dad53d'/>
<id>urn:sha1:eca57cafa521345b2fc71616ae47245598dad53d</id>
<content type='text'>
- Bug fixes and updates on vid, ls1088a lx2160a and other layerscape
  platforms.
- Add optee_rpmb support for LX2 &amp; Kontron sl28 support
</content>
</entry>
<entry>
<title>net: lx2160a.c: Update to set ECx_PMUX precedence</title>
<updated>2020-10-23T11:22:09Z</updated>
<author>
<name>Razvan Ionut Cirjan</name>
<email>razvanionut.cirjan@nxp.com</email>
</author>
<published>2020-10-23T10:50:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c760095adbf222aefba00404b38a25bf5dee0909'/>
<id>urn:sha1:c760095adbf222aefba00404b38a25bf5dee0909</id>
<content type='text'>
As per hardware documentation, ECx_PMUX has precedence
over SerDes protocol.
For LX2160/LX2162 if DPMACs 17 and 18 are enabled as SGMII
through SerDes protocol but ECx_PMUX configured them as RGMII,
then the ports will be configured as RGMII and not SGMII.

Signed-off-by: Razvan Ionut Cirjan &lt;razvanionut.cirjan@nxp.com&gt;
[Rebased]
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi</title>
<updated>2020-10-23T00:32:02Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2020-10-23T00:32:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=18261b8552232e342709e69eadec33090a7f04e4'/>
<id>urn:sha1:18261b8552232e342709e69eadec33090a7f04e4</id>
<content type='text'>
- sun8i emac changes (Andre)
- SCP firmware (Samuel)
</content>
</entry>
<entry>
<title>net: Add IPQ40xx MDIO driver</title>
<updated>2020-10-22T13:54:54Z</updated>
<author>
<name>Robert Marko</name>
<email>robert.marko@sartura.hr</email>
</author>
<published>2020-10-08T20:05:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=975151d056acef155643bdb57b29a1a28ba5590f'/>
<id>urn:sha1:975151d056acef155643bdb57b29a1a28ba5590f</id>
<content type='text'>
This adds the driver for the IPQ40xx built-in MDIO.
This will be needed to support future PHY driver.

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
Cc: Luka Perkov &lt;luka.perkov@sartura.hr&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: Lower MDIO frequency</title>
<updated>2020-10-21T18:15:39Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2020-07-06T00:40:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4f0278dac56a658ef1e0967fec0bb95372a875bd'/>
<id>urn:sha1:4f0278dac56a658ef1e0967fec0bb95372a875bd</id>
<content type='text'>
When sending a command via the MDIO bus, the Designware MAC expects some
bits in the CMD register to describe the clock divider value between
the main clock and the MDIO clock.
So far we were omitting these bits, resulting in setting "00", which
means "/ 16", so ending up with an MDIO frequency of either 18.75 or
12.5 MHz.
All the internal PHYs in the H3/H5/H6 SoCs as well as the Gbit Realtek
PHYs seem to be fine with that - although it looks like to be severly
overclocked (the MDIO spec limits the frequency to 2.5 MHz).
However the external 100Mbit PHY on the Pine64 (non-plus) board is
not happy with that, Ethernet was actually never working there, as the
PHY didn't probe.

As we set the EMAC clock (via AHB2) to 300 MHz in ATF (on the 64-bit
SoCs), and use 200 MHz on the H3, we need the highest divider of 128
to let the MDIO clock end up below the required 2.5 MHz.

This enables Ethernet on the Pine64(non-plus).

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Tested-by: Amit Singh Tomar &lt;amittomer25@gmail.com&gt; # Pine64+
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: Make internal PHY handling more robust</title>
<updated>2020-10-21T18:15:23Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2020-10-21T17:57:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=88ae8fba84d85454008e3c89fcb790f8d077d7b5'/>
<id>urn:sha1:88ae8fba84d85454008e3c89fcb790f8d077d7b5</id>
<content type='text'>
The current implementation of sun8i_get_ephy_nodes() makes quite some
assumptions, in general relying on DT path names is a bad idea.
I think the idea of the code was to determine if we are using the
internal PHY, for which there are simpler and more robust methods:

Rewrite (and rename) the existing function to simply lookup the DT node
that "phy-handle" points to, using the device's DT node.
Then check whether the parent of that PHY node is using an "H3 internal
MDIO" compatible string. If we ever get another internal MDIO bus
implementation, we will probably need code adjustments anyway, so this
is good enough for now.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
[jagan: rebase on master]
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Tested-by: Amit Singh Tomar &lt;amittomer25@gmail.com&gt; # Pine64+
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i_emac: Simplify and fix error handling for RX</title>
<updated>2020-10-21T18:15:06Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2020-07-06T00:40:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7edcb4e288efb9eb4412373638dab87cd78d92ba'/>
<id>urn:sha1:7edcb4e288efb9eb4412373638dab87cd78d92ba</id>
<content type='text'>
The error handling in recv() is somewhat broken, for instance
good_packet isn't really used, and it's hardly readable. Also we try
to check for short or too big packets, but those are actually filtered
out by the hardware.

Simplify the whole routine and improve the error handling:
- Bail out early if the current RX descriptor is not ready.
- Enable propagation of runt, huge and broken packets.
- Check for runt and huge packets, and return 0 to indicate this.
  This will force the framework to call free_pkt for cleanup.
- Avoid aligning the packet buffer for invalidation again.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Tested-by: Amit Singh Tomar &lt;amittomer25@gmail.com&gt; # Pine64+
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i_emac: Fix MAC soft reset</title>
<updated>2020-10-21T18:14:52Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2020-07-06T00:40:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2c5600c38ce642e1763afe4f3b5fb6dd8f442aa5'/>
<id>urn:sha1:2c5600c38ce642e1763afe4f3b5fb6dd8f442aa5</id>
<content type='text'>
The EMAC soft reset routine was subtly broken, using an open coded
timeout routine without any actual delay.
Remove the unneeded initial reset bit read, and call wait_for_bit_le32()
to handle the timeout correctly.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Tested-by: Amit Singh Tomar &lt;amittomer25@gmail.com&gt; # Pine64+
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i_emac: Fix overlong lines</title>
<updated>2020-10-21T18:14:40Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2020-07-06T00:40:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09501ff32eee22469daf9279a46bb3b9a1fe7625'/>
<id>urn:sha1:09501ff32eee22469daf9279a46bb3b9a1fe7625</id>
<content type='text'>
When iterating over all RX/TX buffers, we were using a rather long "idx"
control variable, which lead to a nasty overlong line.

Replace "idx" with "i" to avoid this.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;mripard@kernel.org&gt;
Tested-by: Amit Singh Tomar &lt;amittomer25@gmail.com&gt; # Pine64+
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
</feed>
