mbox series

[net-next,0/3] net: phy: realtek: add hwmon support

Message ID 3e2784e3-4670-4d54-932f-b25440747b65@gmail.com (mailing list archive)
Headers show
Series net: phy: realtek: add hwmon support | expand

Message

Heiner Kallweit Jan. 10, 2025, 11:45 a.m. UTC
This adds hwmon support for the temperature sensor on RTL822x.
It's available on the standalone versions of the PHY's, and on the
internal PHY's of RTL8125B(P)/RTL8125D/RTL8126.

Heiner Kallweit (3):
  net: phy: realtek: add support for reading MDIO_MMD_VEND2 regs on
    RTL8125/RTL8126
  net: phy: realtek: rename realtek.c to realtek_main.c
  net: phy: realtek: add hwmon support for temp sensor on RTL822x

 drivers/net/phy/Kconfig                       |  6 ++
 drivers/net/phy/Makefile                      |  2 +
 drivers/net/phy/realtek.h                     | 10 +++
 drivers/net/phy/realtek_hwmon.c               | 83 +++++++++++++++++++
 drivers/net/phy/{realtek.c => realtek_main.c} | 24 +++++-
 5 files changed, 123 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/phy/realtek.h
 create mode 100644 drivers/net/phy/realtek_hwmon.c
 rename drivers/net/phy/{realtek.c => realtek_main.c} (98%)