Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21481189 authored by Esben Haabendal's avatar Esben Haabendal Committed by David S. Miller
Browse files

net/fsl_pq_mdio: Allow explicit speficition of TBIPA address



This introduces a simpler and generic method for for finding (and mapping)
the TBIPA register.

Instead of relying of complicated logic for finding the TBIPA register
address based on the MDIO or MII register block base
address, which even in some cases relies on undocumented shadow registers,
a second "reg" entry for the mdio bus devicetree node specifies the TBIPA
register.

Backwards compatibility is kept, as the existing logic is applied when
only a single "reg" mapping is specified.

Signed-off-by: default avatarEsben Haabendal <eha@deif.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e31a684
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment