linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] phy: core: Add phy bulk helpers support
@ 2026-08-31  2:53 Inochi Amaoto
  2026-08-31  2:55 ` [PATCH 1/3] phy: core: Add common helper to add phy phandle device link Inochi Amaoto
  0 siblings, 1 reply; 10+ messages in thread
From: Inochi Amaoto @ 2026-08-31  2:53 UTC (permalink / raw)
  To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam
  Cc: Andy Shevchenko, Inochi Amaoto, linux-phy, linux-kernel,
	Yixun Lan, Longbin Li

As discussed in [1], some drivers may do not care the difference between
phys. Instead, they only need to treat them as a group and operate them
together. This means a bulk operation is needed.

Add some bulk helper functions for phy core by referencing the design of
clock/reset subsystem. This can relieve the driver owners' life who needs
to handle many phys, as well as each phy error reporting.

[1] https://lore.kernel.org/linux-pci/ak9KzNFF26B0Kttz@ashevche-desk.local/


Inochi Amaoto (3):
  phy: core: Add common helper to add phy phandle device link
  phy: core: Add common helper for get phy phandle by index
  phy: core: Add phy bulk data helper functions

 drivers/phy/phy-core.c  | 716 ++++++++++++++++++++++++++++++++++++++--
 include/linux/phy/phy.h | 183 ++++++++++
 2 files changed, 865 insertions(+), 34 deletions(-)

--
2.55.0


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2026-08-31 10:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31  2:53 [PATCH 0/3] phy: core: Add phy bulk helpers support Inochi Amaoto
2026-08-31  2:55 ` [PATCH 1/3] phy: core: Add common helper to add phy phandle device link Inochi Amaoto
2026-08-31  2:55   ` [PATCH 2/3] phy: core: Add common helper for get phy phandle by index Inochi Amaoto
2026-08-31  3:03     ` sashiko-bot
2026-08-31  9:13     ` Andy Shevchenko
2026-08-31  9:48       ` Inochi Amaoto
2026-08-31  2:55   ` [PATCH 3/3] phy: core: Add phy bulk data helper functions Inochi Amaoto
2026-08-31  9:28     ` Andy Shevchenko
2026-08-31 10:00       ` Inochi Amaoto
2026-08-31  3:03   ` [PATCH 1/3] phy: core: Add common helper to add phy phandle device link sashiko-bot

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