Skip to content

Commit 97a9b5e

Browse files
macromorganmmind
authored andcommitted
arm64: dts: rockchip: Add HDMI to Gameforce Ace
Add support for the HDMI port for the Gameforce Ace. The HDMI port has no HPD pin present (the manufacturer's devicetree states the pin is reused for an additional face button) so add the attribute of no-hpd to poll for connected devices. Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Link: https://patch.msgid.link/20251119225526.70588-4-macroalpha82@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent d8872b9 commit 97a9b5e

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,20 @@
300300
sound-name-prefix = "Headphones Amplifier";
301301
};
302302

303+
hdmi0-con {
304+
compatible = "hdmi-connector";
305+
ddc-en-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
306+
pinctrl-0 = <&hdmi0_en>;
307+
pinctrl-names = "default";
308+
type = "d";
309+
310+
port {
311+
hdmi0_con_in: endpoint {
312+
remote-endpoint = <&hdmi0_out_con>;
313+
};
314+
};
315+
};
316+
303317
pwm_fan: pwm-fan {
304318
compatible = "pwm-fan";
305319
#cooling-cells = <2>;
@@ -498,6 +512,34 @@
498512
status = "okay";
499513
};
500514

515+
&hdmi0 {
516+
no-hpd;
517+
pinctrl-0 = <&hdmim0_tx0_cec>, <&hdmim0_tx0_scl>,
518+
<&hdmim0_tx0_sda>;
519+
pinctrl-names = "default";
520+
status = "okay";
521+
};
522+
523+
&hdmi0_in {
524+
hdmi0_in_vp0: endpoint {
525+
remote-endpoint = <&vp0_out_hdmi0>;
526+
};
527+
};
528+
529+
&hdmi0_out {
530+
hdmi0_out_con: endpoint {
531+
remote-endpoint = <&hdmi0_con_in>;
532+
};
533+
};
534+
535+
&hdmi0_sound {
536+
status = "okay";
537+
};
538+
539+
&hdptxphy0 {
540+
status = "okay";
541+
};
542+
501543
&i2c0 {
502544
pinctrl-0 = <&i2c0m2_xfer>;
503545
pinctrl-names = "default";
@@ -746,6 +788,10 @@
746788
status = "okay";
747789
};
748790

791+
&i2s5_8ch {
792+
status = "okay";
793+
};
794+
749795
&mipidcphy0 {
750796
status = "okay";
751797
};
@@ -846,6 +892,13 @@
846892
};
847893
};
848894

895+
hdmi {
896+
hdmi0_en: hdmi0-en {
897+
rockchip,pins =
898+
<4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
899+
};
900+
};
901+
849902
hym8563 {
850903
hym8563_int: hym8563-int {
851904
rockchip,pins =
@@ -1450,6 +1503,16 @@
14501503
status = "okay";
14511504
};
14521505

1506+
&vp0 {
1507+
#address-cells = <1>;
1508+
#size-cells = <0>;
1509+
1510+
vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
1511+
reg = <ROCKCHIP_VOP2_EP_HDMI0>;
1512+
remote-endpoint = <&hdmi0_in_vp0>;
1513+
};
1514+
};
1515+
14531516
&vp3 {
14541517
#address-cells = <1>;
14551518
#size-cells = <0>;

0 commit comments

Comments
 (0)