]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: realtek: HWMON support for standalone versions of RTL8221B and RTL8251
authorAleksander Jan Bajkowski <olek2@wp.pl>
Fri, 17 Jan 2025 22:24:21 +0000 (23:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2025 12:30:56 +0000 (12:30 +0000)
commit64ff63aeefb03139ae27454bd4208244579ae88e
tree8fa34fa6169a78806ddf93513ec256fba58f5c18
parent457bb7970a0f10effd6b4ca9e1057727963c473a
net: phy: realtek: HWMON support for standalone versions of RTL8221B and RTL8251

HWMON support has been added for the RTL8221/8251 PHYs integrated together
with the MAC inside the RTL8125/8126 chips. This patch extends temperature
reading support for standalone variants of the mentioned PHYs.

I don't know whether the earlier revisions of the RTL8226 also have a
built-in temperature sensor, so they have been skipped for now.

Tested on RTL8221B-VB-CG.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/realtek/realtek_main.c