[PATCH 0/3] phy: core: Add phy bulk helpers support

From: Inochi Amaoto

Date: Sun Aug 30 2026 - 22:53:53 EST


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