[PATCH v3 0/2] usb: typec: tcpci: support setting orientation via GPIO
From: Xu Yang
Date: Mon Mar 16 2026 - 05:40:33 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 v3:
- use "err = !!orient_gpio"
- Link to v2: https://lore.kernel.org/r/20260312-support-setting-orientation-use-gpio-v2-0-59c523a09f12@xxxxxxx
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: 322a81d35ecdf9997c3bbf676e3547d75f38935a
change-id: 20260310-support-setting-orientation-use-gpio-5942d9a0b22e
Best regards,
--
Xu Yang <xu.yang_2@xxxxxxx>