usb: typec: ucsi: add PMIC Glink UCSI driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 21 Mar 2023 13:21:41 +0000 (14:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2023 16:36:24 +0000 (17:36 +0100)
commit62b5412b1f4afab27d8df90ddcabb8e1e11a00ad
treeeb496e94e7b4a2c93bc4d2ad0a04d39b0f1e1e08
parent17eb81908084047c8b08ae99863dccada5efd5e2
usb: typec: ucsi: add PMIC Glink UCSI driver

Introduce the UCSI PMIC Glink aux driver that communicates
with the aDSP firmware with the UCSI protocol which handles
the USB-C Port(s) Power Delivery.

The UCSI messaging is necessary on newer Qualcomm SoCs to
provide USB role switch and altmode notifications.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230130-topic-sm8450-upstream-pmic-glink-v5-1-552f3b721f9e@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/Kconfig
drivers/usb/typec/ucsi/Makefile
drivers/usb/typec/ucsi/ucsi_glink.c [new file with mode: 0644]