Openwrt/target/linux/bcm27xx/patches-5.4/950-0972-overlays-adafruit18-sainsmart18-default-bgr-to-off.patch
Álvaro Fernández Rojas f07e572f64 bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-18 23:42:32 +01:00

54 lines
2.2 KiB
Diff

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>;
};
};