linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: usb251xb: support usage case without I2C control
@ 2025-08-19  0:22 Jisheng Zhang
  2025-08-19  0:22 ` [PATCH v2 1/3] dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case Jisheng Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jisheng Zhang @ 2025-08-19  0:22 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.

Since v1:
 - make the modern pm macros usage a separate patch
 - use pm_sleep_ptr instead of pm_ptr for usb251xb_plat_pm_ops, because
   this ops is for PM_SLEEP only.

Jisheng Zhang (3):
  dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case
  usb: usb251xb: use modern PM macros
  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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19  0:22 [PATCH v2 0/2] usb: usb251xb: support usage case without I2C control Jisheng Zhang
2025-08-19  0:22 ` [PATCH v2 1/3] dt-bindings: usb: usb251xb: make reg optional for no I2C ctrl use case Jisheng Zhang
2025-08-19  9:22   ` Krzysztof Kozlowski
2025-08-19 11:31     ` Jisheng Zhang
2025-08-19  0:22 ` [PATCH v2 2/3] usb: usb251xb: use modern PM macros Jisheng Zhang
2025-08-19  0:22 ` [PATCH v2 3/3] usb: usb251xb: support usage case without I2C control Jisheng Zhang
2025-08-19  9:24   ` Krzysztof Kozlowski

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).