<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/net/sun8i_emac.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-05-08T19:14:13Z</updated>
<entry>
<title>net: sun8i_emac: Add EPHY CLK and RESET support</title>
<updated>2019-05-08T19:14:13Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:57:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2348453c41ad52c798d542752dd5d0c1ef621874'/>
<id>urn:sha1:2348453c41ad52c798d542752dd5d0c1ef621874</id>
<content type='text'>
Add EPHY CLK and RESET support for sun8i_emac driver to
enable EPHY TX clock and EPHY reset pins via CLK and RESET
framework.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Lothar Felten &lt;lothar.felten@gmail.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i_emac: Add CLK and RESET support</title>
<updated>2019-04-16T10:59:01Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d3a2c0586e01741e3763d67713f0e55746c46971'/>
<id>urn:sha1:d3a2c0586e01741e3763d67713f0e55746c46971</id>
<content type='text'>
Add CLK and RESET support for sun8i_emac driver to
enable TX clock and reset pins via CLK and RESET
framework.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Lothar Felten &lt;lothar.felten@gmail.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle</title>
<updated>2019-04-16T10:59:01Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:56:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=695f6043c9d84df6feeaca46661123c9f570397d'/>
<id>urn:sha1:695f6043c9d84df6feeaca46661123c9f570397d</id>
<content type='text'>
Unlike other Allwinner SoC's R40 GMAC clock control register
is locate in CCU, but rest located via syscon itself. Since
the phandle property for current code look for 'syscon' and
it will grab the respective ccu or syscon base address based
on DT property defined in respective SoC dtsi.

So, use the existing 'syscon' code even for R40 for retrieving
GMAC clock via CCU and update the register directly in
sun8i_emac_set_syscon instead of writing it separately using
ccm base.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Lothar Felten &lt;lothar.felten@gmail.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>sun8i_emac: add support for setting EMAC TX/RX delay</title>
<updated>2018-11-23T05:31:09Z</updated>
<author>
<name>Icenowy Zheng</name>
</author>
<published>2018-11-22T23:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9b16ede4a4e898564f54e1c09ae658a5975b432b'/>
<id>urn:sha1:9b16ede4a4e898564f54e1c09ae658a5975b432b</id>
<content type='text'>
Some boards have the EMAC TX/RX lanes wired with a different length with
the clock lane, which can be workarounded by setting a TX/RX delay in
the EMAC.

This kind of delays are already defined in the newest device tree
binding of dwmac-sun8i, which has already entered linux-next.

Add support for setting these delays.

Signed-off-by: Icenowy Zheng &lt;icenowy@aosc.io&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: support R40 GMAC</title>
<updated>2018-07-16T06:57:27Z</updated>
<author>
<name>Lothar Felten</name>
</author>
<published>2018-07-13T08:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e46d73fa965b5d9febf251e6dcd3638cca711ae8'/>
<id>urn:sha1:e46d73fa965b5d9febf251e6dcd3638cca711ae8</id>
<content type='text'>
Add support for the GMAC found in the Allwinner R40/V40 SoC.

The R40 GMAC interface is not controlled by the syscon register but
has a separate configuration register in the CCU.
The clock gate and reset bits are in a different register compared
to the other SoCs supported by this driver.
The driver uses the -gmac suffix for the R40 because the R40 also
has a different 100 MBit MAC (EMAC).

Signed-off-by: Lothar Felten &lt;lothar.felten@gmail.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: set mux and clock by driver data</title>
<updated>2018-07-16T06:57:27Z</updated>
<author>
<name>Lothar Felten</name>
</author>
<published>2018-07-13T08:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=c6a21d6615ea83e150eb7633d96e9f0a2c3f8439'/>
<id>urn:sha1:c6a21d6615ea83e150eb7633d96e9f0a2c3f8439</id>
<content type='text'>
Use driver data-&gt;variant information to select device specific
pin mux and phy clock settings.

Suggested by Jagan Teki

Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@openedev.com&gt;
Signed-off-by: Lothar Felten &lt;lothar.felten@gmail.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: fix printing NULL character</title>
<updated>2018-07-16T06:57:27Z</updated>
<author>
<name>Lothar Felten</name>
</author>
<published>2018-07-13T08:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2f157436335a5507bfeda8097e3f687a31e941ce'/>
<id>urn:sha1:2f157436335a5507bfeda8097e3f687a31e941ce</id>
<content type='text'>
If the variant is not set and therefore NULL, do not attempt to print
the variant.

Signed-off-by: Lothar Felten &lt;lothar.felten@gmail.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: remove support for old binding</title>
<updated>2018-04-04T06:01:35Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2018-04-04T00:31:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ecd0cec04ca672b9ca8d003ef2a07429f7d4c101'/>
<id>urn:sha1:ecd0cec04ca672b9ca8d003ef2a07429f7d4c101</id>
<content type='text'>
The original DT binding used by U-Boot's sun8i-emac driver was not really
agreed upon, and deviated from the "official" binding now used by the
kernel. Since now all U-Boot users have been converted to the new
binding, we can remove support for the old DT nodes from the driver.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>net: sun8i-emac: add support for new EMAC DT binding</title>
<updated>2018-04-04T06:01:35Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2018-04-04T00:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=12afd95711b78fe59a1ba6a8e39ed7830d25be80'/>
<id>urn:sha1:12afd95711b78fe59a1ba6a8e39ed7830d25be80</id>
<content type='text'>
The Ethernet MAC used in newer Allwinner SoCs (H3, A64, H5) got an
upstream Linux driver in v4.15.
This one uses a slightly different binding from the original one used
by the U-Boot driver.
The differences to the old binding are:
- The "syscon" address is held in a separate node, referenced via a
  phandle in the "syscon" property.
- The reference to the PHY is held in a property called "phy-handle",
  not "phy".
- The PHY register is at offset 0x30 in the syscon device, not at 0.
- The internal PHY is activated when the node, which phy-handle points
  to, is a child node of an "allwinner,sun8i-h3-mdio-internal" node.

Teach the U-Boot driver how to find its resources in a "new-style" DT,
so that we can use a Linux kernel compatible DT for U-Boot as well.
This keeps support for the old binding for now, to allow a smooth
transition.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
</feed>
