linux/drivers/of
David Daney 2510602200 netdev/of/phy: New function: of_mdio_find_bus().
Add of_mdio_find_bus() which allows an mii_bus to be located given its
associated the device tree node.

This is needed by the follow-on patch to add a driver for MDIO bus
multiplexers.

The of_mdiobus_register() function is modified so that the device tree
node is recorded in the mii_bus.  Then we can find it again by
iterating over all mdio_bus_class devices.

Because the OF device tree has now become an integral part of the
kernel, this can live in mdio_bus.c (which contains the needed
mdio_bus_class structure) instead of of_mdio.c.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-07 22:58:09 -04:00
..
address.c
base.c of: Only compile OF_DYNAMIC on PowerPC pseries and iseries 2012-02-21 13:33:00 -07:00
device.c drivercore: Output common devicetree information in uevent 2012-02-01 14:26:30 -07:00
fdt.c of/fdt.c: asm/setup.h included twice 2012-02-27 10:09:25 -06:00
gpio.c gpio: Fix range check in of_gpio_simple_xlate() 2012-04-10 14:20:56 -06:00
irq.c
Kconfig ARM: More device tree support updates 2012-03-28 12:34:33 -07:00
Makefile of/mtd/nand: add generic bindings and helpers 2012-03-15 23:28:19 +08:00
of_i2c.c
of_mdio.c netdev/of/phy: New function: of_mdio_find_bus(). 2012-05-07 22:58:09 -04:00
of_mtd.c of/mtd/nand: add generic bindings and helpers 2012-03-15 23:28:19 +08:00
of_net.c
of_pci_irq.c
of_pci.c
of_spi.c
pdt.c
platform.c Merge branch 'for-armsoc' of git://git.linaro.org/people/rmk/linux-arm 2012-03-23 17:30:49 -07:00
selftest.c of: Add of_property_match_string() to find index into a string list 2012-01-28 10:29:20 -07:00