]> www.infradead.org Git - users/dwmw2/linux.git/commit
usb: typec: ucsi: glink: set orientation aware if supported
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 11 Apr 2024 04:49:57 +0000 (07:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Apr 2024 14:47:24 +0000 (16:47 +0200)
commit3d1b6c9d47707d6a0f80bb5db6473b1f107b5baf
tree607b6c795d0b720798a1e1f864d0856eff370ea0
parent62866465196228917f233aea68de73be6cdb9fae
usb: typec: ucsi: glink: set orientation aware if supported

If the PMIC-GLINK device has orientation GPIOs declared, then it will
report connection orientation. In this case set the flag to mark
registered ports as orientation-aware.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240411-ucsi-orient-aware-v2-5-d4b1cb22a33f@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_glink.c