public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] usb: typec: ucsi: Expand power supply support
@ 2024-07-24 20:11 Jameson Thies
  2024-07-24 20:11 ` [PATCH v2 1/4] usb: typec: ucsi: Add status to UCSI power supply driver Jameson Thies
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Jameson Thies @ 2024-07-24 20:11 UTC (permalink / raw)
  To: heikki.krogerus, linux-usb
  Cc: jthies, bleung, abhishekpandit, andersson, dmitry.baryshkov,
	fabrice.gasnier, gregkh, hdegoede, neil.armstrong,
	rajaram.regupathy, saranya.gopal, linux-kernel

Hi Heikki,

This series makes the following updates to the UCSI power supply
driver.

1. Adds support for the power supply status property.
2. Updates the driver to distinguish between PD and PD DRP power supply
types.
3. Adds the charge control limit max property which can be used to
request a PR swap from sysfs.
4. Fixes a simple SET_PRD typo in the ucsi.h header.

I've checked that the series builds on top of the usb-next branch and
manually tested functionality on top of a 6.10-rc5 ChromeOS kernel. Let
me know if you have any questions.

Thanks,
Jameson

Changes in V2
- Uses DRP bit in source PDOs for setting USB DRP power supply type.
- Adds SET_SINK_PATH call when handling an update to
charge_control_limit_max.

Jameson Thies (4):
  usb: typec: ucsi: Add status to UCSI power supply driver
  usb: typec: ucsi: Add USB PD DRP to USB type
  usb: typec: ucsi: Set sink path based on UCSI charge control
  usb: typec: ucsi: Fix SET_PDR typo in UCSI header file

 drivers/usb/typec/ucsi/psy.c  | 81 ++++++++++++++++++++++++++++++++++-
 drivers/usb/typec/ucsi/ucsi.c | 15 +++++++
 drivers/usb/typec/ucsi/ucsi.h |  7 ++-
 3 files changed, 101 insertions(+), 2 deletions(-)


base-commit: 933069701c1b507825b514317d4edd5d3fd9d417
-- 
2.45.2.1089.g2a221341d9-goog


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

end of thread, other threads:[~2024-07-27 11:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 20:11 [PATCH v2 0/4] usb: typec: ucsi: Expand power supply support Jameson Thies
2024-07-24 20:11 ` [PATCH v2 1/4] usb: typec: ucsi: Add status to UCSI power supply driver Jameson Thies
2024-07-25  3:31   ` Dmitry Baryshkov
2024-07-26 21:30     ` Sebastian Reichel
2024-07-27 11:02       ` Dmitry Baryshkov
2024-07-24 20:11 ` [PATCH v2 2/4] usb: typec: ucsi: Add USB PD DRP to USB type Jameson Thies
2024-07-24 20:11 ` [PATCH v2 3/4] usb: typec: ucsi: Set sink path based on UCSI charge control Jameson Thies
2024-07-25  4:07   ` Dmitry Baryshkov
2024-07-25 19:11     ` Jameson Thies
2024-07-24 20:11 ` [PATCH v2 4/4] usb: typec: ucsi: Fix SET_PDR typo in UCSI header file Jameson Thies
2024-07-25  3:51   ` Dmitry Baryshkov
2024-07-25 18:04     ` Jameson Thies

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