[PATCH v5 0/4] usb: typec: ucsi: Add support for SET_PDOS command

Pooja Katiyar
2025-10-30T14:48:19Z

This series implements support for UCSI SET_PDOS command. It provides
interface to send message out data structure and update source or sink
capabilities PDOs on a connector over debugfs interface.

It also updates UCSI structure to have message in and message out fields
instead of handling them as separate parameters.

Changelog v5:
- Rebased patches to v6.18-rc3.

Changelog v4:
- Fixed build errors reported by kernel test robot.
- Added changelogs.

Pooja Katiyar (4):
usb: typec: ucsi: Update UCSI structure to have message in and message
out fields
usb: typec: ucsi: Add support for message out data structure
usb: typec: ucsi: Enable debugfs for message_out data structure
usb: typec: ucsi: Add support for SET_PDOS command

drivers/usb/typec/ucsi/cros_ec_ucsi.c | 5 +-
drivers/usb/typec/ucsi/debugfs.c | 36 +++++++-
drivers/usb/typec/ucsi/displayport.c | 11 ++-
drivers/usb/typec/ucsi/ucsi.c | 118 ++++++++++++++++--------
drivers/usb/typec/ucsi/ucsi.h | 22 +++--
drivers/usb/typec/ucsi/ucsi_acpi.c | 25 ++++-
drivers/usb/typec/ucsi/ucsi_ccg.c | 11 +--
drivers/usb/typec/ucsi/ucsi_yoga_c630.c | 15 ++-
8 files changed, 172 insertions(+), 71 deletions(-)

--
2.43.0