aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0165-BCM270X_DT-mz61581-Revert-to-spi-bcm2708.patch
blob: b604b25a8177f3e27a068adf93bd2d6f3bb5c949 (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 f87b7e12ef9d2095eaea613db4c6ecab2c6227f2 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/222] 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{