Re: [PATCH #upstream-fixes] pata_mpc52xx: inherit from ata_bmdma_port_ops

2011-01-09 Thread Roman Fietze
Hello Tejun, On Sunday, 09.January.2011 23:48:20 Tejun Heo wrote: > Fix it. I can confirm that, it's fixed. Thank's a lot. Should have looked into it, that was really a simple fix. Roman -- Roman Fietze Telemotive AG Buero Muehlhause

Re: PowerPC MPC5200B ATA MWDMA regression

2011-01-03 Thread Roman Fietze
to use ata_bmdma_qc_issue() ... I'm sorry, but if I would know about the details, and would know more about ATA I would have tried to patch pata_mpc52xx.c by myself. > Even better, just send the driver upstream. It has been there for a long while. You even patched it last summer. Roman --

PowerPC MPC5200B ATA MWDMA regression

2011-01-03 Thread Roman Fietze
bother you with test results instead of patches. Roman -- Roman Fietze Telemotive AG Buero Muehlhausen Breitwiesen 73347 Muehlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de ___ Linuxppc-dev m

MPC5200B MWDMA2 with recent 2.6.36 kernels

2010-10-25 Thread Roman Fietze
} ata1.00: configured for MWDMA2 ... ... and so on Any ideas? Same behavious on some of your boxes? Too bad my current know how when it comes to ATA is not too much above zero. Roman -- Roman Fietze Telemotive AG Buero Muehlhausen Breitwiesen 73347 Mu

[PATCH] powerpc/mpc5200: MPC5200 ATA driver requires BMDMA to be configured

2010-10-25 Thread Roman Fietze
of the driver pata_mpc52xx down in Kconfig to the section "PATA SFF controllers with BMDMA". Signed-off-by: Roman Fietze --- drivers/ata/Kconfig | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig ind

[PATCH] mpc52xx_gpio: support MPC52xx simple interrupt GPIO

2010-07-07 Thread Roman Fietze
>From 749b58686384275d253eeca8f3f0bd7a12daebe2 Mon Sep 17 00:00:00 2001 From: Roman Fietze Date: Wed, 7 Jul 2010 13:21:12 +0200 Subject: [PATCH] mpc52xx_gpio: support MPC52xx simple interrupt GPIO Add two OF GPIO chips when probing fsl,mpc5200-gpio, one for the 32 simple GPIO pins and one for the 8 simple interr

Re: CAN Subsystem and MPC52xx onboard controller

2010-06-10 Thread Roman Fietze
e kernel, which we already use for Atom based x86 development on the MEN boards. Thanks once more Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http:/

CAN Subsystem and MPC52xx onboard controller

2010-06-10 Thread Roman Fietze
ENX repos). Q1: And which one is "good" or "better" for CAN+MPC52xx if that's different? Thanks for any enlightenment Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-16 Thread Roman Fietze
nd out what bits cause what, e.g. start writing 0x03 and shift that pattern left every 16 scanlines. In what mode is your X server running? 16/24/32 bit? DirectColor, etc? Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-15 Thread Roman Fietze
SHADOW_WINDOW_WRITE, &winSize, pBuf->closure); if(!winBase) return; scrBase = scr; winSize /= sizeof

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-15 Thread Roman Fietze
acked, then I'll find it in quite some other locations. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de Amtsgericht UlmHRB

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-15 Thread Roman Fietze
e. If you want I can post (in the ML) or mail you the files that I changed. A diff probably won't help a lot, because I think we changed more than that, and we are using a pretty old XFree version. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-15 Thread Roman Fietze
e it's an endianess problem, on our boards we had to modify the X11 driver. What I did was swapping bytes when updating the device from the shadowfb inside programs/Xserver/miext/shadow/shpacked.c Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen

Re: MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-04-01 Thread Roman Fietze
with mixed RX and TX, different and varying data rates, etc. > FYI, I will be out of office next week. Lucky Guy Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(

MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-03-30 Thread Roman Fietze
oming patch to address this problem once more, and if it's just by recovering e.g. within mpc52xx_fec_mdio_transfer's timeout using some other dirty workaround? Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhaus

BestComm BD tasks, buffer done flag question

2010-03-19 Thread Roman Fietze
o handle it in this second interrupt. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de ___ Linuxppc-dev mailing list

[PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them

2010-03-11 Thread Roman Fietze
Hello, This patch avoids unbalanced enable/disable messages for the DMA interrupts when running the 5200 platform SCLPC/BestComm driver in DMA mode. Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2010-02-02 Thread Roman Fietze
different boards we (the SW guys) no longer can assume self made HW problems (HW guys), esp. when reading Freescale's advice with the XLB config. It might happen that we switch to 2.6 on our older products, hoping that at least the LPC/IDE problem disappears by using MWDMA2 instead of UDMA2.

Re: [PATCH 03/13] mpc52xx: add SCLPC register bit definitions

2010-01-11 Thread Roman Fietze
er the (1< Why is the list head being removed? Not used at all, except in initialization? Of course a seperate patch would have been needed. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7

Re: [PATCH 10/13] powerpc/5200: LocalPlus driver: fix problem caused by unpredictable IRQ order

2010-01-11 Thread Roman Fietze
original design, and only take some extra effort when the transfer directions changes. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de Amtsger

Re: [PATCH 02/13] powerpc/5200: LocalPlus driver: use SCLPC register structure

2010-01-11 Thread Roman Fietze
driver using clear and separate, well bescribed patches, of course taking care of your and other people comments. Again, thanks Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http:

Re: [PATCH 05/13] powerpc/5200: LocalPlus driver: fix DMA TX interrupt request

2009-12-21 Thread Roman Fietze
oad) I will come back with the results or probably further patches. One of them might be increasing the number of BDs again, because the BestComm seems to take some time until it gives them back to the world, and then sometimes in batches. I had a similar problem on a high speed SPI link using the Bes

[PATCH 13/13] powerpc/5200: LocalPlus driver: clean up comments

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index b2c92f5..a89072a 100644 --- a

[PATCH 12/13] mpc52xx: add mpc5200-localplus-test LocalPlus test driver

2009-12-21 Thread Roman Fietze
The original version was done by Grant Likely. This is a modified version using the platform LocalPlus driver. Signed-off-by: Roman Fietze --- drivers/misc/mpc5200-localplus-test.c | 879 + 1 files changed, 879 insertions(+), 0 deletions(-) create mode 100644

[PATCH 11/13] powerpc/5200: LocalPlus driver: move RAM DMA address from request to driver

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/include/asm/mpc52xx.h|1 - arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 13 +++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h b/arch/powerpc/include/asm/mpc52xx.h

[PATCH 10/13] powerpc/5200: LocalPlus driver: fix problem caused by unpredictable IRQ order

2009-12-21 Thread Roman Fietze
The order of the raised interrupts of SCLPC and BCOM cannot be predicted, because it depends on the individual BCOM and CPU loads. So in DMA mode we just wait for both until we finish the transaction. Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 94

[PATCH 09/13] powerpc/5200: LocalPlus driver: smarter calculation of BPT, bytes per transfer

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 33 +++-- 1 files changed, 20 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index 48f2b4f..21b2a40

[PATCH 08/13] powerpc/5200: LocalPlus driver: smart flush of receive FIFO

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 40 - 1 files changed, 26 insertions(+), 14 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index a7cd585..48f2b4f

[PATCH 07/13] powerpc/5200: LocalPlus driver: reset BestComm when committing new request

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index 8d8a63a..a7cd585 100644 --- a/arch

[PATCH 06/13] powerpc/5200: LocalPlus driver: map and unmap DMA areas

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/include/asm/mpc52xx.h|2 +- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 26 +++- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h b/arch/powerpc/include/asm

[PATCH 05/13] powerpc/5200: LocalPlus driver: fix DMA TX interrupt request

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index 2fd1f3f..1e4f725 100644 --- a/arch

[PATCH 04/13] mpc52xx: LocalPlus driver: rewrite interrupt routines, fix errors

2009-12-21 Thread Roman Fietze
Use SCLPC bit definitions from mpc52xx.h for better readability. Rewrite IRQ handlers, make them work for DMA. Fix module unload error. Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 306 - 1 files changed, 149 insertions(+), 157

[PATCH 03/13] mpc52xx: add SCLPC register bit definitions

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/include/asm/mpc52xx.h | 40 +++ 1 files changed, 31 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h b/arch/powerpc/include/asm/mpc52xx.h index 57f8335..c659d1d 100644 --- a/arch

[PATCH 02/13] powerpc/5200: LocalPlus driver: use SCLPC register structure

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/include/asm/mpc52xx.h| 24 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 79 +++-- 2 files changed, 59 insertions(+), 44 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h b/arch/powerpc

[PATCH 01/13] powerpc/5200: LocalPlus driver: fix indentation and white space

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c index 929d017..4c84aa5 100644

Re: [PATCH 0/13] MPC5200B LocalPlus Platform Driver Changes

2009-12-21 Thread Roman Fietze
form LocalPlus driver for the MPC5200B. This includes formatting changes in the first step, switching to a structure describing the SCLPC registers, making DMA work, making unloading the module work and so on. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-18 Thread Roman Fietze
00B with concurrent traffic to or from the LPC (chips selects of peripherals while a DMA transfer is active). The same disks work without problems using UDMA2 on the old 2.4.25 on exctly the same HW. Why? I don't know yet. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Bre

Re: [PATCH] PowerPC: const intspec pointers

2009-12-17 Thread Roman Fietze
ystem generating them. In the case of the BestComm a parallel load on e.g. FEC or ATA can delay the bcom gen bd interrupt until it's task gets scheduled again, which can take "some time" due its low BestComm prio of 2. The second problem was, that the original driver

[PATCH] pata_mpc52xx: optimizing code size by change of ATA timing data types

2009-12-16 Thread Roman Fietze
lts inside mpc52xx_ata_apply_timings() and they match. BTW: Should I break lines at col 72 or 80? From: Roman Fietze Date: Wed, 16 Dec 2009 13:10:31 +0100 Subject: [PATCH] pata_mpc52xx: reduce code size by simple change of constant data types Signed-off-by: Roman Fietze --- drivers/ata/pata_mpc52x

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-16 Thread Roman Fietze
t wrong data reading from FLASH or the FPGA using SCLPC+DMA in the first few bytes with the fast settings, when I did not manually flush or invalidate the cache prior to the DMA submission as dma_map_single would do it in non cache coherent setups. Roman -- Roman FietzeTelemotive

Re: [PATCH] PowerPC: const intspec pointers

2009-12-15 Thread Roman Fietze
or future request queueing, and so on. If you or Ben are interested in my work I can post the patches here. Of course just to get some comments, because the driver can't be ready in the state it is. The commits would go on top of Ben's next branch. Roman -- Roman Fiet

Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-09 Thread Roman Fietze
use only component that do not conflict. The only thing left is the the cache coherency switch in the kernel config. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45

MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2009-12-09 Thread Roman Fietze
/o problems, too. I would be interested in your opinion, maybe Wolfgang could make some comments, because he is involved in the U-Boot a lot as well. Here is the original text from the Freescale support person: -- snippety snip -- Dear Roman Fietze, In reply to your message regarding Service

[PATCH] PowerPC: const intspec pointers

2009-12-08 Thread Roman Fietze
compile that patch on different platforms and got no compiler errors, so I'd like to ask you to review that patch, and check if it's worth using it. Signed-off-by: Roman Fietze --- arch/powerpc/include/asm/irq.h |4 ++-- arch/powerpc/kernel/irq.c

MPC5200B XLB BSDIS question

2009-12-01 Thread Roman Fietze
ot to set that bit? Is it true, as I believe it, that the "polairity" of this bit is documented the wrong way e.g. in Freescale's AN3045? Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/

Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-11-11 Thread Roman Fietze
n to all who answered. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de ___ Linuxppc-dev mailing list Linuxppc-dev@l

MPC5200B FEC_IEVENT_RFIFO_ERROR leading to Link is Down

2009-11-10 Thread Roman Fietze
s? Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.

Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-10-27 Thread Roman Fietze
, but could not find that file, neither in the current master, nor in older tags somewhat related to "2.6.30", nor in any local clone in any version of the 2.6 since "He" created the repos. > If you are using older kernel you may want to copy it. 2.6.30 and 2.6.31 from DENX

Micrel PHY KSZ8001 on MPC5200B FEC

2009-10-27 Thread Roman Fietze
driver in the drivers/net/phy/ directory? Modify the DTS? If yes, how? A link to some documentation that's not already in the kernel sources would already help. Is it correct, when looking at the sources, that the MPC's FEC driver switched to the generic PHY driver interface? Roman

Re: [PATCH]: [MPC5200] Add ATA DMA support

2009-07-09 Thread Roman Fietze
ing I could do to help you to get this problem fixed? Roman -- Roman Fietze Telemotive AG Büro Mühlhausen ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

MTD OF parser problem

2009-07-07 Thread Roman Fietze
defined somewhere below my build directory. If I change the above define to #if defined(CONFIG_MTD_OF_PARTS) || defined(CONFIG_MTD_OF_PARTS_MODULE) everything is fine and MTD partition work as expected. My fault? Other solution? If not, I can submit that tiny patch. Thanks Roman -- Roman

[PATCH] Add MPC52xx simple interrupt GPIO support

2009-02-26 Thread Roman Fietze
it(void) if (of_register_platform_driver(&mpc52xx_simple_gpiochip_driver)) printk(KERN_ERR "Unable to register simple GPIO driver\n"); + if (of_register_platform_driver(&mpc52xx_simple_interrupt_gpiochip_