[PATCH v2 1/3] mtd: mchp48l640: make WEL behaviour configurable

Heiko Schocher hs at denx.de
Tue Dec 3 01:55:16 PST 2024


Hello Jonas,

On 03.12.24 10:37, Jonas Rebmann wrote:
> From: David Jander <david at protonic.nl>
> 
> The 48L640 resets the WEL bit (the Write Enable Latch bit in the status
> register) to zero on the completion of write operations. In preparation
> to support chips behaving differently, introduce .auto_disable_wel
> capability, and, if it's missing, explicitly reset the WEL bit after
> writes.
> 
> Signed-off-by: David Jander <david at protonic.nl>
> Signed-off-by: Jonas Rebmann <jre at pengutronix.de>
> ---
>   drivers/mtd/devices/mchp48l640.c | 14 +++++++++++---
>   1 file changed, 11 insertions(+), 3 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de



More information about the linux-mtd mailing list