1
0
Fork 0
remarkable-linux/drivers/of
Florian Fainelli 2f63715138 of: mdio: honor flags passed to of_phy_connect
Commit f9a8f83b04 ("net: phy: remove flags argument from phy_{attach,
connect, connect_direct}") removed the flags argument to the PHY library
calls to: phy_{attach,connect,connect_direct}.

Most Device Tree aware drivers call of_phy_connect() with the flag
argument set to 0, but some of them might want to set a different value
there in order for the PHY driver to key a specific behavior based on
the phy_device::phy_flags value.

Allow such drivers to set custom phy_flags as part of the
of_phy_connect() call since of_phy_connect() does start the PHY state
machine, it will call into the PHY driver config_init() callback which
is usually where a specific phy_flags value is important.

Fixes: f9a8f83b04 ("net: phy: remove flags argument from phy_{attach, connect, connect_direct}")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-09-19 16:27:07 -04:00
..
testcase-data Merge branch 'devicetree/next-overlay' into devicetree/next 2014-08-11 14:06:23 +01:00
Kconfig of: Fixing OF Selftest build error 2014-08-03 12:21:28 -06:00
Makefile Merge branch 'devicetree/next-overlay' into devicetree/next 2014-08-11 14:06:23 +01:00
address.c of: Provide a function to request and map memory 2014-07-23 12:02:30 +02:00
base.c Merge branch 'devicetree/next-overlay' into devicetree/next 2014-08-11 14:06:23 +01:00
device.c of: rename of_aliases_mutex to just of_mutex 2014-07-07 13:42:52 +01:00
dynamic.c of: typo fix in __of_prop_dup() 2014-07-30 18:00:14 -06:00
fdt.c of: Allow mem_reserve of memory with a base address of zero 2014-08-16 09:02:52 +01:00
fdt_address.c of/fdt: add FDT address translation support 2014-05-20 15:19:25 -05:00
irq.c of/irq: Fix lookup to use 'interrupts-extended' property first 2014-08-16 09:03:58 +01:00
of_mdio.c of: mdio: honor flags passed to of_phy_connect 2014-09-19 16:27:07 -04:00
of_mtd.c of_mtd: Add helpers to get ECC strength and ECC step size 2014-03-10 22:42:28 -07:00
of_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-04-02 20:53:45 -07:00
of_pci.c of: implement pci_address_to_pio as weak function 2013-10-09 20:04:06 -05:00
of_pci_irq.c of_pci_irq: kill useless variable in of_irq_parse_pci() 2014-05-27 12:13:34 +01:00
of_private.h of: Transactional DT support. 2014-07-23 17:29:15 -06:00
of_reserved_mem.c drivers: of: add automated assignment of reserved regions to client devices 2014-08-01 12:22:21 -06:00
pdt.c of: device_node kobject lifecycle fixes 2014-03-19 14:58:40 +00:00
platform.c of/platform: Fix of_platform_device_destroy iteration of devices 2014-07-07 13:33:46 +01:00
selftest.c Enabling OF selftest to run without machine's devicetree 2014-08-16 09:03:56 +01:00