On Tue, Oct 29 2024, Tudor Ambarus wrote: > From: Peng Fan <peng.fan@xxxxxxx> > > SPI NOR flashes needs power supply to work properly. The power supply > maybe software controllable per board design. So add the support > for an vcc-supply regulator. > > Signed-off-by: Peng Fan <peng.fan@xxxxxxx> > Reviewed-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > [ta: move devm_regulator_get_enable() to spi_nor_probe(). Add local dev > variable to avoid dereferences.] > Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx> Reviewed-by: Pratyush Yadav <pratyush@xxxxxxxxxx> -- Regards, Pratyush Yadav