overlays: Add "drm" parameter to pitft35-resistive
authorPhil Elwell <phil@raspberrypi.com>
Fri, 25 Feb 2022 09:53:56 +0000 (09:53 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:45 +0000 (16:04 +0000)
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
arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts

index d4ba07e1ed1392dd54eed3e5e5206a122e368511..d2ae07b79154ecd28cac6d34427fea281d85f655 100644 (file)
@@ -2689,6 +2689,10 @@ Params: speed                   Display SPI bus speed
 
         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).
index 37629f18a74001f489e0e731347bff22380e638a..713532cb22725bf3fe2591a4c7783eb1b6da9916 100644 (file)
                rotate =  <&pitft>,"rotate:0";
                fps =     <&pitft>,"fps:0";
                debug =   <&pitft>,"debug:0";
+               drm =     <&pitft>,"compatible=adafruit,yx350hv15";
        };
 };