All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next PATCH v2 0/5] PolarFire SoC macb reset support
@ 2022-07-04 11:45 ` Conor Dooley
  0 siblings, 0 replies; 16+ messages in thread
From: Conor Dooley @ 2022-07-04 11:45 UTC (permalink / raw)
  To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Nicolas Ferre, Claudiu Beznea
  Cc: netdev, devicetree, linux-riscv, linux-kernel, Conor Dooley

Hey all,
Jakub requested that these patches be split off from the series
adding the reset controller itself that I sent ~yesterday~ last
week [0].

The Cadence MACBs on PolarFire SoC (MPFS) have reset capability and are
compatible with the zynqmp's init function. I have removed the zynqmp
specific comments from that function & renamed it to reflect what it
does, since it is no longer zynqmp only.

MPFS's MACB had previously used the generic binding, so I also added
the required specific binding.

For v2, I noticed some low hanging cleanup fruit so there are extra
patches added for that:
moving the init function out of the config structs, aligning the
alignment of the zynqmp & default config structs with the other dozen
or so structs & simplifing the error paths to use dev_err_probe().

Feel free to apply as many or as few of those as you like.

Thanks,
Conor.

Changes since v1:
- added the 3 aforementioned cleanup patches
- fixed two stylistic complaints from Claudiu

Conor Dooley (5):
  dt-bindings: net: cdns,macb: document polarfire soc's macb
  net: macb: add polarfire soc reset support
  net: macb: unify macb_config alignment style
  net: macb: simplify error paths in init_reset_optional()
  net: macb: sort init_reset_optional() with other init()s

 .../devicetree/bindings/net/cdns,macb.yaml    |   1 +
 drivers/net/ethernet/cadence/macb_main.c      | 106 +++++++++---------
 2 files changed, 56 insertions(+), 51 deletions(-)

-- 
2.36.1


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

end of thread, other threads:[~2022-07-05  7:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 11:45 [net-next PATCH v2 0/5] PolarFire SoC macb reset support Conor Dooley
2022-07-04 11:45 ` Conor Dooley
2022-07-04 11:45 ` [net-next PATCH v2 1/5] dt-bindings: net: cdns,macb: document polarfire soc's macb Conor Dooley
2022-07-04 11:45   ` Conor Dooley
2022-07-04 11:45 ` [net-next PATCH v2 2/5] net: macb: add polarfire soc reset support Conor Dooley
2022-07-04 11:45   ` Conor Dooley
2022-07-04 11:45 ` [net-next PATCH v2 3/5] net: macb: unify macb_config alignment style Conor Dooley
2022-07-04 11:45   ` Conor Dooley
2022-07-05  7:19   ` Claudiu.Beznea
2022-07-05  7:19     ` Claudiu.Beznea
2022-07-04 11:45 ` [net-next PATCH v2 4/5] net: macb: simplify error paths in init_reset_optional() Conor Dooley
2022-07-04 11:45   ` Conor Dooley
2022-07-04 11:45 ` [net-next PATCH v2 5/5] net: macb: sort init_reset_optional() with other init()s Conor Dooley
2022-07-04 11:45   ` Conor Dooley
2022-07-05  7:20 ` [net-next PATCH v2 0/5] PolarFire SoC macb reset support Claudiu.Beznea
2022-07-05  7:20   ` Claudiu.Beznea

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.