1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/root/target/linux/bcm27xx/patches-5.15/950-0763-overlays-Add-drm-parameter-to-pitft35-resistive.patch
Ycarus (Yannick Chabanois) 07d07219be Update bcm27xx 5.15 patches
2022-04-22 17:00:47 +02:00

38 lines
1.4 KiB
Diff

From ed13ffb415737602bdc4c62de7c38e58a2feb964 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 25 Feb 2022 09:53:56 +0000
Subject: [PATCH 763/828] 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";
};
};