[PATCH 1/4] dt-bindings: connector: Add DP AltMode VDO definitions
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Wed Oct 14 16:46:18 PDT 2026
On Wed, Oct 14, 2026 at 11:31:49PM +0200, Sebastian Reichel wrote:
> From: Sebastian Reichel <sebastian.reichel at collabora.com>
>
> The typical USB-C DisplayPort AltMode capabilities for a down facing
> port (i.e. sending out video data) looks like this:
>
> altmodes {
> displayport {
> svid = /bits/ 16 <0xff01>;
> vdo = <0x00001c46>;
> };
> };
>
> Improve the readability by adding defines for the numbers, so that
> the above instead looks like this:
>
> altmodes {
> displayport {
> svid = /bits/ 16 <USB_SVID_DP_ALTMODE>;
> vdo = <VDO_DP(DP_CAP_DPAM_V2_0, DP_CAP_CABLE_TYPE_PASSIVE,
> DP_CAP_UHBR_13_5_UNSUPPORTED,
> DP_PIN_UFP_NONE, DP_PIN_DFP_C_D_E,
> DP_CAP_USB2_USED, DP_CAP_RECEPTACLE,
> DP_CAP_SIGNALLING_HBR3, DP_CAP_DFP_D)>;
> };
> };
>
> The generated DT binary will stay unchanged.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
> include/dt-bindings/usb/pd.h | 58 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 58 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
--
With best wishes
Dmitry
More information about the Linux-rockchip
mailing list