mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: phy: realtek: register hwmon thermal zones
@ 2026-11-07 17:00 Hleb Shauchenka via B4 Relay
  2026-11-07 17:00 ` [PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property #thermal-sensor-cells Hleb Shauchenka via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Hleb Shauchenka via B4 Relay @ 2026-11-07 17:00 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli
  Cc: netdev, devicetree, linux-kernel, Hleb Shauchenka

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

---
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 <me@marleb.org>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-07 17:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 17:00 [PATCH net-next v2 0/3] net: phy: realtek: register hwmon thermal zones Hleb Shauchenka via B4 Relay
2026-11-07 17:00 ` [PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property #thermal-sensor-cells Hleb Shauchenka via B4 Relay
2026-11-07 17:15   ` Andrew Lunn
2026-11-07 17:00 ` [PATCH net-next v2 2/3] net: phy: realtek: return MDIO read errors from hwmon Hleb Shauchenka via B4 Relay
2026-11-07 17:18   ` Andrew Lunn
2026-11-07 17:00 ` [PATCH net-next v2 3/3] net: phy: realtek: register hwmon thermal zones Hleb Shauchenka via B4 Relay
2026-11-07 17:22   ` Andrew Lunn
2026-11-07 17:58     ` Hleb Shauchenka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®