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)
commit04ad02d132fb14d509d14054313405f24cf1e8ff
tree16125f54abdb72ee2e51331839e70eb651d5d8fd
parent5985c56ec6ba696bf8cc9f0eb90bd498b4bb46a1
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