netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] platform data controls for mdio-gpio
@ 2018-12-06 13:58 Andrew Lunn
  2018-12-06 13:58 ` [PATCH net-next 1/2] net: phy: mdio-gpio: Add platform_data support for phy_mask Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew Lunn @ 2018-12-06 13:58 UTC (permalink / raw)
  To: David Miller; +Cc: Florian Fainelli, Heiner Kallweit, netdev, Andrew Lunn

Soon to be mainlined is an x86 platform with a Marvell switch, and a
bit-banging MDIO bus. In order to make this work, the phy_mask of the
MDIO bus needs to be set to prevent scanning for PHYs, and the
phy_ignore_ta_mask needs to be set because the switch has broken
turnaround.

Add a platform_data structure with these parameters.

Andrew Lunn (2):
  net: phy: mdio-gpio: Add platform_data support for phy_mask
  net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data

 MAINTAINERS                             |  1 +
 drivers/net/phy/mdio-gpio.c             |  7 +++++++
 include/linux/platform_data/mdio-gpio.h | 14 ++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 include/linux/platform_data/mdio-gpio.h

-- 
2.19.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-06 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-06 13:58 [PATCH net-next 0/2] platform data controls for mdio-gpio Andrew Lunn
2018-12-06 13:58 ` [PATCH net-next 1/2] net: phy: mdio-gpio: Add platform_data support for phy_mask Andrew Lunn
2018-12-06 13:58 ` [PATCH net-next 2/2] net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data Andrew Lunn
2018-12-06 17:22 ` [PATCH net-next 0/2] platform data controls for mdio-gpio Florian Fainelli
2018-12-06 19:54   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).