summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/tegra20_timer.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2014-03-19 23:15:24 +0100
committerDavid S. Miller <davem@davemloft.net>2014-03-20 22:10:28 +0100
commit3c6f5592203e8126b70717f040c6c59f953068b3 (patch)
treeff2eb40b5de30aff7966f66a6bccf1e7955fc550 /drivers/clocksource/tegra20_timer.c
parentdt: Document a compatible entry for MDIO ethernet Phys (diff)
downloadlinux-3c6f5592203e8126b70717f040c6c59f953068b3.tar.xz
linux-3c6f5592203e8126b70717f040c6c59f953068b3.zip
of_mdio: Allow the DT to specify the phy ID and avoid autoprobing
This makes the generic of_mdiobus_register parse the DT compatible string for the pattern ethernet-phy-idAAAA.BBBB. If present it should be a value that matches the phy-id register normally readable through MDIO. When the ID is given the phy autoprobing is defeated and the phy is created directly. This is necessary to support phy's that cannot be autoprobed when of_mdiobus_register is called. Specifically, my case has the phy in reset at of_mdiobus_register, the reset is only released once the ethernet driver starts, before it attaches to the phy. Tested on ARM Kirkwood with phy id 0x01410e90 (Marvell 88E1318) Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource/tegra20_timer.c')
0 files changed, 0 insertions, 0 deletions