Re: [PATCH net-next v3 5/8] net: dsa: realtek: get internal MDIO node by name
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2024-01-08 14:12:21
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2024-01-08 14:12:21
On Fri, Dec 22, 2023 at 09:46:33PM -0300, Luiz Angelo Daros de Luca wrote:
The binding docs requires for SMI-connected devices that the switch must have a child node named "mdio" and with a compatible string of "realtek,smi-mdio". Meanwile, for MDIO-connected switches, the binding docs only requires a child node named "mdio". This patch changes the driver to use the common denominator for both interfaces, looking for the MDIO node by name, ignoring the compatible string. Signed-off-by: Luiz Angelo Daros de Luca <redacted> ---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>