build/patch/kernel/archive/rockchip64-6.1/board-rockpi4c-add-minidp.patch.WIP

29 lines
714 B
Plaintext

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts
index 4c7ebb1c5d2d..19a648add355 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts
@@ -11,6 +11,22 @@
/ {
model = "Radxa ROCK Pi 4C";
compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399";
+
+ virtual_pd: virtual-pd {
+ compatible = "linux,extcon-usbc-virtual-pd";
+ det-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>; /* DP_HPD */
+ vpd-data-role = "display-port";
+ vpd-super-speed;
+ };
+};
+
+&cdn_dp {
+ extcon = <&virtual_pd>;
+ status = "okay";
+};
+
+&tcphy0 {
+ extcon = <&virtual_pd>;
};
&sdio0 {