[PATCH net-next v2 0/3] net: phy: realtek: register hwmon thermal zones

From
Hleb Shauchenka via B4 Relay <devnull+me.marleb.org@kernel.org>
Date
2026-11-07 17:01:27
Also in
b4-sent, linux-devicetree, lkml
Let device-tree thermal zones use the temperature sensor of Realtek
PHYs. Patch 1 allows #thermal-sensor-cells in PHY nodes, patch 2 stops
failed MDIO reads from being reported as temperatures, and patch 3
registers the sensor with the thermal framework.

This series was prepared with AI assistance; each patch says how.

---
Changes in v2:
- Add #thermal-sensor-cells to the ethernet-phy binding (patch 1).
- Return MDIO read errors from the hwmon read (patch 2).
- Patch 3: name the mainline PHYs it affects and say that the RTL8261N
  test relied on OpenWrt's out-of-tree support. Code unchanged, so I
  kept Andrew's Reviewed-by.
- Link to v1: https://patch.msgid.link/20261103-realtek-hwmon-tz-v1-1-e672723c58cb@marleb.org (local)

---
Hleb Shauchenka (3):
      dt-bindings: net: ethernet-phy: add property #thermal-sensor-cells
      net: phy: realtek: return MDIO read errors from hwmon
      net: phy: realtek: register hwmon thermal zones

 Documentation/devicetree/bindings/net/ethernet-phy.yaml |  6 ++++++
 drivers/net/phy/realtek/realtek_hwmon.c                 | 13 +++++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
---
base-commit: fa5196392691051963726787944db872420dfa75
change-id: 20261103-realtek-hwmon-tz-95237a921bf9

Best regards,
--  
Hleb Shauchenka [off-list ref]

Thread (8 messages) 8 messages, 3 authors, last reply 12h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help