diff options
author | 2022-09-08 12:14:28 +0530 | |
---|---|---|
committer | 2022-10-25 05:11:34 +0300 | |
commit | 8f1ee9ef71d0c0b185d2afc800e68d6addf29fe5 (patch) | |
tree | d13410de757c1b5e663ccbe675528e8c049c2d83 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | dt-bindings: mtd: spi-nor: Add reset-gpios property (diff) | |
download | wireguard-linux-8f1ee9ef71d0c0b185d2afc800e68d6addf29fe5.tar.xz wireguard-linux-8f1ee9ef71d0c0b185d2afc800e68d6addf29fe5.zip |
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/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions