summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco@wolfvision.net>2023-11-23 18:37:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-04 16:29:09 +0300
commit6a4d4a27f986ac19338da8f18d73eed80ce28fca (patch)
tree08f4bf62e58c7a1c2e99214cfa04192612746473 /scripts/gdb/linux/device.py
parentaa4f2b3e418e8673e55145de8b8016a7a9920306 (diff)
downloadlinux-6a4d4a27f986ac19338da8f18d73eed80ce28fca.tar.xz
usb: typec: tps6598x: add reset gpio support
The TPS6598x PD controller provides an active-high hardware reset input that reinitializes all device settings. If it is not grounded by design, the driver must be able to de-assert it in order to initialize the device. The PD controller is not ready for registration right after the reset de-assertion and a delay must be introduced in that case. According to TI, the delay can reach up to 1000 ms [1], which is in line with the experimental results obtained with a TPS65987D. Add a GPIO descriptor for the reset signal and basic reset management for initialization and suspend/resume. [1] https://e2e.ti.com/support/power-management-group/power-management/ f/power-management-forum/1269856/tps65987d-tps65987d-reset-de-assert- to-normal-operation/4809389#4809389 Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20230912-topic-tps6598x_reset-v3-1-0c2873070a77@wolfvision.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions