public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] usb: typec: tcpci: support setting orientation via GPIO
@ 2026-03-19  9:48 Xu Yang
  2026-03-19  9:48 ` [PATCH v4 1/2] dt-bindings: usb: nxp,ptn5110: add optional orientation-gpios property Xu Yang
  2026-03-19  9:48 ` [PATCH v4 2/2] usb: typec: tcpci: support setting orientation via GPIO Xu Yang
  0 siblings, 2 replies; 4+ messages in thread
From: Xu Yang @ 2026-03-19  9:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Li Jun, Badhri Jagan Sridharan, Heikki Krogerus
  Cc: linux-usb, imx, devicetree, linux-kernel, Xu Yang

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 v4:
- simplify gpiod_set_value_cansleep()
- Link to v3: https://lore.kernel.org/r/20260316-support-setting-orientation-use-gpio-v3-0-0e6622b00dd9@nxp.com

Changes in v3:
- use "err = !!orient_gpio"
- Link to v2: https://lore.kernel.org/r/20260312-support-setting-orientation-use-gpio-v2-0-59c523a09f12@nxp.com

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@nxp.com

---
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: 84db3719d27337b952fe382413d341fb95351130
change-id: 20260310-support-setting-orientation-use-gpio-5942d9a0b22e

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-23  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19  9:48 [PATCH v4 0/2] usb: typec: tcpci: support setting orientation via GPIO Xu Yang
2026-03-19  9:48 ` [PATCH v4 1/2] dt-bindings: usb: nxp,ptn5110: add optional orientation-gpios property Xu Yang
2026-03-19  9:48 ` [PATCH v4 2/2] usb: typec: tcpci: support setting orientation via GPIO Xu Yang
2026-03-23  9:42   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox