Home
last modified time | relevance | path

Searched hist:cfc2928cb213d5c20b6313abb2d603c0c60d7637 (Results 1 – 1 of 1) sorted by relevance

/linux/Documentation/devicetree/bindings/mtd/
H A Djedec,spi-nor.yamldiff cfc2928cb213d5c20b6313abb2d603c0c60d7637 Fri Jun 30 16:22:32 CEST 2023 Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com> dt-bindings: mtd: jedec, spi-nor: Add DT property to avoid setting SRWD bit in status register

If the WP# signal of the flash device is either not connected or is wrongly
tied to GND (that includes internal pull-downs), and the software sets the
status register write disable (SRWD) bit in the status register then the
status register permanently becomes read-only. To avoid this added a new
boolean DT property "no-wp". If this property is set in the DT then the
software avoids setting the SRWD during status register write operation.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20230630142233.63585-2-amit.kumar-mahapatra@amd.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>