mbox series

[v3,0/2] mtd: spi-nor: Add flash device reset support

Message ID 20220908064428.2962-1-sai.krishna.potthuri@amd.com
Headers show
Series mtd: spi-nor: Add flash device reset support | expand

Message

Sai Krishna Potthuri Sept. 8, 2022, 6:44 a.m. UTC
Update spi-nor dt-binding and spi-nor core to support flash device reset
using reset-gpios property.

changes in v3:
-> 1/2 - Add reset-gpios property in the example dts.

changes in v2:
-> 1/2 - Updated the description of the 'reset-gpios' property.
-> 2/2 - Updated the reset sequence to match with "active low" flag in
device-tree, also removed unwanted comments.
-> 2/2 - Updated the logic to perform the flash reset unconditionally.
-> 2/2 - Updated the delay values to support more number of flash devices.


Sai Krishna Potthuri (2):
  dt-bindings: mtd: spi-nor: Add reset-gpios property
  mtd: spi-nor: Add support for flash reset

 .../bindings/mtd/jedec,spi-nor.yaml           |  8 ++++++
 drivers/mtd/spi-nor/core.c                    | 25 +++++++++++++++++++
 2 files changed, 33 insertions(+)

Comments

Tudor Ambarus Oct. 25, 2022, 2:32 a.m. UTC | #1
On Thu, 8 Sep 2022 12:14:26 +0530, Sai Krishna Potthuri wrote:
> Update spi-nor dt-binding and spi-nor core to support flash device reset
> using reset-gpios property.
> 
> changes in v3:
> -> 1/2 - Add reset-gpios property in the example dts.
> 
> changes in v2:
> -> 1/2 - Updated the description of the 'reset-gpios' property.
> -> 2/2 - Updated the reset sequence to match with "active low" flag in
> device-tree, also removed unwanted comments.
> -> 2/2 - Updated the logic to perform the flash reset unconditionally.
> -> 2/2 - Updated the delay values to support more number of flash devices.
> 
> [...]

Applied to spi-nor/next, thanks!

[1/2] dt-bindings: mtd: spi-nor: Add reset-gpios property
      https://git.kernel.org/mtd/c/7f2937efe186
[2/2] mtd: spi-nor: Add support for flash reset
      https://git.kernel.org/mtd/c/8f1ee9ef71d0

Best regards,