On Thu, Aug 29, 2024 at 10:30:49AM GMT, neil.armstrong@xxxxxxxxxx wrote: > On 29/08/2024 10:21, Dmitry Baryshkov wrote: > > The NXP PTN3222 is the single-port eUSB2 to USB2 redriver that performs > > translation between eUSB2 and USB2 signalling schemes. It supports all > > three data rates: Low Speed, Full Speed and High Speed. > > > > The reset state enables autonegotiation of the PHY role and of the data > > rate, so no additional programming is required. > > > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > > --- > > drivers/phy/Kconfig | 11 ++++ > > drivers/phy/Makefile | 1 + > > drivers/phy/phy-nxp-ptn3222.c | 119 ++++++++++++++++++++++++++++++++++++++++++ > > 3 files changed, 131 insertions(+) > > + > > + ptn3222->supplies[0].supply = "vdd3v3"; > > + ptn3222->supplies[0].init_load_uA = 11000; > > + ptn3222->supplies[1].supply = "vdd1v8"; > > + ptn3222->supplies[1].init_load_uA = 55000; > > + > > + ret = devm_regulator_bulk_get(dev, > > + NUM_SUPPLIES, > > + ptn3222->supplies); > > Suggestion only, you could switch to devm_regulator_bulk_get_const() Good idea, I'll take a look. > > > + if (ret) > > + return ret; > > + -- With best wishes Dmitry