diff options
| author | Johan Jonker <jbx6244@gmail.com> | 2024-11-04 21:01:39 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-14 13:19:32 +0100 |
| commit | 0012be71c55b9f1e5f5fa337e131cc750143d226 (patch) | |
| tree | 1e7b95c9414e37426809429c5fbd847df41ae176 /include | |
| parent | 8ed7a4a39c3f7cd9655af867e878fda512ae67ad (diff) | |
| download | linux-0012be71c55b9f1e5f5fa337e131cc750143d226.tar.gz linux-0012be71c55b9f1e5f5fa337e131cc750143d226.tar.bz2 linux-0012be71c55b9f1e5f5fa337e131cc750143d226.zip | |
net: arc: rockchip: fix emac mdio node support
[ Upstream commit 0a1c7a7b0adbf595ce7f218609db53749e966573 ]
The binding emac_rockchip.txt is converted to YAML.
Changed against the original binding is an added MDIO subnode.
This make the driver failed to find the PHY, and given the 'mdio
has invalid PHY address' it is probably looking in the wrong node.
Fix emac_mdio.c so that it can handle both old and new
device trees.
Fixes: 1dabb74971b3 ("ARM: dts: rockchip: restyle emac nodes")
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Tested-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20220603163539.537-3-jbx6244@gmail.com
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
