X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbcm27xx%2Fpatches-6.1%2F950-1287-Dtoverlay-add-waveshare-4inch-dsi-lcd-C-dtoverlay.patch;fp=target%2Flinux%2Fbcm27xx%2Fpatches-6.1%2F950-1287-Dtoverlay-add-waveshare-4inch-dsi-lcd-C-dtoverlay.patch;h=605ad842cf5969509d071b4f70df396049e70912;hb=20fe7e687e59bdc787362585f154a71227add004;hp=0000000000000000000000000000000000000000;hpb=8cf4ac5195476356a14678ae72897e563881b15e;p=openwrt%2Fopenwrt.git diff --git a/target/linux/bcm27xx/patches-6.1/950-1287-Dtoverlay-add-waveshare-4inch-dsi-lcd-C-dtoverlay.patch b/target/linux/bcm27xx/patches-6.1/950-1287-Dtoverlay-add-waveshare-4inch-dsi-lcd-C-dtoverlay.patch new file mode 100644 index 0000000000..605ad842cf --- /dev/null +++ b/target/linux/bcm27xx/patches-6.1/950-1287-Dtoverlay-add-waveshare-4inch-dsi-lcd-C-dtoverlay.patch @@ -0,0 +1,22 @@ +From bb2f912c94d11a0f0b5f13c91793fa9f79eb92aa Mon Sep 17 00:00:00 2001 +From: Eng33 +Date: Fri, 8 Mar 2024 18:37:03 +0800 +Subject: [PATCH 1287/1295] Dtoverlay:add waveshare 4inch dsi lcd (C) dtoverlay + +Signed-off-by: Eng33 +--- + .../boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts ++++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts +@@ -112,6 +112,9 @@ + <&touch>, "touchscreen-size-y:0=1480", + <&touch>, "touchscreen-inverted-x?", + <&touch>, "touchscreen-swapped-x-y?"; ++ 4_0_inchC = <&panel>, "compatible=waveshare,4inch-panel", ++ <&touch>, "touchscreen-size-x:0=720", ++ <&touch>, "touchscreen-size-y:0=720"; + i2c1 = <&i2c_frag>, "target:0=",<&i2c1>, + <0>, "-3-4+5"; + disable_touch = <&touch>, "status=disabled";