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 Muehlhausen Breitwiesen

PowerPC MPC5200B ATA MWDMA regression

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

Re: PowerPC MPC5200B ATA MWDMA regression

2011-01-03 Thread Roman Fietze
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 -- Roman Fietze

[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 roman.fie...@telemotive.de --- drivers/ata/Kconfig | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers/ata

MPC5200B MWDMA2 with recent 2.6.36 kernels

2010-10-25 Thread Roman Fietze
: 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 Muehlhausen Tel

[PATCH] mpc52xx_gpio: support MPC52xx simple interrupt GPIO

2010-07-07 Thread Roman Fietze
749b58686384275d253eeca8f3f0bd7a12daebe2 Mon Sep 17 00:00:00 2001 From: Roman Fietze roman.fie...@telemotive.de 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

CAN Subsystem and MPC52xx onboard controller

2010-06-10 Thread Roman Fietze
: 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/18493-45http://www.telemotive.de

Re: CAN Subsystem and MPC52xx onboard controller

2010-06-10 Thread Roman Fietze
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://www.telemotive.de

Re: Xorg on Fujitsu Lime with MPC5200b?

2010-04-16 Thread Roman Fietze
, 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 541321 Vorstand

Re: Xorg on Fujitsu Lime with MPC5200b?

2010-04-16 Thread Roman Fietze
++; } } 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

Re: Xorg on Fujitsu Lime with MPC5200b?

2010-04-16 Thread Roman Fietze
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 Tel.: +49(0)7335

Re: Xorg on Fujitsu Lime with MPC5200b?

2010-04-15 Thread Roman Fietze
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 73347

Re: Xorg on Fujitsu Lime with MPC5200b?

2010-04-15 Thread Roman Fietze
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 73347 Mühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de

Re: MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-04-01 Thread Roman Fietze
, 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(0)7335/18493-45http://www.telemotive.de

MPC5200B, many FEC_IEVENT_RFIFO_ERRORs until link down

2010-03-30 Thread Roman Fietze
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ühlhausen Tel.: +49(0)7335/18493-45http://www.telemotive.de

BestComm BD tasks, buffer done flag question

2010-03-19 Thread Roman Fietze
-- 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

[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 roman.fie...@telemotive.de --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |2 ++ 1 files changed, 2 insertions

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

2010-02-02 Thread Roman Fietze
(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. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen Breitwiesen

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

2010-01-11 Thread Roman Fietze
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://www.telemotive.de

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

2010-01-11 Thread Roman Fietze
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 Amtsgericht Ulm

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

2010-01-11 Thread Roman Fietze
. Looking at it a second time you and Wolfgang are definitively right. And I prefer the (1n) style a lot more than the 0x0080 style. 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 Fietze

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

2009-12-21 Thread Roman Fietze
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 73347 Mühlhausen Tel.: +49(0

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

[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 roman.fie...@telemotive.de --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 306 - 1 files changed, 149

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

[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 roman.fie...@telemotive.de --- 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

[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 roman.fie...@telemotive.de --- arch/powerpc/platforms/52xx

[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 roman.fie...@telemotive.de --- 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

[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 roman.fie...@telemotive.de --- drivers/misc/mpc5200-localplus-test.c | 879 + 1 files changed, 879 insertions(+), 0

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

2009-12-21 Thread Roman Fietze
Signed-off-by: Roman Fietze roman.fie...@telemotive.de --- 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

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

2009-12-21 Thread Roman Fietze
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 BestComm. Roman -- Roman FietzeTelemotive AG Büro Mühlhausen

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

2009-12-18 Thread Roman Fietze
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 Breitwiesen

Re: [PATCH] PowerPC: const intspec pointers

2009-12-17 Thread Roman Fietze
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 does not use the flush bit to avoid stale RX data. Roman -- Roman FietzeTelemotive

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

2009-12-16 Thread Roman Fietze
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 AG Büro Mühlhausen Breitwiesen

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

2009-12-16 Thread Roman Fietze
mpc52xx_ata_apply_timings() and they match. BTW: Should I break lines at col 72 or 80? From: Roman Fietze roman.fie...@telemotive.de 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 roman.fie

Re: [PATCH] PowerPC: const intspec pointers

2009-12-15 Thread Roman Fietze
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 FietzeTelemotive AG Büro Mühlhausen Breitwiesen

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

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

2009-12-09 Thread Roman Fietze
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-45http://www.telemotive.de

[PATCH] PowerPC: const intspec pointers

2009-12-08 Thread Roman Fietze
to 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 roman.fie...@telemotive.de --- arch/powerpc/include/asm/irq.h |4 ++-- arch/powerpc/kernel/irq.c

MPC5200B XLB BSDIS question

2009-12-01 Thread Roman Fietze
? 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/18493-45http://www.telemotive.de

Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-11-11 Thread Roman Fietze
. 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

MPC5200B FEC_IEVENT_RFIFO_ERROR leading to Link is Down

2009-11-10 Thread Roman Fietze
-- 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.ozlabs.org

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 -- Roman

Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-10-27 Thread Roman Fietze
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 or kernel.org. Roman -- Roman Fietze

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

2009-07-09 Thread Roman Fietze
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
); + if (of_register_platform_driver(mpc52xx_gpt_gpiochip_driver)) printk(KERN_ERR Unable to register gpt GPIO driver\n); -- 1.6.1.2 Roman -- Roman Fietze Telemotive AG Büro Mühlhausen ___ Linuxppc-dev mailing list Linuxppc-dev