Re: [PATCH] net: Add MOXA ART SoCs ethernet driver

2013-07-20 Thread Jonas Jensen
I think this driver may have a bug. After some time running ping successfully, the message no TX space for packet is printed resulting in 100% packet loss. The message is printed from .ndo_start_xmit and I think it may be because of how priv-tx_desc_now is now set up in

[PATCH] Documentation: Add device tree binding file for MOXA ART SoCs interrupt controller

2013-07-18 Thread Jonas Jensen
Add binding document for MOXA ART SoCs interrupt controller. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: The MOXA ART irqchip driver was added without accompanying devicetree document. ( in next-20130716 drivers/irqchip/irq-moxart.c ) Applies to next

[PATCH] net: Add MOXA ART SoCs ethernet driver

2013-07-18 Thread Jonas Jensen
The MOXA UC-711X hardware(s) has an ethernet controller that seem to be developed internally. The IC used is RTL8201CP. Since there is no public documentation, this driver is mostly the one published by MOXA that has been heavily cleaned up / ported from linux 2.6.9. Signed-off-by: Jonas Jensen

Re: [PATCH v3 2/4] ARM: mach-moxart: add MOXA ART device tree files

2013-07-17 Thread Jonas Jensen
Just as a reminder, I intend to update this set with some minor changes: 1. remove devicetree bindings for drivers, I will mail those out separately 2. a devicetree node for DMA was added 3. GPIO numbers are now in DT aswell Best regards, Jonas ___

Re: [PATCH v3 4/4] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-07-08 Thread Jonas Jensen
Arnd suggested removing one (or many) of the options: CPU_ABRT_EV4T CPU_CACHE_V4WT CPU_COPY_V4WB CPU_TLB_V4WBI However boot is still broken after removing all including CPU_32v4T. Selecting CPU_SA1100 instead, it boots normally and init works. The idea is, If you can help figure out what

[PATCH v3 1/4] ARM: mach-moxart: add MOXA ART SoC files

2013-07-04 Thread Jonas Jensen
Add MOXA ART SoC support. The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX). Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Applies to next-20130703 Changes since v2: 1. add CLKSRC_MMIO

[PATCH v3 3/4] ARM: mach-moxart: add MOXA ART UART debug files

2013-07-04 Thread Jonas Jensen
Add MOXA ART kernel low-level debugging port support. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Applies to next-20130703 Changes since v2: 1. use alphabetic ordering in Kconfig arch/arm/Kconfig.debug | 8 arch/arm/include/debug

[PATCH v3 4/4] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-07-04 Thread Jonas Jensen
) Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- arch/arm/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d84161c..87e93ab 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -878,6 +878,11 @@ menu Multiple platform selection

[PATCH v3 2/4] ARM: mach-moxart: add MOXA ART device tree files

2013-07-04 Thread Jonas Jensen
Add generic SoC include and UC-7112-LX platform device tree files and documentation. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Applies to next-20130703 Changes since v2: 1. add and update documentation, new drivers: mmc, mac, rtc, watchdog, gpio

Re: [PATCH v2 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-18 Thread Jonas Jensen
I may have submitted this one too early. There are now a few things I want to address: * rename moxart_uc7112lx_defconfig moxart_defconfig * remove MACH_UC7112LX default y from arch/arm/mach-moxart/Kconfig Also, the omitted arch/arm/mach-moxart/idle.c hinges on a patch now submitted to Russell's

[PATCH v2 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-17 Thread Jonas Jensen
Add MOXA ART SoC support. The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX). Used on models UC-7101, UC-7112/UC-7110, IA240/IA241, IA3341. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- arch/arm/Kconfig

[PATCH v2 2/3] ARM: mach-moxart: add MOXA ART device tree files

2013-06-17 Thread Jonas Jensen
Add generic SoC include and UC-7112-LX platform device tree files. Add device tree bindings documentation. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Documentation/devicetree/bindings/arm/moxart.txt |8 +++ .../arm/moxart/moxart-interrupt-controller.txt | 29

[PATCH v2 3/3] ARM: mach-moxart: add MOXA ART UART debug files

2013-06-17 Thread Jonas Jensen
Add MOXA ART kernel low-level debugging port support. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- arch/arm/Kconfig.debug |8 arch/arm/include/debug/moxart.S | 16 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 arch/arm

Re: [PATCH 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. I'll resubmit the entire set when it looks like there's nothing left to amend. On 13 June 2013 00:42, Olof Johansson o...@lixom.net wrote: You should provide a commit message, ideally with a short introduction of

Re: [PATCH 2/3] ARM: mach-moxart: add MOXA ART device tree files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. On 13 June 2013 00:49, Olof Johansson o...@lixom.net wrote: Hi, You should add a bindings description for the MOXA SoC platforms, similar to how others do it, under Documentation/devicetree/bindings/arm/. The