Re: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property #thermal-sensor-cells
From: Andrew Lunn
Date: Sat Nov 07 2026 - 12:22:11 EST
On Sat, Nov 07, 2026 at 06:00:45PM +0100, Hleb Shauchenka via B4 Relay wrote:
> From: Hleb Shauchenka <me@xxxxxxxxxx>
>
> The Aquantia and Marvell PHY drivers register their hwmon temperature
> sensor with the thermal framework, and a following patch does the same
> for Realtek PHYs, so a thermal zone can reference the PHY node through
> thermal-sensors. That requires #thermal-sensor-cells in the PHY node,
> which no PHY binding allows: dtbs_check rejects it under MDIO buses
> whose PHY children use unevaluatedProperties: false, such as
> realtek,rtl9301-mdio.
>
> Allow it in the common PHY binding.
>
> This patch was prepared with AI assistance (Claude Opus 5.5), after an
> AI review of the previous posting pointed out the missing property.
>
I would put that under the ---. We don't need it in the history. We
just want to know it to aid review.
Andrew
---
pw-bot: cr