Devicetree
 help / color / mirror / Atom feed
* [PATCH v9 0/3] usb: dwc3: support two connectors sharing one HS data bus
@ 2026-11-17  5:21 Qianhui Xu
  2026-11-17  5:21 ` [PATCH v9 1/3] dt-bindings: usb: snps,dwc3: two connectors are two endpoints of one port Qianhui Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Qianhui Xu @ 2026-11-17  5:21 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Thinh Nguyen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-usb, devicetree, linux-arm-msm, linux-kernel

Changes since v8 (Rob Herring, 2026-11-10, on the cover):
- dt-bindings: the two connectors are two mux'ed data streams of one
  High Speed bus, so port@0 now carries two endpoints and the second
  High Speed port (port@2) is gone.
- dt-bindings: the private "port-select-gpios" property is replaced by
  a phandle to a mux controller ("mux-controls"), e.g. a "gpio-mux".
- usb: dwc3: the shared data path is driven through the mux controller
  API (devm_mux_control_get() / mux_control_select()) instead of a raw
  GPIO.  mux_control_select() may sleep; it is only called from the
  mode worker, never from the role-switch callbacks.
- (board DTS is not part of this posting: port@0 gets two endpoints and the
  Lenovo Legion Y700 Gen 4 describes the mux on GPIO 29 in the separate board
  DTS series, because that file is not upstream yet.)

Note: the board-level DT change is posted with the "add Lenovo Legion Y700
Gen4" board DTS series ([PATCH v7]) so that every patch here applies to
mainline as-is.

Gate results (tree: 7.4-rc2 line, base f66469d9905b):
- checkpatch --strict: 0 errors / 0 warnings on all three patches.
- make dt_binding_check DT_SCHEMA_FILES=.../snps,dwc3-common.yaml: rc=0.
- CHECK_DTBS=y qcom/sm8750-lenovo-elden.dtb (with the schema): rc=0.
- drivers/usb/dwc3/ builds clean for arm64 with CONFIG_MULTIPLEXER=y.


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

end of thread, other threads:[~2026-11-17  5:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17  5:21 [PATCH v9 0/3] usb: dwc3: support two connectors sharing one HS data bus Qianhui Xu
2026-11-17  5:21 ` [PATCH v9 1/3] dt-bindings: usb: snps,dwc3: two connectors are two endpoints of one port Qianhui Xu
2026-11-17  5:40   ` sashiko-bot
2026-11-17  5:21 ` [PATCH v9 2/3] usb: roles: look up role switches attached to a graph endpoint Qianhui Xu
2026-11-17  5:21 ` [PATCH v9 3/3] usb: dwc3: select the shared HS data bus with a mux controller Qianhui Xu
2026-11-17  5:37   ` sashiko-bot

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