1 From ac65af2b3277c319918d67e5714d1f88ed6e4ff9 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
3 Date: Sun, 13 Sep 2015 17:17:14 +0200
4 Subject: [PATCH 181/222] BCM270X_DT: mz61581: Set txbuflen to 32k
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Because of the spi dma mapping/engine overhead with spi-bcm2835,
10 txbuflen has to be increased from 4096 to 32768 to maximize
11 throughput (11MB/s at 128MHz).
13 Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
15 arch/arm/boot/dts/overlays/README | 2 ++
16 arch/arm/boot/dts/overlays/mz61581-overlay.dts | 2 ++
17 2 files changed, 4 insertions(+)
19 --- a/arch/arm/boot/dts/overlays/README
20 +++ b/arch/arm/boot/dts/overlays/README
21 @@ -368,6 +368,8 @@ Params: speed Display
23 fps Delay between frame updates
25 + txbuflen Transmit buffer length (default 32768)
27 debug Debug output level {0-7}
29 xohms Touchpanel sensitivity (X-plate resistance)
30 --- a/arch/arm/boot/dts/overlays/mz61581-overlay.dts
31 +++ b/arch/arm/boot/dts/overlays/mz61581-overlay.dts
38 reset-gpios = <&gpio 15 0>;
39 dc-gpios = <&gpio 25 0>;
41 speed = <&mz61581>, "spi-max-frequency:0";
42 rotate = <&mz61581>, "rotate:0";
43 fps = <&mz61581>, "fps:0";
44 + txbuflen = <&mz61581>, "txbuflen:0";
45 debug = <&mz61581>, "debug:0";
46 xohms = <&mz61581_ts>,"ti,x-plate-ohms;0";