<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/phy/marvell.c, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-06-16T19:34:07Z</updated>
<entry>
<title>net: phy: replace if-else statements with switch</title>
<updated>2021-06-16T19:34:07Z</updated>
<author>
<name>Weihang Li</name>
</author>
<published>2021-06-16T10:01:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16d4d650966d9a607b32ceb709248f7833d88ed0'/>
<id>urn:sha1:16d4d650966d9a607b32ceb709248f7833d88ed0</id>
<content type='text'>
Switch statement is clearer than a group of 'if-else'.

Signed-off-by: Weihang Li &lt;liweihang@huawei.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: use phy_modify_changed() for marvell_set_polarity()</title>
<updated>2021-06-03T22:24:34Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2021-06-03T13:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=feb938fad63fb6fdd92ab082d0888ed5694af818'/>
<id>urn:sha1:feb938fad63fb6fdd92ab082d0888ed5694af818</id>
<content type='text'>
Rather than open-coding the phy_modify_changed() sequence, use this
helper in marvell_set_polarity().

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Marek Behún &lt;kabel@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: enable downshift by default</title>
<updated>2021-04-30T22:20:47Z</updated>
<author>
<name>Maxim Kochetkov</name>
</author>
<published>2021-04-30T04:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8385b1f0ad0d86b99476de654623effdcb6ac2a2'/>
<id>urn:sha1:8385b1f0ad0d86b99476de654623effdcb6ac2a2</id>
<content type='text'>
A number of PHYs support the PHY tunable to set and get
downshift. However, only 88E1116R enables downshift by default. Extend
this default enabled to all the PHYs that support the downshift
tunable.

Signed-off-by: Maxim Kochetkov &lt;fido_max@inbox.ru&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: add downshift support for M88E1240</title>
<updated>2021-04-28T20:58:11Z</updated>
<author>
<name>Maxim Kochetkov</name>
</author>
<published>2021-04-28T09:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65ad85f63b15af6995473724ab8562772db22753'/>
<id>urn:sha1:65ad85f63b15af6995473724ab8562772db22753</id>
<content type='text'>
Add downshift support for 88E1240, it uses the same downshift
configuration registers as 88E1011.

Signed-off-by: Maxim Kochetkov &lt;fido_max@inbox.ru&gt;
Link: https://lore.kernel.org/r/20210428095356.621536-1-fido_max@inbox.ru
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2021-04-26T19:00:00Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2021-04-26T19:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6876a18d3361e1893187970e1881a1d88d894d3f'/>
<id>urn:sha1:6876a18d3361e1893187970e1881a1d88d894d3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: phy: marvell: fix m88e1111_set_downshift</title>
<updated>2021-04-22T20:20:39Z</updated>
<author>
<name>Maxim Kochetkov</name>
</author>
<published>2021-04-22T10:46:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7679c55a7249f1315256cfc672d53e84072e223'/>
<id>urn:sha1:e7679c55a7249f1315256cfc672d53e84072e223</id>
<content type='text'>
Changing downshift params without software reset has no effect,
so call genphy_soft_reset() after change downshift params.

As the datasheet says:
Changes to these bits are disruptive to the normal operation therefore,
any changes to these registers must be followed by software reset
to take effect.

Fixes: 5c6bc5199b5d ("net: phy: marvell: add downshift support for M88E1111")
Signed-off-by: Maxim Kochetkov &lt;fido_max@inbox.ru&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: fix m88e1011_set_downshift</title>
<updated>2021-04-22T20:20:39Z</updated>
<author>
<name>Maxim Kochetkov</name>
</author>
<published>2021-04-22T10:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=990875b299b8612aeb85cb2e2751796f1add65ff'/>
<id>urn:sha1:990875b299b8612aeb85cb2e2751796f1add65ff</id>
<content type='text'>
Changing downshift params without software reset has no effect,
so call genphy_soft_reset() after change downshift params.

As the datasheet says:
Changes to these bits are disruptive to the normal operation therefore,
any changes to these registers must be followed by software reset
to take effect.

Fixes: 911af5e149bb ("net: phy: marvell: fix downshift function naming")
Signed-off-by: Maxim Kochetkov &lt;fido_max@inbox.ru&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: don't use empty switch default case</title>
<updated>2021-04-21T21:45:49Z</updated>
<author>
<name>Marek Behún</name>
</author>
<published>2021-04-21T14:08:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d869070569a23aa909c6e7e9d010fc438a492ef'/>
<id>urn:sha1:5d869070569a23aa909c6e7e9d010fc438a492ef</id>
<content type='text'>
This causes error reported by kernel test robot.

Signed-off-by: Marek Behún &lt;kabel@kernel.org&gt;
Fixes: 41d26bf4aba0 ("net: phy: marvell: refactor HWMON OOP style")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: add support for Amethyst internal PHY</title>
<updated>2021-04-20T23:27:54Z</updated>
<author>
<name>Marek Behún</name>
</author>
<published>2021-04-20T07:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a978f7c479ea68d68a6267a37cbd44362bdd9811'/>
<id>urn:sha1:a978f7c479ea68d68a6267a37cbd44362bdd9811</id>
<content type='text'>
Add support for Amethyst internal PHY.

The only difference from Peridot is HWMON.

Signed-off-by: Marek Behún &lt;kabel@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: phy: marvell: use assignment by bitwise AND operator</title>
<updated>2021-04-20T23:27:53Z</updated>
<author>
<name>Marek Behún</name>
</author>
<published>2021-04-20T07:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=002181735184a2660fd081abea2ac560896f874b'/>
<id>urn:sha1:002181735184a2660fd081abea2ac560896f874b</id>
<content type='text'>
Use the &amp;= operator instead of
  ret = ret &amp; ...

Signed-off-by: Marek Behún &lt;kabel@kernel.org&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
