[PATCH v3 0/2] usb: typec: tps6598x: add reset gpio support

From: Javier Carrasco
Date: Thu Nov 23 2023 - 10:37:37 EST


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.

This series adds and documents the reset signal management. It also
includes the basic reset management for initialization and
suspend/resume control.

Signed-off-by: Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>
---
Changes in v3:
- core.c: added TPS_ prefix to the setup time definition for code
consistency.
- Link to v2: https://lore.kernel.org/r/20230912-topic-tps6598x_reset-v2-0-02a12e2ec50a@xxxxxxxxxxxxxx

Changes in v2:
- core.c: minor coding style correction ({} in 'else' after 'if {}')
- ti,tps6598x.yaml: reference to the device instead of the driver in
the commit message.
- Link to v1: https://lore.kernel.org/r/20230912-topic-tps6598x_reset-v1-0-78dc0bf61790@xxxxxxxxxxxxxx

---
Javier Carrasco (2):
usb: typec: tps6598x: add reset gpio support
dt-bindings: usb: tps6598x: add reset-gpios property

.../devicetree/bindings/usb/ti,tps6598x.yaml | 6 ++++++
drivers/usb/typec/tipd/core.c | 20 ++++++++++++++++++++
2 files changed, 26 insertions(+)
---
base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
change-id: 20230912-topic-tps6598x_reset-55e9494e8649

Best regards,
--
Javier Carrasco <javier.carrasco@xxxxxxxxxxxxxx>