<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/phy/motorcomm.c, branch v6.3-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify()</title>
<updated>2023-02-16T05:23:33+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2023-02-15T04:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9753613f7399601f9bae6ee81e9d4274246c98ab'/>
<id>9753613f7399601f9bae6ee81e9d4274246c98ab</id>
<content type='text'>
These booleans are never set to false, but are just used without being
initialized.

Fixes: 4ac94f728a58 ("net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy")
Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Reviewed-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Link: https://lore.kernel.org/r/Y+xd2yJet2ImHLoQ@kili
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These booleans are never set to false, but are just used without being
initialized.

Fixes: 4ac94f728a58 ("net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy")
Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Reviewed-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Link: https://lore.kernel.org/r/Y+xd2yJet2ImHLoQ@kili
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy</title>
<updated>2023-02-03T09:34:51+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-02-02T03:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4ac94f728a588e7096dd5010cd7141a309ea7805'/>
<id>4ac94f728a588e7096dd5010cd7141a309ea7805</id>
<content type='text'>
Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have
 verified the driver on AM335x platform with yt8531 board. On the
 board, yt8531 gigabit ethernet phy works in utp mode, RGMII
 interface, supports 1000M/100M/10M speeds, and wol(magic package).

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have
 verified the driver on AM335x platform with yt8531 board. On the
 board, yt8531 gigabit ethernet phy works in utp mode, RGMII
 interface, supports 1000M/100M/10M speeds, and wol(magic package).

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy</title>
<updated>2023-02-03T09:34:51+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-02-02T03:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=36152f87dda4af221b16258751451d9cd3d0fb0b'/>
<id>36152f87dda4af221b16258751451d9cd3d0fb0b</id>
<content type='text'>
Add dts support for Motorcomm yt8531s gigabit ethernet phy.
 Change yt8521_probe to support clk config of yt8531s. Becase
 yt8521_probe does the things which yt8531s is needed, so
 removed yt8531s function.
 This patch has been verified on AM335x platform with yt8531s board.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add dts support for Motorcomm yt8531s gigabit ethernet phy.
 Change yt8521_probe to support clk config of yt8531s. Becase
 yt8521_probe does the things which yt8531s is needed, so
 removed yt8531s function.
 This patch has been verified on AM335x platform with yt8531s board.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy</title>
<updated>2023-02-03T09:34:51+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-02-02T03:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a6e68f0f8769f79c67cdcfb6302feecd36197dec'/>
<id>a6e68f0f8769f79c67cdcfb6302feecd36197dec</id>
<content type='text'>
Add dts support for Motorcomm yt8521 gigabit ethernet phy.
 Add ytphy_rgmii_clk_delay_config function to support dst config for
 the delay of rgmii clk. This funciont is common for yt8521, yt8531s
 and yt8531.
 This patch has been verified on AM335x platform.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add dts support for Motorcomm yt8521 gigabit ethernet phy.
 Add ytphy_rgmii_clk_delay_config function to support dst config for
 the delay of rgmii clk. This funciont is common for yt8521, yt8531s
 and yt8531.
 This patch has been verified on AM335x platform.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy</title>
<updated>2023-02-03T09:34:50+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-02-02T03:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4869a146cd60fc8115230f0a45e15e534c531922'/>
<id>4869a146cd60fc8115230f0a45e15e534c531922</id>
<content type='text'>
Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy.
 This is a preparatory patch. Add BIT macro for 0xA012 reg, and
 supplement for 0xA001 and 0xA003 reg. These will be used to support dts.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy.
 This is a preparatory patch. Add BIT macro for 0xA012 reg, and
 supplement for 0xA001 and 0xA003 reg. These will be used to support dts.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: motorcomm: change the phy id of yt8521 and yt8531s to lowercase</title>
<updated>2023-01-31T05:05:36+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-01-28T06:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3c1dc22162d673d595855d24f95200ed2643f88f'/>
<id>3c1dc22162d673d595855d24f95200ed2643f88f</id>
<content type='text'>
The phy id is usually defined in lower case.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://lore.kernel.org/r/20230128063558.5850-2-Frank.Sae@motor-comm.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The phy id is usually defined in lower case.

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://lore.kernel.org/r/20230128063558.5850-2-Frank.Sae@motor-comm.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: fix the spelling problem of Sentinel</title>
<updated>2023-01-31T05:05:26+00:00</updated>
<author>
<name>Frank Sae</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2023-01-28T06:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4104a713204d62aca482eebb0c6226d82a0721eb'/>
<id>4104a713204d62aca482eebb0c6226d82a0721eb</id>
<content type='text'>
CHECK: 'sentinal' may be misspelled - perhaps 'sentinel'?

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://lore.kernel.org/r/20230128063558.5850-1-Frank.Sae@motor-comm.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CHECK: 'sentinal' may be misspelled - perhaps 'sentinel'?

Signed-off-by: Frank Sae &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://lore.kernel.org/r/20230128063558.5850-1-Frank.Sae@motor-comm.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: add Motorcomm YT8531S phy id.</title>
<updated>2022-11-25T07:54:52+00:00</updated>
<author>
<name>Frank</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2022-11-22T08:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=813abcd98fb1b2cccf850cdfa092a4bfc50b2363'/>
<id>813abcd98fb1b2cccf850cdfa092a4bfc50b2363</id>
<content type='text'>
We added patch for motorcomm.c to support YT8531S. This patch has
been tested on AM335x platform which has one YT8531S interface
card and passed all test cases.
The tested cases indluding: YT8531S UTP function with support of
10M/100M/1000M; YT8531S Fiber function with support of 100M/1000M;
and YT8531S Combo function that supports auto detection of media type.

Since most functions of YT8531S are similar to YT8521 and we reuse some
codes for YT8521 in the patch file.

Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We added patch for motorcomm.c to support YT8531S. This patch has
been tested on AM335x platform which has one YT8531S interface
card and passed all test cases.
The tested cases indluding: YT8531S UTP function with support of
10M/100M/1000M; YT8531S Fiber function with support of 100M/1000M;
and YT8531S Combo function that supports auto detection of media type.

Since most functions of YT8531S are similar to YT8521 and we reuse some
codes for YT8521 in the patch file.

Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: fix yt8521 duplicated argument to &amp; or |</title>
<updated>2022-11-07T11:33:22+00:00</updated>
<author>
<name>Frank</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2022-11-04T08:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4e0243e7128c9b25ea2739136076a95d6adaba5e'/>
<id>4e0243e7128c9b25ea2739136076a95d6adaba5e</id>
<content type='text'>
cocci warnings: (new ones prefixed by &gt;&gt;)
&gt;&gt; drivers/net/phy/motorcomm.c:1122:8-35: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1126:8-35: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1130:8-34: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1134:8-34: duplicated argument to &amp; or |

 The second YT8521_RC1R_GE_TX_DELAY_xx should be YT8521_RC1R_FE_TX_DELAY_xx.

Fixes: 70479a40954c ("net: phy: Add driver for Motorcomm yt8521 gigabit ethernet phy")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Reported-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cocci warnings: (new ones prefixed by &gt;&gt;)
&gt;&gt; drivers/net/phy/motorcomm.c:1122:8-35: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1126:8-35: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1130:8-34: duplicated argument to &amp; or |
  drivers/net/phy/motorcomm.c:1134:8-34: duplicated argument to &amp; or |

 The second YT8521_RC1R_GE_TX_DELAY_xx should be YT8521_RC1R_FE_TX_DELAY_xx.

Fixes: 70479a40954c ("net: phy: Add driver for Motorcomm yt8521 gigabit ethernet phy")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Reported-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: Add driver for Motorcomm yt8521 gigabit ethernet phy</title>
<updated>2022-10-31T10:51:54+00:00</updated>
<author>
<name>Frank</name>
<email>Frank.Sae@motor-comm.com</email>
</author>
<published>2022-10-28T09:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=70479a40954cf353e87a486997a3477108c75aa9'/>
<id>70479a40954cf353e87a486997a3477108c75aa9</id>
<content type='text'>
Add a driver for the motorcomm yt8521 gigabit ethernet phy. We have verified
 the driver on StarFive VisionFive development board, which is developed by
 Shanghai StarFive Technology Co., Ltd.. On the board, yt8521 gigabit ethernet
 phy works in utp mode, RGMII interface, supports 1000M/100M/10M speeds, and
 wol(magic package).

Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a driver for the motorcomm yt8521 gigabit ethernet phy. We have verified
 the driver on StarFive VisionFive development board, which is developed by
 Shanghai StarFive Technology Co., Ltd.. On the board, yt8521 gigabit ethernet
 phy works in utp mode, RGMII interface, supports 1000M/100M/10M speeds, and
 wol(magic package).

Signed-off-by: Frank &lt;Frank.Sae@motor-comm.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
