Hi, On Wed, 29 Apr 2020 at 00:07, Chunfeng Yun <chunfeng....@mediatek.com> wrote: > > This patch adds a "bulk" API to the phy API in order to > get/init/exit/power on/off a group of phys associated > with a device. > > The bulk API will avoid adding a copy of the same code to > manage a group of phys in drivers. > > Signed-off-by: Chunfeng Yun <chunfeng....@mediatek.com> > Reviewed-by: Weijie Gao <weijie....@mediatek.com> > --- > v7: provide bulk init/exit/power on/off separately suggested by Jagan > > v6: add Reviewed-by Weijie > > v5: no changes > > v4: new patch > --- > drivers/phy/phy-uclass.c | 97 ++++++++++++++++++++++++++++++++++++++++ > include/generic-phy.h | 92 +++++++++++++++++++++++++++++++++++++ > 2 files changed, 189 insertions(+)
Please don't forget to add a test for this. Is this used by networking? Regards, Simon