<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/phy/mediatek, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-06-27T10:13:22Z</updated>
<entry>
<title>net: phy: mediatek: do not require syscon compatible for pio property</title>
<updated>2025-06-27T10:13:22Z</updated>
<author>
<name>Frank Wunderlich</name>
</author>
<published>2025-05-10T17:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=996423e3c7aa7264501d7ac91c820b0babcff233'/>
<id>urn:sha1:996423e3c7aa7264501d7ac91c820b0babcff233</id>
<content type='text'>
[ Upstream commit 15d7b3dfafa98270eade6c77d2336790dde0a40d ]

Current implementation requires syscon compatible for pio property
which is used for driving the switch leds on mt7988.

Replace syscon_regmap_lookup_by_phandle with of_parse_phandle and
device_node_to_regmap to get the regmap already assigned by pinctrl
driver.

Signed-off-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
Link: https://patch.msgid.link/20250510174933.154589-1-linux@fw-web.de
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: permit to compile test GE SOC PHY driver</title>
<updated>2025-06-19T13:39:40Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-04-10T10:04:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9c9f16a00bf956d6cc4908f6c4f4fbaee0beb6b'/>
<id>urn:sha1:b9c9f16a00bf956d6cc4908f6c4f4fbaee0beb6b</id>
<content type='text'>
[ Upstream commit e5566162af8b9690e096d2e6089e4ed955a0d13d ]

When commit 462a3daad679 ("net: phy: mediatek: fix compile-test
dependencies") fixed the dependency, it should have also introduced
an or on COMPILE_TEST to permit this driver to be compile-tested even if
NVMEM_MTK_EFUSE wasn't selected. The driver makes use of NVMEM API that
are always compiled (return error) so the driver can actually be
compiled even without that config.

Fix and simplify the dependency condition of this kernel config.

Fixes: 462a3daad679 ("net: phy: mediatek: fix compile-test dependencies")
Acked-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Link: https://patch.msgid.link/20250410100410.348-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: use new phy_package_shared getters</title>
<updated>2025-03-06T03:13:53Z</updated>
<author>
<name>Heiner Kallweit</name>
</author>
<published>2025-03-03T20:17:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc5a6164fedacdcdbb51a2a340ca264191a5b82c'/>
<id>urn:sha1:dc5a6164fedacdcdbb51a2a340ca264191a5b82c</id>
<content type='text'>
Use the new getters for members of struct phy_package_shared.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Link: https://patch.msgid.link/356a257f-68d0-47bc-a474-4dafaeaa149f@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: Move some macros to phy-lib for later use</title>
<updated>2025-02-18T00:22:36Z</updated>
<author>
<name>Sky Huang</name>
</author>
<published>2025-02-13T08:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be378ebd6cfb8e369d4aa03a551e594d00debda5'/>
<id>urn:sha1:be378ebd6cfb8e369d4aa03a551e594d00debda5</id>
<content type='text'>
Move some macros to phy-lib because MediaTek's 2.5G built-in
ethernet PHY will also use them.

Signed-off-by: Sky Huang &lt;skylake.huang@mediatek.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250213080553.921434-6-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: Add token ring clear bit operation support</title>
<updated>2025-02-18T00:22:36Z</updated>
<author>
<name>Sky Huang</name>
</author>
<published>2025-02-13T08:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4786eff288bcc77a5dbc2be2308f46f70e58600d'/>
<id>urn:sha1:4786eff288bcc77a5dbc2be2308f46f70e58600d</id>
<content type='text'>
Similar to __mtk_tr_set_bits() support. Previously in mtk-ge-soc.c,
we clear some register bits via token ring, which were also implemented
in three __phy_write(). Now we can do the same thing via
__mtk_tr_clr_bits() helper.

Signed-off-by: Sky Huang &lt;skylake.huang@mediatek.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250213080553.921434-5-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: Add token ring set bit operation support</title>
<updated>2025-02-18T00:22:36Z</updated>
<author>
<name>Sky Huang</name>
</author>
<published>2025-02-13T08:05:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40d33d6d3c90eb104c66e05cdc00db61268c93f9'/>
<id>urn:sha1:40d33d6d3c90eb104c66e05cdc00db61268c93f9</id>
<content type='text'>
Previously in mtk-ge-soc.c, we set some register bits via token
ring, which were implemented in three __phy_write().
Now we can do the same thing via __mtk_tr_set_bits() helper.

Signed-off-by: Sky Huang &lt;skylake.huang@mediatek.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250213080553.921434-4-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: Add token ring access helper functions in mtk-phy-lib</title>
<updated>2025-02-18T00:22:36Z</updated>
<author>
<name>Sky Huang</name>
</author>
<published>2025-02-13T08:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afa08fde7c4780ea5556d9d4df6c1daa38ba0d6b'/>
<id>urn:sha1:afa08fde7c4780ea5556d9d4df6c1daa38ba0d6b</id>
<content type='text'>
This patch adds TR(token ring) manipulations and adds correct
macro names for those magic numbers. TR is a way to access
proprietary registers on page 52b5. Use these helper functions
so we can see which fields we're going to modify/set/clear.

TR functions with __* prefix mean that the operations inside
aren't wrapped by page select/restore functions.

This patch doesn't really change registers' settings but just
enhances readability and maintainability.

Signed-off-by: Sky Huang &lt;skylake.huang@mediatek.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250213080553.921434-3-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: Change to more meaningful macros</title>
<updated>2025-02-18T00:22:36Z</updated>
<author>
<name>Sky Huang</name>
</author>
<published>2025-02-13T08:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f435137a0484f11b47554281091ef4908f8cb31'/>
<id>urn:sha1:2f435137a0484f11b47554281091ef4908f8cb31</id>
<content type='text'>
Replace magic number with more meaningful macros in mtk-ge.c.
Also, move some common macros into mtk-phy-lib.c.

Signed-off-by: Sky Huang &lt;skylake.huang@mediatek.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/20250213080553.921434-2-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: Constify struct mdio_device_id</title>
<updated>2025-01-14T23:01:32Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2025-01-12T14:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b01b59a4fa87831b8504f1e8fc553ce599e7362d'/>
<id>urn:sha1:b01b59a4fa87831b8504f1e8fc553ce599e7362d</id>
<content type='text'>
'struct mdio_device_id' is not modified in these drivers.

Constifying these structures moves some data to a read-only section, so
increase overall security.

On a x86_64, with allmodconfig, as an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  27014	  12792	      0	  39806	   9b7e	drivers/net/phy/broadcom.o

After:
=====
   text	   data	    bss	    dec	    hex	filename
  27206	  12600	      0	  39806	   9b7e	drivers/net/phy/broadcom.o

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Link: https://patch.msgid.link/403c381b7d9156b67ad68ffc44b8eee70c5e86a9.1736691226.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: phy: mediatek: add MT7530 &amp; MT7531's PHY ID macros</title>
<updated>2024-11-13T13:06:04Z</updated>
<author>
<name>SkyLake.Huang</name>
</author>
<published>2024-11-08T16:34:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=219cecbb3e864685a1f08bcb79ce07d9bc4f506e'/>
<id>urn:sha1:219cecbb3e864685a1f08bcb79ce07d9bc4f506e</id>
<content type='text'>
This patch adds MT7530 &amp; MT7531's PHY ID macros in mtk-ge.c so that
it follows the same rule of mtk-ge-soc.c.

Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: SkyLake.Huang &lt;skylake.huang@mediatek.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
