
On Wed, Jul 17, 2019 at 11:11 PM Alex Marginean alexandru.marginean@nxp.com wrote:
Use the optional property device-name to name the MDIO bus. This works around limitations with using the DT node name on devices such as Armada-8040, which integrates two cp100 cores, both featuring MDIOs at the same relative offsets and with the same DT node names. The concept was originally proposed by Marvell as a custom property called mdio-name specific to Marvell driver. This patch uses the more generic
I was wondering whether such optional custom property name is accepted by the Linux devicetree committee or yet? The general goal is to use exact the same DT as kernel uses, at least for ARM, and that is what I learned from this ML.
property device-name and moves this into MDIO class code so other can use it as well.
Signed-off-by: Alex Marginean alexm.osslist@gmail.com
net/mdio-uclass.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
Anyway, the codes LGTM. So
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Regards, Bin