mbox series

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

Message ID 20230912-topic-tps6598x_reset-v3-0-0c2873070a77@wolfvision.net
Headers show
Series usb: typec: tps6598x: add reset gpio support | expand

Message

Javier Carrasco Nov. 23, 2023, 3:37 p.m. UTC
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@wolfvision.net>
---
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@wolfvision.net

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@wolfvision.net

---
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,