arm64: dts: rockchip: Enable HDMI on armsom-sige7
Subsystems (2)
PATCH v2 1/1 arm64: dts: rockchip: Enable HDMI on armsom-sige7
Add the necessary DT changes to enable HDMI on ArmSoM Sige7.
Signed-off-by Jianfeng Liu <[email protected]>
---
Changes in v2:
- Only send patch for armsom sige7, and I will send patch for armsom w3 when hdmi1 support is landed.
- Change HDMI0 to HDMI in commit msg because the board only has one hdmi port.
https://lore.kernel.org/all/[email protected]/
.../boot/dts/rockchip/rk3588-armsom-sige7.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts +47 -0
@@ -4,6 +4,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> +#include <dt-bindings/soc/rockchip,vop2.h> #include "rk3588.dtsi" / {
@@ -33,6 +34,17 @@ analog-sound { "Headphone", "Headphones"; }; + hdmi0-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint = <&hdmi0_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default";
@@ -164,6 +176,26 @@ &gpu { status = "okay"; }; +&hdmi0 { + status = "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi0>; + }; +}; + +&hdmi0_out { + hdmi0_out_con: endpoint { + remote-endpoint = <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status = "okay"; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>;
@@ -723,3 +755,18 @@ &usb_host1_xhci { dr_mode = "host"; status = "okay"; }; + +&vop_mmu { + status = "okay"; +}; + +&vop { + status = "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg = <ROCKCHIP_VOP2_EP_HDMI0>; + remote-endpoint = <&hdmi0_in_vp0>; + }; +};
Signature · 1 line
2.43.0
Quoted 3 lines · Jianfeng Liu
Add the necessary DT changes to enable HDMI on ArmSoM Sige7.
Applied, thanks!
[1/1] arm64: dts: rockchip: Enable HDMI on armsom-sige7
commit: 1a6a05d15195f74596d5209b4fd8b781a33b7fbe
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>