]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Enable UCSI commands in debugfs
authorMadhu M <madhu.m@intel.com>
Sat, 18 Jan 2025 17:24:55 +0000 (22:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Feb 2025 15:27:30 +0000 (16:27 +0100)
commit9bc3442914692109ac7194449e1a0866ca39b1f1
treec609491a61903cab0dd5753717f6f833d2c5ea45
parent856a2d5946c14a387e9eba12ddc95198efc02d71
usb: typec: ucsi: Enable UCSI commands in debugfs

Enable the UCSI commands UCSI_SET_NEW_CAM,
UCSI_GET_ERROR_STATUS, UCSI_GET_CAM_CS, and UCSI_GET_LPM_PPM_INFO
support in debugfs to enhance PD/TypeC debugging capability.

Signed-off-by: Madhu M <madhu.m@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250118172455.701348-2-madhu.m@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/debugfs.c
drivers/usb/typec/ucsi/ucsi.h