]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Enable UCSI v2.0 notifications
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Fri, 24 May 2024 10:58:21 +0000 (11:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 13:45:16 +0000 (15:45 +0200)
commit5821bf2dffbe18fe1f097dbb027415fa15a38e9a
tree057810b277928b80a1dd96823ba1cfd20b146943
parent4207df37dd744f0cb09b7c09b9c5338ea65c44e7
usb: typec: ucsi: Enable UCSI v2.0 notifications

UCSI version 2.0 and above define new PPM notifications. Update the
logic to determine which notifications to enable taking into account
these changes.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240524105837.15342-3-diogo.ivo@tecnico.ulisboa.pt
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c