usb: typec: ucsi: Register USB Power Delivery Capabilities
authorSaranya Gopal <saranya.gopal@intel.com>
Mon, 2 Jan 2023 06:21:08 +0000 (11:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2023 15:37:25 +0000 (16:37 +0100)
commitb04e1747fbcc6bf4a93a95b5c2505bf2a6467ee8
tree872c21734bb1bf9f368ff38970c19fd30221949c
parent9aa1afc8f62263ed064dc5d94fa7a7ee6054e2ed
usb: typec: ucsi: Register USB Power Delivery Capabilities

UCSI allows the USB PD capabilities to be read with the GET_PDO
command. This will register those capabilities and make them
visible to user space.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Co-developed-by: Rajaram Regupathy <rajaram.regupathy@intel.com>
Signed-off-by: Rajaram Regupathy <rajaram.regupathy@intel.com>
Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Link: https://lore.kernel.org/r/20230102062108.838423-1-saranya.gopal@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c
drivers/usb/typec/ucsi/ucsi.h