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

Inochi Amaoto posted 3 patches 3 weeks, 5 days ago
Only 1 patches received!
There is a newer version of this series
drivers/phy/phy-core.c  | 716 ++++++++++++++++++++++++++++++++++++++--
include/linux/phy/phy.h | 183 ++++++++++
2 files changed, 865 insertions(+), 34 deletions(-)
[PATCH 0/3] phy: core: Add phy bulk helpers support
Posted by Inochi Amaoto 3 weeks, 5 days ago
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