All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: mdio: setup both fwnode and of_node
@ 2021-06-17 12:29 Ioana Ciornei
  2021-06-17 12:29 ` [PATCH net-next v2 1/3] net: mdio: setup of_node for the MDIO device Ioana Ciornei
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ioana Ciornei @ 2021-06-17 12:29 UTC (permalink / raw)
  To: davem, kuba, netdev
  Cc: andrew, hkallweit1, linux, gregkh, rafael, grant.likely,
	calvin.johnson, Ioana Ciornei

From: Ioana Ciornei <ioana.ciornei@nxp.com>

The first patch in this series fixes a bug introduced by mistake in the
previous ACPI MDIO patch set.

The next two patches are adding a new helper which takes a device and a
fwnode_handle and populates both the of_node and fwnode so that we make
sure that a bug like this does not happen anymore.
Also, the new helper is used in the MDIO area.

Ioana Ciornei (3):
  net: mdio: setup of_node for the MDIO device
  driver core: add a helper to setup both the of_node and fwnode of a
    device
  net: mdio: use device_set_node() to setup both fwnode and of

 drivers/base/core.c            | 7 +++++++
 drivers/net/mdio/fwnode_mdio.c | 2 +-
 drivers/net/mdio/of_mdio.c     | 9 ++++-----
 drivers/net/phy/mdio_bus.c     | 3 +--
 include/linux/device.h         | 1 +
 5 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-17 19:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 12:29 [PATCH net-next v2 0/3] net: mdio: setup both fwnode and of_node Ioana Ciornei
2021-06-17 12:29 ` [PATCH net-next v2 1/3] net: mdio: setup of_node for the MDIO device Ioana Ciornei
2021-06-17 12:29 ` [PATCH net-next v2 2/3] driver core: add a helper to setup both the of_node and fwnode of a device Ioana Ciornei
2021-06-17 12:50   ` Greg KH
2021-06-17 12:29 ` [PATCH net-next v2 3/3] net: mdio: use device_set_node() to setup both fwnode and of Ioana Ciornei
2021-06-17 19:20 ` [PATCH net-next v2 0/3] net: mdio: setup both fwnode and of_node patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.