bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0746-overlays-Add-drm-parameter-to-pitft35-resistive.patch
1 From a6747d9fad7d15345f7703e9f9d2916ea20a6edf Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 25 Feb 2022 09:53:56 +0000
4 Subject: [PATCH] overlays: Add "drm" parameter to pitft35-resistive
5
6 The "drm" parameter forces the use of the hx8357d DRM driver, when by
7 default the fb_hx8357d framebuffer driver will be used in preference.
8
9 See: https://forums.raspberrypi.com/viewtopic.php?t=330088
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/README | 4 ++++
14 arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts | 1 +
15 2 files changed, 5 insertions(+)
16
17 --- a/arch/arm/boot/dts/overlays/README
18 +++ b/arch/arm/boot/dts/overlays/README
19 @@ -2689,6 +2689,10 @@ Params: speed Display
20
21 debug Debug output level {0-7}
22
23 + drm Force the use of the hx8357d DRM driver (by
24 + default the fb_hx8357d framebuffer driver will
25 + be used in preference if available)
26 +
27
28 Name: pps-gpio
29 Info: Configures the pps-gpio (pulse-per-second time signal via GPIO).
30 --- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
31 +++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
32 @@ -115,5 +115,6 @@
33 rotate = <&pitft>,"rotate:0";
34 fps = <&pitft>,"fps:0";
35 debug = <&pitft>,"debug:0";
36 + drm = <&pitft>,"compatible=adafruit,yx350hv15";
37 };
38 };