aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch b/target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch
new file mode 100644
index 0000000000..52f776d70e
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch
@@ -0,0 +1,38 @@
+From a6747d9fad7d15345f7703e9f9d2916ea20a6edf Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.com>
+Date: Fri, 25 Feb 2022 09:53:56 +0000
+Subject: [PATCH] overlays: Add "drm" parameter to pitft35-resistive
+
+The "drm" parameter forces the use of the hx8357d DRM driver, when by
+default the fb_hx8357d framebuffer driver will be used in preference.
+
+See: https://forums.raspberrypi.com/viewtopic.php?t=330088
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+---
+ arch/arm/boot/dts/overlays/README | 4 ++++
+ arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts | 1 +
+ 2 files changed, 5 insertions(+)
+
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -2689,6 +2689,10 @@ Params: speed Display
+
+ debug Debug output level {0-7}
+
++ drm Force the use of the hx8357d DRM driver (by
++ default the fb_hx8357d framebuffer driver will
++ be used in preference if available)
++
+
+ Name: pps-gpio
+ Info: Configures the pps-gpio (pulse-per-second time signal via GPIO).
+--- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
++++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
+@@ -115,5 +115,6 @@
+ rotate = <&pitft>,"rotate:0";
+ fps = <&pitft>,"fps:0";
+ debug = <&pitft>,"debug:0";
++ drm = <&pitft>,"compatible=adafruit,yx350hv15";
+ };
+ };