[PATCH 2/4] dt-bindings: phy: cadence-torrent: drop cdns,num-lanes default value

Krzysztof Kozlowski krzk at kernel.org
Sat Nov 21 08:19:05 PST 2026


On Fri, Nov 20, 2026 at 01:55:50PM +0100, Benjamin Robin wrote:
> The driver treats cdns,num-lanes as mandatory and refuses to probe a PHY
> sub-node that does not provide it, logging:
> 
>   No "cdns,num-lanes"-property.
> 
> A default value in the schema wrongly suggests that the property is
> optional, which it is not since it is listed as required. Remove the
> "default: 4" so the binding reflects the actual driver behavior and the
> mandatory nature of the property.

No, that's a bug in the driver introduced in 2020. You ignored the
background and history of this driver and DT bindings.

Best regards,
Krzysztof




More information about the linux-phy mailing list