linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: usb251xb: support usage case without I2C control
@ 2025-08-15  2:55 Jisheng Zhang
  2025-08-15  2:55 ` [PATCH 1/2] dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case Jisheng Zhang
  2025-08-15  2:55 ` [PATCH 2/2] usb: usb251xb: support usage case without I2C control Jisheng Zhang
  0 siblings, 2 replies; 4+ messages in thread
From: Jisheng Zhang @ 2025-08-15  2:55 UTC (permalink / raw)
  To: Richard Leitner, Greg Kroah-Hartman, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-usb, devicetree, linux-kernel

Refactor so that register writes for configuration are only performed if
the device has a i2c_client provided and also register as a platform
driver. This allows the driver to be used to manage GPIO based control
of the device.

Jisheng Zhang (2):
  dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case
  usb: usb251xb: support usage case without I2C control

 .../devicetree/bindings/usb/usb251xb.yaml     |   1 -
 drivers/usb/misc/usb251xb.c                   | 108 +++++++++++++++---
 2 files changed, 94 insertions(+), 15 deletions(-)

-- 
2.50.0


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

end of thread, other threads:[~2025-08-15  3:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-15  2:55 [PATCH 0/2] usb: usb251xb: support usage case without I2C control Jisheng Zhang
2025-08-15  2:55 ` [PATCH 1/2] dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case Jisheng Zhang
2025-08-15  2:55 ` [PATCH 2/2] usb: usb251xb: support usage case without I2C control Jisheng Zhang
2025-08-15  3:31   ` Jisheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).