usb: typec: altmodes/displayport: add support for embedded DP cases
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 17 Aug 2023 15:08:23 +0000 (18:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2023 12:45:53 +0000 (14:45 +0200)
commit0bd9e0219bf0764149eb83826c774162c09e74de
tree2324372da141cf927a5ff97258e09507e57270c1
parentae257611573cde279d31be3961a59e255f567fb0
usb: typec: altmodes/displayport: add support for embedded DP cases

In the embedded cases, the DisplayPort connector is handled by the TCPM
itself. It was proposed to add the "displayport" OF property to the DT
bindings, but it  was rejected in favour of properly describing the
electrical signal path using of_graph.

Fallback to the controller fwnode for HPD notifications to
support such usecases without requiring additional DT properties.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230817150824.14371-2-dmitry.baryshkov@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/altmodes/displayport.c