Commit graph

30 commits

Author SHA1 Message Date
Felix Fietkau
879b7a7a9b cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership

Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/config-3.3                                |    2 +-
 target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch |    9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

SVN-Revision: 33827
2012-10-17 22:03:37 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
Imre Kaloz
88a740ff80 fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33721
2012-10-11 09:51:35 +00:00
Imre Kaloz
9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Imre Kaloz
31c2f1a4d2 fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33719
2012-10-11 07:47:27 +00:00
Felix Fietkau
85871f283a cns3xxx: Fix GPIO configuration for Gateworks Laguna boards
The Laguna boards do not use all the same pins for SDHCI as the Cavium
reference board.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33684
2012-10-10 11:39:02 +00:00
Felix Fietkau
6bb7409e5a cns3xxx: Fix laguna arm11mpcore watchdog
The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too.  I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog.  Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.

This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33683
2012-10-10 11:38:58 +00:00
Felix Fietkau
68449e2e01 cns3xxx: add GW2383 board support
Add GPIO/LED support for Gateworks GW2383

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

SVN-Revision: 33649
2012-10-07 23:23:58 +00:00
Felix Fietkau
6b778f57aa cns3xxx: fix gpio access and add gpio IRQ support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

SVN-Revision: 33648
2012-10-07 23:23:52 +00:00
Imre Kaloz
c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
2012-09-28 17:35:35 +00:00
Imre Kaloz
2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
2012-09-28 17:34:18 +00:00
Imre Kaloz
70729bb4a5 USB iso mode fixes
Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33579
2012-09-28 17:31:22 +00:00
Imre Kaloz
68f8db6731 fix ncores for single-core systems.
For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33566
2012-09-27 08:07:17 +00:00
Imre Kaloz
9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
2012-09-27 08:06:13 +00:00
Imre Kaloz
7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
2012-09-27 08:05:19 +00:00
Felix Fietkau
d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Felix Fietkau
15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
John Crispin
1cbfa0c0f5 laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

SVN-Revision: 32833
2012-07-25 08:01:38 +00:00
Gabor Juhos
c2a2d59db5 cns3xxx: add support for 3.3
Compile tested only.

SVN-Revision: 31809
2012-05-18 20:10:53 +00:00