openwrt/target/linux/bcm27xx/patches-4.19/950-0816-overlays-fix-sh1106-spi-ssd1306-spi-and-ssd1351-spi-.patch
Adrian Schmutzler 7d7aa2fd92 brcm2708: rename target to bcm27xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).

This also renames the packages brcm2708-userland and brcm2708-gpu-fw.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-14 14:10:51 +01:00

82 lines
2.8 KiB
Diff

From f80af7bdb76f767a236eeb55b6ea210023180cd6 Mon Sep 17 00:00:00 2001
From: Michael Kaplan <m.kaplan@evva.com>
Date: Tue, 4 Feb 2020 16:14:48 +0100
Subject: [PATCH] overlays: fix sh1106-spi, ssd1306-spi and ssd1351-spi overlays
---
.../arm/boot/dts/overlays/sh1106-spi-overlay.dts | 16 +++++++++-------
.../boot/dts/overlays/ssd1306-spi-overlay.dts | 16 +++++++++-------
.../boot/dts/overlays/ssd1351-spi-overlay.dts | 14 ++++++++------
3 files changed, 26 insertions(+), 20 deletions(-)
--- a/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
+++ b/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
@@ -71,12 +71,14 @@
};
__overrides__ {
- speed = <&sh1106>,"spi-max-frequency:0";
- rotate = <&sh1106>,"rotate:0";
- fps = <&sh1106>,"fps:0";
- debug = <&sh1106>,"debug:0";
- dc_pin = <&sh1106>,"dc-gpios:4>";
- reset_pin = <&sh1106>,"reset-gpios:4>";
- height = <&sh1106>,"sinowealth,height:0>";
+ speed = <&sh1106>,"spi-max-frequency:0";
+ rotate = <&sh1106>,"rotate:0";
+ fps = <&sh1106>,"fps:0";
+ debug = <&sh1106>,"debug:0";
+ dc_pin = <&sh1106>,"dc-gpios:4",
+ <&sh1106_pins>,"brcm,pins:4;
+ reset_pin = <&sh1106>,"reset-gpios:4",
+ <&sh1106_pins>,"brcm,pins:0;
+ height = <&sh1106>,"sinowealth,height:0";
};
};
--- a/arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts
+++ b/arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts
@@ -71,12 +71,14 @@
};
__overrides__ {
- speed = <&ssd1306>,"spi-max-frequency:0";
- rotate = <&ssd1306>,"rotate:0";
- fps = <&ssd1306>,"fps:0";
- debug = <&ssd1306>,"debug:0";
- dc_pin = <&ssd1306>,"dc-gpios:4>";
- reset_pin = <&ssd1306>,"reset-gpios:4>";
- height = <&ssd1306>,"solomon,height:0>";
+ speed = <&ssd1306>,"spi-max-frequency:0";
+ rotate = <&ssd1306>,"rotate:0";
+ fps = <&ssd1306>,"fps:0";
+ debug = <&ssd1306>,"debug:0";
+ dc_pin = <&ssd1306>,"dc-gpios:4";
+ <&ssd1306_pins>,"brcm,pins:4";
+ reset_pin = <&ssd1306>,"reset-gpios:4";
+ <&ssd1306_pins>,"brcm,pins:0";
+ height = <&ssd1306>,"solomon,height:0";
};
};
--- a/arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts
+++ b/arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts
@@ -71,11 +71,13 @@
};
__overrides__ {
- speed = <&ssd1351>,"spi-max-frequency:0";
- rotate = <&ssd1351>,"rotate:0";
- fps = <&ssd1351>,"fps:0";
- debug = <&ssd1351>,"debug:0";
- dc_pin = <&ssd1351>,"dc-gpios:4>";
- reset_pin = <&ssd1351>,"reset-gpios:4>";
+ speed = <&ssd1351>,"spi-max-frequency:0";
+ rotate = <&ssd1351>,"rotate:0";
+ fps = <&ssd1351>,"fps:0";
+ debug = <&ssd1351>,"debug:0";
+ dc_pin = <&ssd1351>,"dc-gpios:4",
+ <&ssd1351_pins>,"brcm,pins:4";
+ reset_pin = <&ssd1351>,"reset-gpios:4";
+ <&ssd1351_pins>,"brcm,pins:0";
};
};