aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0165-BCM270X_DT-mz61581-Revert-to-spi-bcm2708.patch
blob: d4f1c907b3640735dc258d6a39a2fb5f86547b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 75cf473165850a8e765eb3a081be50fe7620e16e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sun, 19 Jul 2015 18:57:06 +0200
Subject: [PATCH 165/203] BCM270X_DT: mz61581: Revert to spi-bcm2708
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The MZ61581 display does not work with spi-bcm2835 and software
chip select. It works before the commit:
spi: bcm2835: transform native-cs to gpio-cs on first spi_setup

Revert to spi-bcm2708 until the cause has been detected and the
issue resolved.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
---
 arch/arm/boot/dts/overlays/mz61581-overlay.dts | 2 ++
 1 file changed, 2 insertions(+)

--- a/arch/arm/boot/dts/overlays/mz61581-overlay.dts
+++ b/arch/arm/boot/dts/overlays/mz61581-overlay.dts
@@ -12,6 +12,8 @@
 	fragment@0 {
 		target = <&spi0>;
 		__overlay__ {
+			/* does not work with spi-bcm2835 using software chip selects */
+			compatible = "brcm,bcm2708-spi";
 			status = "okay";
 
 			spidev@0{