summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2026-02-09 12:45:06 +0100
committerTom Rini <[email protected]>2026-02-23 15:28:16 -0600
commit358f97fcca9a888e7f2c074d70460b92b5222c55 (patch)
treed6392c1494a23ebb9104c13128350f46f0bc85d0 /include/linux/stringify.h
parent145487611f6875efc106be7f41e8544ff5bdadc9 (diff)
net: mdio-mt7531-mmio: improve parsing of switch register on probe
The MDIO node is ALWAYS a parent of the MT7531 switch node and the MDIO registers are in the MT7531 register space (in the context of MT7988 it's all memory-mapped) With these assumption, we can simplify and permit better usage of PHY OF automatic probing by binding the mt7531-mdio-mmio driver with the MDIO node instead of the switch node. For OF PHY to be correctly autoprobed, the MDIO driver needs to attached to the MDIO node (the parent of the PHY nodes). The driver will reach the parent node (the switch node) and will parse the register address from there. Signed-off-by: Christian Marangi <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions