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)
commit9f2ff74e2d00a9159fc0cca7dd209386071bb7d8
tree3ccafff7e439ac75798e5eaae43d55c30c956ff9
parent0f3a30f548e8e4553c578f8f54ee614e386917c8
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