Message ID | 20240617071112.3133101-4-jacobe.zang@wesion.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: Add board support for Khadas Edge2 | expand |
Am Montag, 17. Juni 2024, 09:11:10 CEST schrieb Jacobe Zang: > Add the HDMI, VP, VOP nodes which HDMI function needs. > > Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com> The rk3588's hdmi controller was just posted in a v1 and from comments received it looks like it'll still take a bit of time before that is ready to land. So this patch would also be for later. Heiko
Hi Heiko, > The rk3588's hdmi controller was just posted in a v1 and from > comments received it looks like it'll still take a bit of time before > that is ready to land. All right. I will recommit after the posted patch was merged by mainline. By the way, could you provide information on the specific patch or share a link to it? --- Best Regards Jacobe
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts index a82f10312eacd..233bab17bffd2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts @@ -7,6 +7,7 @@ #include <dt-bindings/pinctrl/rockchip.h> #include <dt-bindings/leds/common.h> #include <dt-bindings/usb/pd.h> +#include <dt-bindings/soc/rockchip,vop2.h> #include "rk3588s.dtsi" / { @@ -827,6 +828,7 @@ usbdp_phy0_dp_altmode_mux: endpoint@1 { }; &usb_host0_xhci { + dr-mode = "otg"; usb-role-switch; status = "okay"; @@ -851,3 +853,37 @@ &usb_host1_ohci { &usb_host2_xhci { status = "okay"; }; + +&hdmi0 { + status = "okay"; +}; + +&hdptxphy_hdmi0 { + status = "okay"; +}; + +&display_subsystem { + clocks = <&hdptxphy_hdmi0>; + clock-names = "hdmi0_phy_pll"; +}; + +&vop_mmu { + status = "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi0>; + }; +}; + +&vop { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = <ROCKCHIP_VOP2_EP_HDMI0>; + remote-endpoint = <&hdmi0_in_vp0>; + }; +};
Add the HDMI, VP, VOP nodes which HDMI function needs. Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com> --- .../dts/rockchip/rk3588s-khadas-edge2.dts | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+)