From b796985c3ea62ecac64cbb0688400bbff0e5819c Mon Sep 17 00:00:00 2001 From: SuperKali Date: Mon, 10 Mar 2025 08:58:55 +0000 Subject: [PATCH] rockchip64-6.14: Add HDMI audio support and missing stuff on Youyeetoo R1 v3 --- .../dt/rk3588s-youyeetoo-r1.dts | 58 ++++++++++++++----- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/patch/kernel/archive/rockchip64-6.14/dt/rk3588s-youyeetoo-r1.dts b/patch/kernel/archive/rockchip64-6.14/dt/rk3588s-youyeetoo-r1.dts index 2ce9b93f6f..953c66006a 100644 --- a/patch/kernel/archive/rockchip64-6.14/dt/rk3588s-youyeetoo-r1.dts +++ b/patch/kernel/archive/rockchip64-6.14/dt/rk3588s-youyeetoo-r1.dts @@ -36,6 +36,19 @@ }; }; + /* HDMI 0 CONNECTOR */ + + hdmi0-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint = <&hdmi0_out_con>; + }; + }; + }; + /* POWER REGULATOR 12V DC-IN */ vcc12v_dcin: vcc12v-dcin-regulator { @@ -231,6 +244,31 @@ status = "okay"; }; +&hdmi0 { + enable-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint = <&vp0_out_hdmi0>; + }; +}; + +&hdmi0_out { + hdmi0_out_con: endpoint { + remote-endpoint = <&hdmi0_con_in>; + }; +}; + +&hdmi0_sound { + status = "okay"; +}; + +&hdptxphy0 { + status = "okay"; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>; @@ -309,6 +347,10 @@ }; }; +&i2s5_8ch { + status = "okay"; +}; + &package_thermal { polling-delay = <1000>; @@ -829,26 +871,10 @@ status = "okay"; }; -&hdmi0 { - enable-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; - status = "okay"; - cec-enable = "true"; -}; - -&hdptxphy0 { - status = "okay"; -}; - &vop_mmu { status = "okay"; }; -&hdmi0_in { - hdmi0_in_vp0: endpoint { - remote-endpoint = <&vp0_out_hdmi0>; - }; -}; - &vop { status = "okay"; };