Re: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-phy: add property #thermal-sensor-cells

From: Rob Herring (Arm)

Date: Thu Nov 19 2026 - 17:53:34 EST



On Sat, 07 Nov 2026 18:00:45 +0100, Hleb Shauchenka wrote:
> 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.
>
> Signed-off-by: Hleb Shauchenka <me@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>