From 9c5dd0e4120d5ce6938ba3baf458f3f7f2a46338 Mon Sep 17 00:00:00 2001 From: Ben Hoff Date: Mon, 22 Jul 2024 16:32:18 -0400 Subject: [PATCH] add overlay --- ...nopsys-designware-hdmi-rx-controller.patch | 2 +- .../rockchip-rk3588-6.10/overlay/Makefile | 3 ++- .../overlay/rockchip-rk3588-hdmirx.dtso | 20 +++++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 patch/kernel/archive/rockchip-rk3588-6.10/overlay/rockchip-rk3588-hdmirx.dtso diff --git a/patch/kernel/archive/rockchip-rk3588-6.10/0114-add-synopsys-designware-hdmi-rx-controller.patch b/patch/kernel/archive/rockchip-rk3588-6.10/0114-add-synopsys-designware-hdmi-rx-controller.patch index 6164caabce09..cf74dc9d953b 100644 --- a/patch/kernel/archive/rockchip-rk3588-6.10/0114-add-synopsys-designware-hdmi-rx-controller.patch +++ b/patch/kernel/archive/rockchip-rk3588-6.10/0114-add-synopsys-designware-hdmi-rx-controller.patch @@ -2863,7 +2863,7 @@ index 000000000000..1dfecf256393 + +static struct platform_driver hdmirx_driver = { + .probe = hdmirx_probe, -+ .remove = hdmirx_remove, ++ .remove_new = hdmirx_remove, + .driver = { + .name = "snps_hdmirx", + .of_match_table = hdmirx_id, diff --git a/patch/kernel/archive/rockchip-rk3588-6.10/overlay/Makefile b/patch/kernel/archive/rockchip-rk3588-6.10/overlay/Makefile index a76a9652a212..d684eb4711d4 100644 --- a/patch/kernel/archive/rockchip-rk3588-6.10/overlay/Makefile +++ b/patch/kernel/archive/rockchip-rk3588-6.10/overlay/Makefile @@ -38,7 +38,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \ rockchip-rk3588-uart4-m2.dtbo \ rockchip-rk3588-uart6-m1.dtbo \ rockchip-rk3588-uart7-m2.dtbo \ - rockchip-rk3588-uart8-m1.dtbo + rockchip-rk3588-uart8-m1.dtbo \ + rockchip-rk3588-hdmirx.dtbo dtb-y += $(dtbo-y) diff --git a/patch/kernel/archive/rockchip-rk3588-6.10/overlay/rockchip-rk3588-hdmirx.dtso b/patch/kernel/archive/rockchip-rk3588-6.10/overlay/rockchip-rk3588-hdmirx.dtso new file mode 100644 index 000000000000..6a54e6949c71 --- /dev/null +++ b/patch/kernel/archive/rockchip-rk3588-6.10/overlay/rockchip-rk3588-hdmirx.dtso @@ -0,0 +1,20 @@ +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&hdmi_receiver_cma>; + + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target = <&hdmi_receiver>; + + __overlay__ { + status = "okay"; + }; + }; +};