Re: [RESEND PATCH v4 2/2] mtd: spi-nor: support vcc-supply regulator

From: Pratyush Yadav
Date: Mon Nov 11 2024 - 09:02:18 EST


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