<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net, branch v2020.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>net: fec: Allow the PHY node to be retrieved</title>
<updated>2020-06-22T15:40:49+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>festevam@gmail.com</email>
</author>
<published>2020-06-18T23:21:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=89b5bd54c1a425e416d67ce21b0fd5fd7da6a1d4'/>
<id>89b5bd54c1a425e416d67ce21b0fd5fd7da6a1d4</id>
<content type='text'>
As we move towards driver model, it is required to let the FEC driver
know how to properly deal with an Ethernet PHY subnode in the device tree.

For example:

 &amp;fec {
 	pinctrl-names = "default";
 	pinctrl-0 = &lt;&amp;pinctrl_microsom_enet_ar8035&gt;;
	phy-handle = &lt;&amp;phy&gt;;
 	phy-mode = "rgmii-id";
 	phy-reset-duration = &lt;2&gt;;
 	phy-reset-gpios = &lt;&amp;gpio4 15 GPIO_ACTIVE_LOW&gt;;
 	status = "okay";

	mdio {
		#address-cells = &lt;1&gt;;
		#size-cells = &lt;0&gt;;

		phy: ethernet-phy@0 {
			reg = &lt;0&gt;;
			qca,clk-out-frequency = &lt;125000000&gt;;
		};
	};
 };

Currently the PHY node pointer is incorrectly associated with the
Ethernel controller instead of the PHY node itself.

This causes the PHY properties, such as "qca,clk-out-frequency" in
the example above to not get parsed.

Fix this problem by populating the phy_of_node node.

Suggested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we move towards driver model, it is required to let the FEC driver
know how to properly deal with an Ethernet PHY subnode in the device tree.

For example:

 &amp;fec {
 	pinctrl-names = "default";
 	pinctrl-0 = &lt;&amp;pinctrl_microsom_enet_ar8035&gt;;
	phy-handle = &lt;&amp;phy&gt;;
 	phy-mode = "rgmii-id";
 	phy-reset-duration = &lt;2&gt;;
 	phy-reset-gpios = &lt;&amp;gpio4 15 GPIO_ACTIVE_LOW&gt;;
 	status = "okay";

	mdio {
		#address-cells = &lt;1&gt;;
		#size-cells = &lt;0&gt;;

		phy: ethernet-phy@0 {
			reg = &lt;0&gt;;
			qca,clk-out-frequency = &lt;125000000&gt;;
		};
	};
 };

Currently the PHY node pointer is incorrectly associated with the
Ethernel controller instead of the PHY node itself.

This causes the PHY properties, such as "qca,clk-out-frequency" in
the example above to not get parsed.

Fix this problem by populating the phy_of_node node.

Suggested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: atheros: ar8035: Fix clock output calculation</title>
<updated>2020-06-22T15:40:41+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>festevam@gmail.com</email>
</author>
<published>2020-06-18T23:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=338d9b032a2ab0dbbcfcf1bfe373b4852399a636'/>
<id>338d9b032a2ab0dbbcfcf1bfe373b4852399a636</id>
<content type='text'>
The clock ouput frequency is calculated incorrectly for AR8035 due to
wrong masking of priv-&gt;clk_25m_reg and priv-&gt;clk_25m_mask.

This same issue has been already fixed in the kernel by:

commit b1f4c209d84057b6d40b939b6e4404854271d797
Author: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
Date:   Wed Apr 1 11:57:32 2020 +0200

    net: phy: at803x: fix clock sink configuration on ATH8030 and ATH8035

    The masks in priv-&gt;clk_25m_reg and priv-&gt;clk_25m_mask are one-bits-set
    for the values that comprise the fields, not zero-bits-set.

    This patch fixes the clock frequency configuration for ATH8030 and
    ATH8035 Atheros PHYs by removing the erroneous "~".

    To reproduce this bug, configure the PHY  with the device tree binding
    "qca,clk-out-frequency" and remove the machine specific PHY fixups.

    Fixes: 2f664823a47021 ("net: phy: at803x: add device tree binding")
    Signed-off-by: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
    Reported-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Reviewed-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Tested-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

Apply the same fix in the U-Boot driver.

Tested on a i.MX6 Hummingboard.

Signed-off-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Reviewed-by: Michael Walle &lt;michael@walle.cc&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The clock ouput frequency is calculated incorrectly for AR8035 due to
wrong masking of priv-&gt;clk_25m_reg and priv-&gt;clk_25m_mask.

This same issue has been already fixed in the kernel by:

commit b1f4c209d84057b6d40b939b6e4404854271d797
Author: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
Date:   Wed Apr 1 11:57:32 2020 +0200

    net: phy: at803x: fix clock sink configuration on ATH8030 and ATH8035

    The masks in priv-&gt;clk_25m_reg and priv-&gt;clk_25m_mask are one-bits-set
    for the values that comprise the fields, not zero-bits-set.

    This patch fixes the clock frequency configuration for ATH8030 and
    ATH8035 Atheros PHYs by removing the erroneous "~".

    To reproduce this bug, configure the PHY  with the device tree binding
    "qca,clk-out-frequency" and remove the machine specific PHY fixups.

    Fixes: 2f664823a47021 ("net: phy: at803x: add device tree binding")
    Signed-off-by: Oleksij Rempel &lt;o.rempel@pengutronix.de&gt;
    Reported-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Reviewed-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Tested-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

Apply the same fix in the U-Boot driver.

Tested on a i.MX6 Hummingboard.

Signed-off-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Reviewed-by: Michael Walle &lt;michael@walle.cc&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx</title>
<updated>2020-06-08T12:51:59+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2020-06-08T12:51:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=08649c3d50b1ca014a9e0bf87c724f99f88a20ce'/>
<id>08649c3d50b1ca014a9e0bf87c724f99f88a20ce</id>
<content type='text'>
- DM_ETH support for P2041RDB, T1024RDB, P5040DS, P3041DS, P4080DS, bug
  fixes
- Add TBI PHY access through MII
- DDR: Rework errata workaround for A008109, A008378, 009942
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- DM_ETH support for P2041RDB, T1024RDB, P5040DS, P3041DS, P4080DS, bug
  fixes
- Add TBI PHY access through MII
- DDR: Rework errata workaround for A008109, A008378, 009942
</pre>
</div>
</content>
</entry>
<entry>
<title>net: tsec: Access TBI PHY through the corresponding MII</title>
<updated>2020-06-04T13:23:20+00:00</updated>
<author>
<name>Hou Zhiqiang</name>
<email>Zhiqiang.Hou@nxp.com</email>
</author>
<published>2020-05-03T14:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a0f47e012fb679baa927feb3e673503c88083aa0'/>
<id>a0f47e012fb679baa927feb3e673503c88083aa0</id>
<content type='text'>
When an eTSEC is configured to use TBI, configuration of the
TBI is done through the MIIM registers for that eTSEC.
For example, if a TBI interface is required on eTSEC2, then
the MIIM registers starting at offset 0x2_5520 are used to
configure it.

Fixes: 9a1d6af55ecd ("net: tsec: Add driver model ethernet support")
Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Reviewed-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an eTSEC is configured to use TBI, configuration of the
TBI is done through the MIIM registers for that eTSEC.
For example, if a TBI interface is required on eTSEC2, then
the MIIM registers starting at offset 0x2_5520 are used to
configure it.

Fixes: 9a1d6af55ecd ("net: tsec: Add driver model ethernet support")
Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Reviewed-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: tsec: Access eTSEC registers using virtual address</title>
<updated>2020-06-04T13:23:20+00:00</updated>
<author>
<name>Hou Zhiqiang</name>
<email>Zhiqiang.Hou@nxp.com</email>
</author>
<published>2020-05-03T14:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf67eb325bea748577f98fd5bb5f10348b223c2a'/>
<id>bf67eb325bea748577f98fd5bb5f10348b223c2a</id>
<content type='text'>
The current code accesses eTSEC registers using physical
address directly, it's not correct, though no problem on
current platforms. It won't work on platforms, which does
not support 1:1 virtual-physical address map.

Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Reviewed-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code accesses eTSEC registers using physical
address directly, it's not correct, though no problem on
current platforms. It won't work on platforms, which does
not support 1:1 virtual-physical address map.

Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Reviewed-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: tsec: fsl_mdio: add DM MDIO support</title>
<updated>2020-06-04T13:23:14+00:00</updated>
<author>
<name>Madalin Bucur</name>
<email>madalin.bucur@oss.nxp.com</email>
</author>
<published>2020-04-30T12:59:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2932c5a802a9c97e3be99db741d5421daf852ce1'/>
<id>2932c5a802a9c97e3be99db741d5421daf852ce1</id>
<content type='text'>
Allow the MDIO devices to be probed based on the device tree.

Signed-off-by: Madalin Bucur &lt;madalin.bucur@oss.nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow the MDIO devices to be probed based on the device tree.

Signed-off-by: Madalin Bucur &lt;madalin.bucur@oss.nxp.com&gt;
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: net: e1000: with DM_ETH needs DM_PCI too</title>
<updated>2020-06-03T06:44:27+00:00</updated>
<author>
<name>Madalin Bucur</name>
<email>madalin.bucur@oss.nxp.com</email>
</author>
<published>2020-04-29T05:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=94472223c69f1d5dacff7ddeace67c05c62146e1'/>
<id>94472223c69f1d5dacff7ddeace67c05c62146e1</id>
<content type='text'>
Compilation error occur when DM_ETH is enabled without DM_PCI.

Signed-off-by: Madalin Bucur &lt;madalin.bucur@oss.nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compilation error occur when DM_ETH is enabled without DM_PCI.

Signed-off-by: Madalin Bucur &lt;madalin.bucur@oss.nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: sun8i_emac: Add support for the H6 variant</title>
<updated>2020-06-01T17:08:37+00:00</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2020-05-07T23:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=99ac86187d0b5b4134a75847c3e7886cfd61c351'/>
<id>99ac86187d0b5b4134a75847c3e7886cfd61c351</id>
<content type='text'>
The H6 EMAC is very similar to the H3 variant, except that it uses the
same pinmux as R40. Add support for it.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The H6 EMAC is very similar to the H3 variant, except that it uses the
same pinmux as R40. Add support for it.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: sun8i_emac: Use consistent clock bitfield definitions</title>
<updated>2020-06-01T17:08:22+00:00</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2020-05-07T23:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=abdbefba2a4e9666f798de13b4b88021f23b19f3'/>
<id>abdbefba2a4e9666f798de13b4b88021f23b19f3</id>
<content type='text'>
While the R40 uses a different register for EMAC clock configuration
than other chips, the register has a very similar layout. Reuse the
existing bitfield definitions in this file, since they match.

This allows the driver to compile on the H6 platform, where the
CCM_GMAC_CTRL definitions are not present.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While the R40 uses a different register for EMAC clock configuration
than other chips, the register has a very similar layout. Reuse the
existing bitfield definitions in this file, since they match.

This allows the driver to compile on the H6 platform, where the
CCM_GMAC_CTRL definitions are not present.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: ks8851: Add Kconfig entries</title>
<updated>2020-05-22T17:46:45+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2020-03-25T18:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=df4c4834fc008315bce2f978220ecc9da2e3862c'/>
<id>df4c4834fc008315bce2f978220ecc9da2e3862c</id>
<content type='text'>
Convert CONFIG_KS8851_MLL and CONFIG_KS8851_MLL_BASEADDR to Kconfig

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert CONFIG_KS8851_MLL and CONFIG_KS8851_MLL_BASEADDR to Kconfig

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;
</pre>
</div>
</content>
</entry>
</feed>
