Skip to content

Commit

Permalink
BCM270X_DT: mz61581: Set txbuflen to 32k
Browse files Browse the repository at this point in the history
Because of the spi dma mapping/engine overhead with spi-bcm2835,
txbuflen has to be increased from 4096 to 32768 to maximize
throughput (11MB/s at 128MHz).

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
  • Loading branch information
notro authored and popcornmix committed Sep 14, 2015
1 parent 2a8c002 commit 5893b0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ Params: speed Display SPI bus speed

fps Delay between frame updates

txbuflen Transmit buffer length (default 32768)

debug Debug output level {0-7}

xohms Touchpanel sensitivity (X-plate resistance)
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/mz61581-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
bgr;
fps = <30>;
buswidth = <8>;
txbuflen = <32768>;

reset-gpios = <&gpio 15 0>;
dc-gpios = <&gpio 25 0>;
Expand Down Expand Up @@ -103,6 +104,7 @@
speed = <&mz61581>, "spi-max-frequency:0";
rotate = <&mz61581>, "rotate:0";
fps = <&mz61581>, "fps:0";
txbuflen = <&mz61581>, "txbuflen:0";
debug = <&mz61581>, "debug:0";
xohms = <&mz61581_ts>,"ti,x-plate-ohms;0";
};
Expand Down

0 comments on commit 5893b0b

Please sign in to comment.