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

Pratyush Yadav pratyush at kernel.org
Mon Nov 11 06:02:05 PST 2024


On Tue, Oct 29 2024, Tudor Ambarus wrote:

> From: Peng Fan <peng.fan at nxp.com>
>
> 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 at nxp.com>
> Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>
> [ta: move devm_regulator_get_enable() to spi_nor_probe(). Add local dev
> variable to avoid dereferences.]
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>

Reviewed-by: Pratyush Yadav <pratyush at kernel.org>

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list