[PATCH v2 0/2] usb: typec: tcpci: support setting orientation via GPIO

From: Xu Yang

Date: Thu Mar 12 2026 - 04:10:58 EST


This patchset will add support to set orientation via a simple GPIO in
case the tcpci compatible chip doesn't present "Connection Orientation"
standard output capability.

---
Changes in v2:
- rename the property as orientation-gpios
- add maxItems to the property and modify description
- improve tcpci_set_orientation()
- Link to v1: https://lore.kernel.org/r/20260310-support-setting-orientation-use-gpio-v1-0-da31dc6cd641@xxxxxxx

---
Xu Yang (2):
dt-bindings: usb: nxp,ptn5110: add optional orientation-gpios property
usb: typec: tcpci: support setting orientation via GPIO

Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml | 4 ++++
drivers/usb/typec/tcpm/tcpci.c | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
---
base-commit: bb375c251ab40bdbc5272008fcf2bc6cd5266610
change-id: 20260310-support-setting-orientation-use-gpio-5942d9a0b22e

Best regards,
--
Xu Yang <xu.yang_2@xxxxxxx>