diff options
| author | Alex Marginean <[email protected]> | 2019-07-25 12:33:17 +0300 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2019-09-04 11:37:19 -0500 |
| commit | 6b3abc048228bb4336dd0cc761993353a4efb206 (patch) | |
| tree | fbee5d15f302e2cdb71788bfec93a3acd5162058 /doc | |
| parent | 259f7223f2f567afe077528539a43b26d0fef876 (diff) | |
net: mdio-uclass: name MDIO according to device-name property if preset
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
property device-name and moves this into MDIO class code so other can use
it as well.
Signed-off-by: Alex Marginean <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
