aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHui Wang <[email protected]>2024-06-18 11:26:20 +0000
committerGreg Kroah-Hartman <[email protected]>2024-06-24 14:10:36 +0000
commit4fb92bdb8e84e618f8c289dc56a923b914a72cac (patch)
tree5a38cebd7028b24291047e56635ded7372a18b4b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdt-bindings: serial: sc16is7xx: add reset-gpios (diff)
downloadkernel-4fb92bdb8e84e618f8c289dc56a923b914a72cac.tar.gz
kernel-4fb92bdb8e84e618f8c289dc56a923b914a72cac.zip
serial: sc16is7xx: hardware reset chip if reset-gpios is defined in DT
Some boards connect a GPIO to the reset pin, and the reset pin needs to be set up correctly before accessing the chip. Add a function to handle the chip reset. If the reset-gpios is defined in the DT, do hardware reset through this GPIO, otherwise do software reset as before. Reviewed-by: Lech Perczak <[email protected]> Tested-by: Hugo Villeneuve <[email protected]> Reviewed-by: Hugo Villeneuve <[email protected]> Signed-off-by: Hui Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions