lantiq: Switch to the new SPI driver
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:56:03 +0000 (19:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:56:03 +0000 (19:56 +0000)
commitc3693e53f4c577c54986ae573ccfbae2c1a051bc
tree38fae3f60931cab743e717b3b1cfaa43d939b3ea
parentdbec1eb7e916bf4f7242f556eb0eeb1b17f3010f
lantiq: Switch to the new SPI driver

Compared to the "old" driver:
- Each device must assign a pinctrl setting to the SPI node to allow the
  new SPI driver to configure the SPI pins.
  While here we are also using separate input and output settings so we
  are independent of whether the bootloader configures the pins correctly.
- We use the new "compatible" strings to make the driver choose the
  correct number of chip-selects for each SoC.
- The new driver starts counting the chip-selects at 1 (instead of 0, like
  the old one did). Thus we have to adjust the devices accordingly.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48293
target/linux/lantiq/dts/DGN1000B.dts
target/linux/lantiq/dts/DGN3500.dtsi
target/linux/lantiq/dts/EASY80920.dtsi
target/linux/lantiq/dts/FRITZ3370.dts
target/linux/lantiq/dts/TDW89X0.dtsi
target/linux/lantiq/dts/amazonse.dtsi
target/linux/lantiq/dts/ar9.dtsi
target/linux/lantiq/dts/vr9.dtsi
target/linux/lantiq/xrx200/config-default
target/linux/lantiq/xway/config-default