openwrt/target/linux/bcm27xx/patches-4.19/950-0816-Fix-a-sh1106-spi-ssd1306-spi-ssd1351-spi-overlays.patch
Álvaro Fernández Rojas c56ae22db0 bcm27xx: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-29 08:28:42 +01:00

51 lines
1.9 KiB
Diff

From 45754db702ff044e45ba14efdcf3708151e25c5f Mon Sep 17 00:00:00 2001
From: Jason Kim <sukbeom.kim@gmail.com>
Date: Wed, 5 Feb 2020 01:48:10 +0900
Subject: [PATCH] Fix a sh1106-spi, ssd1306-spi, ssd1351-spi overlays
---
arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts | 4 ++--
arch/arm/boot/dts/overlays/ssd1306-spi-overlay.dts | 4 ++--
arch/arm/boot/dts/overlays/ssd1351-spi-overlay.dts | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
--- a/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
+++ b/arch/arm/boot/dts/overlays/sh1106-spi-overlay.dts
@@ -76,9 +76,9 @@
fps = <&sh1106>,"fps:0";
debug = <&sh1106>,"debug:0";
dc_pin = <&sh1106>,"dc-gpios:4",
- <&sh1106_pins>,"brcm,pins:4;
+ <&sh1106_pins>,"brcm,pins:4";
reset_pin = <&sh1106>,"reset-gpios:4",
- <&sh1106_pins>,"brcm,pins:0;
+ <&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
@@ -75,9 +75,9 @@
rotate = <&ssd1306>,"rotate:0";
fps = <&ssd1306>,"fps:0";
debug = <&ssd1306>,"debug:0";
- dc_pin = <&ssd1306>,"dc-gpios:4";
+ dc_pin = <&ssd1306>,"dc-gpios:4",
<&ssd1306_pins>,"brcm,pins:4";
- reset_pin = <&ssd1306>,"reset-gpios: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
@@ -77,7 +77,7 @@
debug = <&ssd1351>,"debug:0";
dc_pin = <&ssd1351>,"dc-gpios:4",
<&ssd1351_pins>,"brcm,pins:4";
- reset_pin = <&ssd1351>,"reset-gpios:4";
+ reset_pin = <&ssd1351>,"reset-gpios:4",
<&ssd1351_pins>,"brcm,pins:0";
};
};