diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 19:56:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 19:56:03 +0000 |
commit | 04ad02d132fb14d509d14054313405f24cf1e8ff (patch) | |
tree | 16125f54abdb72ee2e51331839e70eb651d5d8fd /target/linux/lantiq/xrx200/config-default | |
parent | 5985c56ec6ba696bf8cc9f0eb90bd498b4bb46a1 (diff) | |
download | mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.zip mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.gz mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.bz2 |
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
Diffstat (limited to 'target/linux/lantiq/xrx200/config-default')
-rw-r--r-- | target/linux/lantiq/xrx200/config-default | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default index ece2706..1c9f5cc 100644 --- a/target/linux/lantiq/xrx200/config-default +++ b/target/linux/lantiq/xrx200/config-default @@ -56,9 +56,8 @@ CONFIG_RTL8366S_PHY=y CONFIG_RTL8367B_PHY=y CONFIG_RTL8367_PHY=y CONFIG_SPI=y -CONFIG_SPI_BITBANG=y +CONFIG_SPI_LANTIQ=y CONFIG_SPI_MASTER=y -CONFIG_SPI_XWAY=y CONFIG_SYS_SUPPORTS_MIPS16=y CONFIG_UBIFS_FS=y CONFIG_UBIFS_FS_ADVANCED_COMPR=y |