Commit Graph

29 Commits (b06559e5b76adfbafb16965098994cd30e8ded9c)

Author SHA1 Message Date
Felix Fietkau 889272d92d ar71xx: fix RB4xx CPLD SPI device mode setup
Commit af79fdbe4a changed the code to use tx_nbits for dual SPI tx
transfers, however the SPI stack only allows this when the device mode
includes the relevant bit as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau c3a8b87773 ar71xx: fix RB4xx SPI driver mode bits
Accept SPI_TX_DUAL in device mode to fix the CPLD driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau af79fdbe4a ar71xx: remove a non-upstream spi core patch
- use standard flags instead
- remove dead code from the rb4xx spi drivers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 441ee62931 ar71xx: remove AP83 reference design board support
This board is very old and unlikely to still be relevant today. Support
for it contains a significant amount of device specific baggage which is
worth getting rid of.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Sergey Sergeev c312cef223 ar71xx: spi-rb4xx fix.
In new kernels we should use clk_prepare_enable instead of clk_enable
since clk_enable does not make proper initialization that leads
to rise WARN_ON messages and not working spi bus on the device.

Signed-off-by: Sergey Sergeev <adron@yapic.net>
8 years ago
Gabor Juhos 4341b11f3e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
12 years ago
Gabor Juhos fe0c7aac66 ar71xx: merge 3.2 fixes
SVN-Revision: 30406
13 years ago
Gabor Juhos 386cbfe45b ar71xx: move arch specific files to files-2.6.39
SVN-Revision: 29867
13 years ago
Gabor Juhos 6c2638c5e2 ar71xx: rename vsc7385 spi driver
SVN-Revision: 29853
13 years ago
Gabor Juhos bb16739db9 ar71xx: rename ap81 spi driver
SVN-Revision: 29852
13 years ago
Gabor Juhos 5ef8b922fa ar71xx: rename rb4xx spi drivers
SVN-Revision: 29851
13 years ago
Gabor Juhos 88d8cdd503 ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29710
13 years ago
Gabor Juhos e1b7995aef ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
SVN-Revision: 29709
13 years ago
Gabor Juhos 67444c7795 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
SVN-Revision: 29708
13 years ago
Gabor Juhos 0f566a376c ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29707
13 years ago
Gabor Juhos 09a6e3f662 ar71xx: ar71xx_spi: save and restore regs from probe/remove
SVN-Revision: 29706
13 years ago
Gabor Juhos 30ef7d55fc ar71xx: use pr_* functions in drivers
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23981
14 years ago
Gabor Juhos acd8ad4de5 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23977
14 years ago
Gabor Juhos 500fac1735 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23975
14 years ago
Felix Fietkau 8858d90afe ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
SVN-Revision: 23574
14 years ago
Gabor Juhos 47f8fd1dde ar71xx: rewrite SPI drivers for the RB4xx boards
* add a new SPI controller driver
  * add SPI driver for the CPLD chip
  * convert the NAND driver
  * enable the mikroSD slot
  * enable more LEDs

SVN-Revision: 22863
14 years ago
Gabor Juhos c23ddf2d27 update ar71xx_spi driver
SVN-Revision: 17143
15 years ago
Gabor Juhos eced3f210e add SPI controller driver for the PB44 board
SVN-Revision: 16781
15 years ago
Gabor Juhos 218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
15 years ago
Gabor Juhos 292775eb34 add definitions for some magic values in the spi_vsc7385 driver
SVN-Revision: 16779
15 years ago
Gabor Juhos 6b033e9bec fix a bug in the SPI driver (closes #5485)
SVN-Revision: 16767
15 years ago
Gabor Juhos 08bd604941 add SPI driver for the Vitesse VSC7385 switch
SVN-Revision: 16324
15 years ago
Gabor Juhos 0755481965 add another SPI controller driver for the earlier AP83 boards
SVN-Revision: 16315
15 years ago
Gabor Juhos f529a37420 surprise :p
SVN-Revision: 11894
16 years ago