<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/phy.h, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-05-07T19:51:55Z</updated>
<entry>
<title>net: phy: Add generic helpers to access MMD PHY registers</title>
<updated>2019-05-07T19:51:55Z</updated>
<author>
<name>Carlo Caione</name>
</author>
<published>2019-02-08T17:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4f6746dc7f7f1691dfdc73a69831e61c9507708f'/>
<id>urn:sha1:4f6746dc7f7f1691dfdc73a69831e61c9507708f</id>
<content type='text'>
Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added
to allow access to the MMD PHY registers.

The MMD PHY registers can be accessed by several means:

1. Using two new MMD access function hooks in the PHY driver. These
functions can be implemented when the PHY driver does not support the
standard IEEE Compatible clause 45 access mechanism described in clause
22 or if the PHY uses its own non-standard access mechanism.

2. Direct access for C45 PHYs and C22 PHYs when accessing the reachable
DEVADs.

3. The standard clause 45 access extensions to the MMD registers through
the indirection registers (clause 22) in all the other cases.

Signed-off-by: Carlo Caione &lt;ccaione@baylibre.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: phy: Add clause 45 identifier to phy_device</title>
<updated>2019-01-24T17:35:26Z</updated>
<author>
<name>Pankaj Bansal</name>
</author>
<published>2018-11-16T06:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=b3eabd82f21b4d9206622fc5aee16751d2f4be8f'/>
<id>urn:sha1:b3eabd82f21b4d9206622fc5aee16751d2f4be8f</id>
<content type='text'>
The phy devices can be accessed via clause 22 or via clause 45.
This information can be deduced when we read phy id. if the phy id
is read without giving any MDIO Manageable Device Address (MMD), then
it conforms to clause 22. otherwise it conforms to clause 45.

Signed-off-by: Pankaj Bansal &lt;pankaj.bansal@nxp.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net/phy: Add phy-id for IN112525_S03</title>
<updated>2018-10-24T19:45:38Z</updated>
<author>
<name>Priyanka Jain</name>
</author>
<published>2018-10-11T04:47:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=1ddcf5edbbe48347ecdfdeb904b62ba5f8345757'/>
<id>urn:sha1:1ddcf5edbbe48347ecdfdeb904b62ba5f8345757</id>
<content type='text'>
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: phy: add ofnode node to struct phy_device</title>
<updated>2018-07-26T19:08:22Z</updated>
<author>
<name>Grygorii Strashko</name>
</author>
<published>2018-07-05T17:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=eef0b8a930d1a8799b8ebd26e67e27401df6a9f7'/>
<id>urn:sha1:eef0b8a930d1a8799b8ebd26e67e27401df6a9f7</id>
<content type='text'>
Now the UCLASS_ETH device "node" field is owerwritten by some network drivers in
case of Ethernet PHYs which are linked to UCLASS_ETH device using
"phy-handle" DT property and when Ethernet PHY driver needs to read some
additional information from DT. In such cases following happens (in
general):

- network drivers
	priv-&gt;phydev = phy_connect(priv-&gt;bus, priv-&gt;phyaddr, dev,
				   priv-&gt;interface);
	&lt;-- phydev is connected to dev which is UCLASS_ETH device

	if (priv-&gt;phy_of_handle &gt; 0)
		dev_set_of_offset(priv-&gt;phydev-&gt;dev, priv-&gt;phy_of_handle);
	&lt;-- phydev-&gt;dev-&gt;node is overwritten by phy-handle DT node

- PHY driver in .config() callback
	int node = dev_of_offset(dev);
	&lt;-- PHY driver uses overwritten dev-&gt;node
        const void *fdt = gd-&gt;fdt_blob;

	 if (fdtdec_get_bool(fdt, node, "property"))
		...

As result, UCLASS_ETH device can't be used any more for DT accessing.

This patch adds additional ofnode node field to struct phy_device which can
be set explicitly by network drivers and used by PHY drivers, so
overwriting can be avoided. Also add helper function phy_get_ofnode()
which will check and return phy_device-&gt;node or dev_ofnode(phydev-&gt;dev) for
backward compatibility with existing drivers.

Signed-off-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>phy: Break include cycle</title>
<updated>2018-07-26T19:08:22Z</updated>
<author>
<name>Joe Hershberger</name>
</author>
<published>2018-07-17T20:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f070b1a27ac91c334f68425002a7db72d30213e7'/>
<id>urn:sha1:f070b1a27ac91c334f68425002a7db72d30213e7</id>
<content type='text'>
Because some phy wants to export some functions [1], export.h was
including the whole phy subsystem which pulls in lots of stuff that
causes some ordering and redefinition issues. Split out the only part
that is actually needed in export.h and include it there and in phy.h.

[1] commit 95279315076c ("board/ls2085rdb: Export functions for
			  standalone AQ FW load apps")

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: include/phy.h: add new mode for internal phy</title>
<updated>2018-06-13T18:54:16Z</updated>
<author>
<name>Kunihiko Hayashi</name>
</author>
<published>2018-05-18T02:12:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=ff114e0f76b6f0937890ba72859acfb40afee329'/>
<id>urn:sha1:ff114e0f76b6f0937890ba72859acfb40afee329</id>
<content type='text'>
Add the new mode to indicate a built-in PHY.
This will be used by UniPhier AVE ethernet driver.

Signed-off-by: Kunihiko Hayashi &lt;hayashi.kunihiko@socionext.com&gt;
Reviewed-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net/phy/cortina: Add support for CS4223 PHY</title>
<updated>2018-06-13T18:54:15Z</updated>
<author>
<name>Vicentiu Galanopulo</name>
</author>
<published>2018-05-02T11:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=552e7c57d035792c8939d86f276624e2614b936b'/>
<id>urn:sha1:552e7c57d035792c8939d86f276624e2614b936b</id>
<content type='text'>
Add support for Cortina CS4223 10G PHY
  - As per the CS4223 specs, an EEPROM module is
    connected to the PHY. At startup the PHY reads
    the firmware line and tries to load the firmware
    into the internal memory.
  - This driver reads the EEPROM status
    and checks if firmware has been loaded

Signed-off-by: Vicentiu Galanopulo &lt;vicentiu.galanopulo@nxp.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.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-03.infra.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: phy: Add Broadcom BCM53xx switch driver</title>
<updated>2018-01-15T18:05:21Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-12-09T22:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=137963d71a2b2e0a1ac1fd755e0bec1409c2cdbd'/>
<id>urn:sha1:137963d71a2b2e0a1ac1fd755e0bec1409c2cdbd</id>
<content type='text'>
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar
to the Marvell MV88E617x. This takes care of configuring the minimum
amount out of the switch hardware such that each user visible port
(configurable) and the CPU port can forward packets between each other
while preserving isolation with other ports.

This is useful for e.g: the Lamobo R1 board featuring a Broadcom
BCM53125 switch.

Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>net: phy: Add Amlogic Meson GXL Internal PHY support</title>
<updated>2017-11-17T12:44:13Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2017-10-18T08:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8995a96d1d6760c930e37fc92fb718624f5d8fbf'/>
<id>urn:sha1:8995a96d1d6760c930e37fc92fb718624f5d8fbf</id>
<content type='text'>
The Amlogic Meson GXL/GXM families embeds an internal RMII Ethernet PHY.

The PHY acts as a generic PHY but needs a slight configuration right
before it's configuration.

Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
</content>
</entry>
</feed>
