]> www.infradead.org Git - users/hch/misc.git/commit
net: phy: realtek: add hwmon support for temp sensor on RTL822x
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 11 Jan 2025 20:51:24 +0000 (21:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Jan 2025 22:51:33 +0000 (14:51 -0800)
commit33700ca45b7d2e1655d4cad95e25671e8a94e2f0
treefcbf04b99a36b470e16a4709072a82691aabbd6d
parent1416a9b2ba710d31954131c06d46f298e340aa2c
net: phy: realtek: add hwmon support for temp sensor on RTL822x

This adds hwmon support for the temperature sensor on RTL822x.
It's available on the standalone versions of the PHY's, and on
the integrated PHY's in RTL8125B/RTL8125D/RTL8126.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/ad6bfe9f-6375-4a00-84b4-bfb38a21bd71@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek/Kconfig
drivers/net/phy/realtek/Makefile
drivers/net/phy/realtek/realtek.h [new file with mode: 0644]
drivers/net/phy/realtek/realtek_hwmon.c [new file with mode: 0644]
drivers/net/phy/realtek/realtek_main.c