[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250819002217.30249-1-jszhang@kernel.org>
Date: Tue, 19 Aug 2025 08:22:14 +0800
From: Jisheng Zhang <jszhang@...nel.org>
To: Richard Leitner <richard.leitner@...ux.dev>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-usb@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] usb: usb251xb: support usage case without I2C control
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
Powered by blists - more mailing lists