openwrt/target/linux/bcm27xx/patches-5.4/950-0972-overlays-adafruit18-sainsmart18-default-bgr-to-off.patch

54 lines
2.2 KiB
Diff
Raw Normal View History

From b9801549748233e71a5c0dd76351e02a125505b4 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 21 Sep 2020 20:45:46 +0100
Subject: [PATCH] overlays: adafruit18,sainsmart18: default bgr to
off
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/overlays/README | 4 ++--
arch/arm/boot/dts/overlays/adafruit18-overlay.dts | 1 -
arch/arm/boot/dts/overlays/sainsmart18-overlay.dts | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -269,7 +269,7 @@ Params: green Use the
rotate Display rotation {0,90,180,270}
speed SPI bus speed in Hz (default 4000000)
fps Display frame rate in Hz
- bgr Enable BGR mode (default on)
+ bgr Enable BGR mode (default off)
debug Debug output level {0-7}
dc_pin GPIO pin for D/C (default 24)
reset_pin GPIO pin for RESET (default 25)
@@ -2284,7 +2284,7 @@ Load: dtoverlay=sainsmart18,<param>=<v
Params: rotate Display rotation {0,90,180,270}
speed SPI bus speed in Hz (default 4000000)
fps Display frame rate in Hz
- bgr Enable BGR mode (default on)
+ bgr Enable BGR mode (default off)
debug Debug output level {0-7}
dc_pin GPIO pin for D/C (default 24)
reset_pin GPIO pin for RESET (default 25)
--- a/arch/arm/boot/dts/overlays/adafruit18-overlay.dts
+++ b/arch/arm/boot/dts/overlays/adafruit18-overlay.dts
@@ -36,7 +36,6 @@
reset-gpios = <&gpio 25 1>;
dc-gpios = <&gpio 24 0>;
led-gpios = <&gpio 18 0>;
- bgr;
debug = <0>;
};
};
--- a/arch/arm/boot/dts/overlays/sainsmart18-overlay.dts
+++ b/arch/arm/boot/dts/overlays/sainsmart18-overlay.dts
@@ -35,7 +35,6 @@
width = <128>;
reset-gpios = <&gpio 25 1>;
dc-gpios = <&gpio 24 0>;
- bgr;
debug = <0>;
};
};