From 147401b2abeb23f50a6a36be311c97ba07e3f840 Mon Sep 17 00:00:00 2001 From: Maxim Paymushkin Date: Tue, 10 Dec 2024 08:37:56 +0100 Subject: [PATCH] patch: kernel: rk35xx-vendor-6.1: adakta-smarc: add hdmi --- .../overlay/adakta-smarc-display-hdmi-vp0.dts | 36 +++++++++++++++++++ .../overlay/adakta-smarc-display-hdmi-vp1.dts | 36 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp0.dts create mode 100644 patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp1.dts diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp0.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp0.dts new file mode 100644 index 000000000000..44569230bb47 --- /dev/null +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp0.dts @@ -0,0 +1,36 @@ +/dts-v1/; +/plugin/; + +/ { + metadata { + title = "Enable HDMI via VP0"; + compatible = "adakta,adakta-smarc-rk3568"; + category = "display"; + description = "Enable HDMI via VP0"; + }; + + fragment@0 { + target = <&hdmi>; + + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target = <&hdmi_in_vp0>; + + __overlay__ { + status = "okay"; + }; + }; + + fragment@2 { + target = <&route_hdmi>; + + __overlay__ { + status = "okay"; + connect = <&vp0_out_hdmi>; + }; + }; +}; diff --git a/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp1.dts b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp1.dts new file mode 100644 index 000000000000..31ec91613cfb --- /dev/null +++ b/patch/kernel/rk35xx-vendor-6.1/overlay/adakta-smarc-display-hdmi-vp1.dts @@ -0,0 +1,36 @@ +/dts-v1/; +/plugin/; + +/ { + metadata { + title = "Enable HDMI via VP1"; + compatible = "adakta,adakta-smarc-rk3568"; + category = "display"; + description = "Enable HDMI via VP1"; + }; + + fragment@0 { + target = <&hdmi>; + + __overlay__ { + status = "okay"; + }; + }; + + fragment@1 { + target = <&hdmi_in_vp1>; + + __overlay__ { + status = "okay"; + }; + }; + + fragment@2 { + target = <&route_hdmi>; + + __overlay__ { + status = "okay"; + connect = <&vp1_out_hdmi>; + }; + }; +};