Skip to content

extcon: Add Type-C Virtual PD

Jagan Teki linux-arm-kernel linux-devicetree linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: extcon: Document Type-C Virtual PD driverDocumentation/devicetree/bindings/extcon/extcon-usbc-virtual-pd.yaml+66 -00 replies
2/3extcon: Add Type-C Virtual PD driverMAINTAINERS drivers/extcon/Kconfig drivers/extcon/Makefile +1 more+302 -00 replies
3/3arm64: dts: rk3399-rock-pi-4c: Enable Display Portarch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] extcon: Add Type-C Virtual PD

USB Type-C protocol supports various modes of operations includes PD, USB3, and Altmode. If the platform design supports a Type-C connector then configuring these modes can be done via enumeration.

However, there are some platforms that design these modes of operations as separate protocol connectors like design Display Port from on-chip USB3 controller. So accessing Type-C Altmode Display Port via onboard Display Port connector instead of a Type-C connector.

These kinds of platforms require an explicit extcon driver in order to handle Power Delivery and Port Detection.

This series support this Type-C Virtual PD and enable the same in ROCK Pi 4C SBC.

Any inputs?
Jagan.

Jagan Teki (3):
dt-bindings: extcon: Document Type-C Virtual PD driver
extcon: Add Type-C Virtual PD driver
arm64: dts: rk3399-rock-pi-4c: Enable Display Port

 .../extcon/extcon-usbc-virtual-pd.yaml        |  66 ++++
 MAINTAINERS                                   |   6 +
 .../boot/dts/rockchip/rk3399-rock-pi-4c.dts   |  16 +
 drivers/extcon/Kconfig                        |  10 +
 drivers/extcon/Makefile                       |   1 +
 drivers/extcon/extcon-usbc-virtual-pd.c       | 285 ++++++++++++++++++
 6 files changed, 384 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/extcon/extcon-usbc-virtual-pd.yaml
 create mode 100644 drivers/extcon/extcon-usbc-virtual-pd.c
Signature · 1 line
2.25.1