ramips: improve rt2880 spi setup
authorJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:51 +0000 (11:48 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 22 Nov 2015 11:48:51 +0000 (11:48 +0000)
commita58dec627598ecae1767321a752c0a88c04fdce7
tree8f7b660f3a50f3498e839042b1de560b38158395
parent2ce886f1492fa7a4d335d55dcfc622f600da279c
ramips: improve rt2880 spi setup

* check clock rate, SPI mode, and word sizes
* setup spi polarity
* enable spi1 hw if need

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47577
target/linux/ramips/patches-3.18/0050-SPI-ralink-add-Ralink-SoC-spi-driver.patch