summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/sfdp.c
diff options
context:
space:
mode:
authorSai Krishna Potthuri <sai.krishna.potthuri@amd.com>2022-09-08 12:14:28 +0530
committerTudor Ambarus <tudor.ambarus@microchip.com>2022-10-25 05:11:34 +0300
commit8f1ee9ef71d0c0b185d2afc800e68d6addf29fe5 (patch)
treed13410de757c1b5e663ccbe675528e8c049c2d83 /drivers/mtd/spi-nor/sfdp.c
parent7f2937efe18630832c8eae7a74e8c19fc1e7936e (diff)
downloadlinux-8f1ee9ef71d0c0b185d2afc800e68d6addf29fe5.tar.bz2
mtd: spi-nor: Add support for flash reset
Add support for spi-nor flash reset via GPIO controller by reading the reset-gpio property. If there is a valid GPIO specifier then reset will be performed by asserting and deasserting the GPIO using gpiod APIs otherwise it will not perform any operation. Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20220908064428.2962-3-sai.krishna.potthuri@amd.com
Diffstat (limited to 'drivers/mtd/spi-nor/sfdp.c')
0 files changed, 0 insertions, 0 deletions