Re: [PATCH 0/5] Add Type-C DP support for RK3399 EVB IND board
From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-07-15 14:25:59
Also in:
dri-devel, linux-devicetree, linux-phy, linux-rockchip, lkml
On Tue, 15 Jul 2025 19:24:51 +0800, Chaoyi Chen wrote:
From: Chaoyi Chen <redacted>
The RK3399 EVB IND board has a Type-C interface DisplayPort. It use
fusb302 chip as Type-C controller.
This series focuses on adding TCPM support for USBDP PHY and DP driver.
Before this, the USBDP PHY and DP controller of RK3399 sensed state
changes through extcon, and devices such as the RK3399 Gru-Chromebook
rely on them. This series should not break them.
Patch1 add missing "displayport" prop for USB connector binding.
Patch2 add new Type-C mode/orientation switch for RK3399 USBDP phy
binding.
Patch3 add TCPM support for RK3399 USBDP PHY.
Patch4 add TCPM support for CDN-DP.
Patch5 add Type-C DP support for RK3399 EVB IND board.
Chaoyi Chen (5):
dt-bindings: connector: Add displayport connector for hotplug notify
dt-bindings: phy: rockchip: rk3399-typec-phy: Support mode/orientation
switch
phy: rockchip: phy-rockchip-typec: Add support for Type-C TCPM
drm/rockchip: cdn-dp: Add support for Type-C TCPM
arm64: dts: rockchip: rk3399-evb-ind: Add support for DisplayPort
.../bindings/connector/usb-connector.yaml | 4 +
.../phy/rockchip,rk3399-typec-phy.yaml | 14 +
.../boot/dts/rockchip/rk3399-evb-ind.dts | 119 +++++++
drivers/gpu/drm/rockchip/cdn-dp-core.c | 37 +-
drivers/phy/rockchip/phy-rockchip-typec.c | 335 +++++++++++++++++-
5 files changed, 482 insertions(+), 27 deletions(-)
--
2.49.0
My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade This patch series was applied (using b4) to base: Base: attempting to guess base-commit... Base: tags/next-20250715 (exact match) If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically) New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/rockchip/' for 20250715112456.101-1-kernel@airkyi.com: arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtb: dp@fec00000 (rockchip,rk3399-cdn-dp): ports: 'port@0' is a required property from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3399-cdn-dp.yaml# arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtb: dp@fec00000 (rockchip,rk3399-cdn-dp): ports: 'port@1' is a required property from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3399-cdn-dp.yaml# arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtb: dp@fec00000 (rockchip,rk3399-cdn-dp): Unevaluated properties are not allowed ('ports' was unexpected) from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3399-cdn-dp.yaml# arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtb: /sound: failed to match any schema with compatible: ['rockchip,rk3399-gru-sound']