linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] net: phy: relax PHY and MDIO reset handling
@ 2020-06-26 15:53 Bartosz Golaszewski
  2020-06-26 15:53 ` [PATCH 1/6] net: phy: arrange headers in mdio_bus.c alphabetically Bartosz Golaszewski
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Bartosz Golaszewski @ 2020-06-26 15:53 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Heiner Kallweit, Russell King,
	David S . Miller, Jakub Kicinski, Philipp Zabel
  Cc: netdev, linux-kernel, Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Previously these patches were submitted as part of a larger series[1]
but since the approach in it will have to be reworked I'm resending
the ones that were non-controversial and have been reviewed for upstream.

Florian suggested a better solution for managing multiple resets. While
I will definitely try to implement something at the driver model's bus
level (together with regulator support), the 'resets' and 'reset-gpios'
DT property is a stable ABI defined in mdio.yaml so improving its support
is in order as we'll have to stick with it anyway. Current implementation
contains an unnecessary limitation where drivers without probe() can't
define resets.

Changes from the previous version:
- order forward declarations in patch 4 alphabetically
- collect review tags

[1] https://lkml.org/lkml/2020/6/22/253

Bartosz Golaszewski (6):
  net: phy: arrange headers in mdio_bus.c alphabetically
  net: phy: arrange headers in mdio_device.c alphabetically
  net: phy: arrange headers in phy_device.c alphabetically
  net: mdio: add a forward declaration for reset_control to mdio.h
  net: phy: reset the PHY even if probe() is not implemented
  net: phy: mdio: reset MDIO devices even if probe() is not implemented

 drivers/net/phy/mdio_bus.c    | 32 +++++++++++-----------
 drivers/net/phy/mdio_device.c | 15 +++++------
 drivers/net/phy/phy_device.c  | 51 ++++++++++++++++++-----------------
 include/linux/mdio.h          |  1 +
 4 files changed, 50 insertions(+), 49 deletions(-)

-- 
2.26.1


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

end of thread, other threads:[~2020-06-26 20:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 15:53 [PATCH 0/6] net: phy: relax PHY and MDIO reset handling Bartosz Golaszewski
2020-06-26 15:53 ` [PATCH 1/6] net: phy: arrange headers in mdio_bus.c alphabetically Bartosz Golaszewski
2020-06-26 15:53 ` [PATCH 2/6] net: phy: arrange headers in mdio_device.c alphabetically Bartosz Golaszewski
2020-06-26 15:53 ` [PATCH 3/6] net: phy: arrange headers in phy_device.c alphabetically Bartosz Golaszewski
2020-06-26 15:53 ` [PATCH 4/6] net: mdio: add a forward declaration for reset_control to mdio.h Bartosz Golaszewski
2020-06-26 16:04   ` Florian Fainelli
2020-06-26 15:53 ` [PATCH 5/6] net: phy: reset the PHY even if probe() is not implemented Bartosz Golaszewski
2020-06-26 16:06   ` Florian Fainelli
2020-06-26 15:53 ` [PATCH 6/6] net: phy: mdio: reset MDIO devices " Bartosz Golaszewski
2020-06-26 16:07   ` Florian Fainelli
2020-06-26 20:40 ` [PATCH 0/6] net: phy: relax PHY and MDIO reset handling David Miller

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).