diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-07-16 15:13:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-16 23:33:16 -0700 |
commit | 0a0ea068728138641037daa5fce33cb06724285d (patch) | |
tree | bada37eb1a3bca6993d078ad2d3ea98afe3e4cce /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f68c9257201ff5d443bf2e815ce01578835674e4 (diff) |
net: davinci_mdio: allow to create phys from dt
This patch allows to create PHYs from DT in case
if they are explicitly defined. The of_mdiobus_register() is
used for such purposes.
For backward compatibility, call of_mdiobus_register() only in case
if at least one PHY's child is defined in DT, otherwise rollback to
mdiobus_register().
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions