Message ID | 20250222193332.1761-5-honyuenkwun@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Orange Pi 5 Ultra | expand |
On Sat, Feb 22, 2025, Jimmy Hon <honyuenkwun@gmail.com> wrote: > Enable the only HDMI output port on the Orange Pi 5 Ultra > > Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com> > --- > .../dts/rockchip/rk3588-orangepi-5-ultra.dts | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) I've tested this patchset up to this patch. I unfortunately don't have a way to test audio on the HDMI port currently. All of the issues I had previously are fixed in this patchset. Thanks for the work in putting this together, especially without access to hardware. JE
On Sat, Feb 22, 2025 at 3:18 PM Johannes Erdfelt <johannes@erdfelt.com> wrote: > > I've tested this patchset up to this patch. I unfortunately don't have a > way to test audio on the HDMI port currently. > > All of the issues I had previously are fixed in this patchset. Thanks for the verification. Will you be sending your Tested-By: for patch 3 and 4 then? Jimmy > > Thanks for the work in putting this together, especially without access > to hardware. > > JE >
On Sat, Feb 22, 2025, Jimmy Hon <honyuenkwun@gmail.com> wrote: > Enable the only HDMI output port on the Orange Pi 5 Ultra > > Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com> > --- > .../dts/rockchip/rk3588-orangepi-5-ultra.dts | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) Tested-By: Johannes Erdfelt <johannes@erdfelt.com> JE
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-ultra.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-ultra.dts index 06800733d11e..a4db0839bcfd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-ultra.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-ultra.dts @@ -5,11 +5,46 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/rockchip.h> #include <dt-bindings/pwm/pwm.h> +#include <dt-bindings/soc/rockchip,vop2.h> #include "rk3588-orangepi-5-compact.dtsi" / { model = "Xunlong Orange Pi 5 Ultra"; compatible = "xunlong,orangepi-5-ultra", "rockchip,rk3588"; + + hdmi1-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi1_con_in: endpoint { + remote-endpoint = <&hdmi1_out_con>; + }; + }; + }; +}; + +&hdmi1 { + pinctrl-names = "default"; + pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd + &hdmim1_tx1_scl &hdmim1_tx1_sda>; + status = "okay"; +}; + +&hdmi1_in { + hdmi1_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi1>; + }; +}; + +&hdmi1_out { + hdmi1_out_con: endpoint { + remote-endpoint = <&hdmi1_con_in>; + }; +}; + +&hdptxphy1 { + status = "okay"; }; &led_blue_pwm { @@ -32,3 +67,10 @@ usb_otg_pwren: usb-otg-pwren { &vcc5v0_usb30_otg { gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>; }; + +&vp0 { + vp0_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { + reg = <ROCKCHIP_VOP2_EP_HDMI1>; + remote-endpoint = <&hdmi1_in_vp0>; + }; +};
Enable the only HDMI output port on the Orange Pi 5 Ultra Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com> --- .../dts/rockchip/rk3588-orangepi-5-ultra.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+)