ata/ide driver for MPC512x

2012-01-19 Thread Matthias Fuchs
Hi, do we have an ata/ide driver for MPC512x internal ATA controller? So something that is compatible to "fsl,mpc5121-pata"? Matthias ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-18 Thread Matthias Fuchs
Hi Anatolij, On 18.01.2012 12:08, Anatolij Gustschin wrote: > Hi Matthias, > > On Tue, 17 Jan 2012 15:12:50 +0100 > Matthias Fuchs wrote: > >> On 06.01.2012 19:03, Alan Stern wrote: >>> On Fri, 6 Jan 2012, Matthias Fuchs wrote: >>> >>>> For

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-17 Thread Matthias Fuchs
On 06.01.2012 19:03, Alan Stern wrote: > On Fri, 6 Jan 2012, Matthias Fuchs wrote: > >> For my eyes it does not really look like a general USB issue. >> It looks like a problem with the Freescale EHCI implementation that is >> influenced by high interrupt or internal bus

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-06 Thread Matthias Fuchs
On 22.12.2011 18:39, Greg KH wrote: > On Thu, Dec 22, 2011 at 12:48:45PM +0100, Matthias Fuchs wrote: >> Hi, >> >> I ran into trouble when using the MPC5121 with full speed >> USB devices. I've seen the issue with USB serial converters >> based on FTDI and

[PATCH V2] powerpc/mpc512x: Add gpio driver

2010-03-05 Thread Matthias Fuchs
This patch adds a gpio driver for MPC512X PowerPCs. It has been tested on our CAN-CBX-CPU5201 module that uses a MPC5121 CPU. This platform comes with a couple of LEDs and configuration switches that have been used for testing. Signed-off-by: Matthias Fuchs --- v2: - move driver to arch/powerpc

Re: [PATCH] powerpc/mpc512x: Add gpio driver

2010-02-22 Thread Matthias Fuchs
Hi Grant, thanks for comments. I will post an updated version soon. On Tuesday 16 February 2010 20:19, Grant Likely wrote: > > +       return 0; > > +} > > +arch_initcall(mpc512x_add_gpiochips); > > Don't do this. Either make this a proper of_platform device driver, > or call mpc512x_add_gpioc

[PATCH] powerpc/mpc512x: Add gpio driver

2010-01-28 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- arch/powerpc/include/asm/mpc512x_gpio.h | 30 + arch/powerpc/platforms/Kconfig |9 ++ arch/powerpc/sysdev/Makefile|1 + arch/powerpc/sysdev/mpc512x_gpio.c | 179 +++ 4 files changed, 219

[PATCH] serial: Add 16850 uart type support to OF uart driver

2009-01-15 Thread Matthias Fuchs
roller. Signed-off-by: Matthias Fuchs --- drivers/serial/of_serial.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c index a821e3a..14f8fa9 100644 --- a/drivers/serial/of_serial.c +++ b/drivers/serial/of_serial.c @

Re: mal_probe crash

2009-01-09 Thread Matthias Fuchs
Forget my last posting! It's just a dirty work around when having a single EMAC. It does not work with two EMACs like on sequoia. Matthias ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: mal_probe crash

2009-01-09 Thread Matthias Fuchs
he way we do things now > displeases some changes in the network stack. I'll have to dig. > Could it be that simple. Probably not. It works at a first glace on a 405EP ang GPr board. But it might cause problems when having more than one EMAC up at the same time. Matthias [PATCH] p

Building current git for 405 is broken

2009-01-07 Thread Matthias Fuchs
Hi Benjamin, commit 2a4aca114439 (powerpc/mm: Split low level tlb invalidate for nohash processors) breaks building for 40x CPUs. This is what I get when building for the walnut board: CC arch/powerpc/kernel/prom.o In file included from arch/powerpc/kernel/prom.c:56: arch/powerpc/mm/mmu_

[PATCH] powerpc: add ioctls for RS485 mode control of serial drivers

2008-12-30 Thread Matthias Fuchs
These ioctls take a struct serial_rs485 (see linux/serial.h) as argument. They are already available on x86. This patch adds them for the powerpc architecture. Signed-off-by: Matthias Fuchs --- arch/powerpc/include/asm/ioctls.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH V3] powerpc: Fix Book-E watchdog timer interval setting

2008-11-05 Thread Matthias Fuchs
This patch fixes the setting of the Book-E watchdog timer interval setup on initialization and by ioctl(). On initialization the period bits have to be masked before setting a new period. In WDIOC_SETTIMEOUT ioctl we have to use the correct mask. Signed-off-by: Matthias Fuchs <[EMAIL PROTEC

Re: Connecting to "PCI command write" interrupt on 4xx platforms

2008-11-05 Thread Matthias Fuchs
dma-ranges = <...>; interrupt-map-mask = <...>; interrupt-map = <...>; }; }; Matthias On Tuesday 04 November 2008 22:29:44 Benjamin Herrenschmidt wrote: > On Tue, 2008-11-04 at 12:17 +0100, Matthias Fuchs

Re: Connecting to "PCI command write" interrupt on 4xx platforms

2008-11-04 Thread Matthias Fuchs
On Tuesday 04 November 2008 07:16, Benjamin Herrenschmidt wrote: > > It is device_type for PCIe right now, I'm afraid. This was what we agreed > > upon. Here a code sniplet from the patch: > > > > /* Check if device_type property is set to "pci" or "pci-endpoint". > > * Resulting from th

Re: Connecting to "PCI command write" interrupt on 4xx platforms

2008-11-03 Thread Matthias Fuchs
On Monday 03 November 2008 11:57, Benjamin Herrenschmidt wrote: > On Mon, 2008-11-03 at 10:10 +0100, Matthias Fuchs wrote: > > > > Adding this interrupt to the PCI node would make (logical) sense. But > > on PCI adapter (add-in cards) designs we typically disable the PCI

Re: Connecting to "PCI command write" interrupt on 4xx platforms

2008-11-03 Thread Matthias Fuchs
On Monday 03 November 2008 12:54, Stefan Roese wrote: > On Monday 03 November 2008, Benjamin Herrenschmidt wrote: > > On Mon, 2008-11-03 at 10:10 +0100, Matthias Fuchs wrote: > > > Adding this interrupt to the PCI node would make (logical) sense. But > > > on PCI adapte

Re: Connecting to "PCI command write" interrupt on 4xx platforms

2008-11-03 Thread Matthias Fuchs
Hi Ben, On Thursday 30 October 2008 21:15, Benjamin Herrenschmidt wrote: > On Thu, 2008-10-30 at 11:58 +0100, Matthias Fuchs wrote: > > I need to connect to the "PCI command write" interrupt on a 440EPx > > platform. This is UIC0/int#5. > > > > Where should I

Re: [PATCH V2] powerpc: Fix Book-E watchdog timer interval setting

2008-11-03 Thread Matthias Fuchs
; and "(3 << 30) | (15 << 15)". Can you check that please and I will resend my patch. Thanks for pointing that out. Matthias On Tuesday 23 September 2008 18:31, Timur Tabi wrote: > On Tue, Sep 23, 2008 at 10:04 AM, Matthias Fuchs > <[EMAIL PROTECTED]>

Connecting to "PCI command write" interrupt on 4xx platforms

2008-10-30 Thread Matthias Fuchs
Hi, I need to connect to the "PCI command write" interrupt on a 440EPx platform. This is UIC0/int#5. Where should I add this interrupt in the DT? To the PCI node? In this case it will collide with the PCI interrupts. My application is a 440EPx on a PCI addon card. So the PCI node is disabled

[PATCH V2] powerpc: Fix Book-E watchdog timer interval setting

2008-09-23 Thread Matthias Fuchs
This patch fixes the setting of the Book-E watchdog timer interval setup on initialization and by ioctl(). On initialization the period bits have to be masked before setting a new period. In WDIOC_SETTIMEOUT ioctl we have to use the currect mask. Signed-off-by: Matthias Fuchs <[EMAIL PROTEC

Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-09-19 Thread Matthias Fuchs
Hi Kumar, should I resend this my patch? Is there chance to get it applied. It really fixes a bug! Matthias On Thursday 07 August 2008 15:19:10 Kumar Gala wrote: > On Aug 7, 2008, at 7:48 AM, Matthias Fuchs wrote: > > This patch fixes the setting of the Book-E watchdog timer interval

device tree interrupt-map/interrupt-map-mask properties for a 405EP board

2008-09-17 Thread Matthias Fuchs
Hi, I am trying to setup a device tree for a 405EP based board. I did not fully understand how to setup the interrupt-map-mask and interrupt-map properties for the PCI node: ... PCI0: [EMAIL PROTECTED] { ... interrup

[PATCH] ppc4xx: Allow 4xx PCI bridge to be disabled via device tree

2008-09-10 Thread Matthias Fuchs
This patch allows the 4xx (conventional) PCI bridge to be disabled via the device tree. This is needed for 4xx PCI adapter hardware. Use the PCI node's status property to disable the PCI bridge. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ppc4xx_p

Re: [PATCH] powerpc/44x: Add hwmon support to Sequoia device tree

2008-09-09 Thread Matthias Fuchs
On Monday 08 September 2008 18:03, Scott Wood wrote: > On Sat, Sep 06, 2008 at 05:07:15PM +0200, Wolfgang Grandegger wrote: > > How about "dtt"? That's what we use in U-Boot for digital temperature > > sensors as well. > > I vote against any acronyms that are not very well known. Even knowing > t

[PATCH V2] powerpc/44x: Add hwmon support to Sequoia device tree

2008-09-08 Thread Matthias Fuchs
This patch adds support for the AD7414 temperature sensor on Sequoia PPC440EPx board. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sequoia.dts |9 + 1 files changed, 9 insertions(+), 0 deletions(-)

Re: [PATCH] powerpc/44x: Add hwmon support to Sequoia device tree

2008-09-06 Thread Matthias Fuchs
Hi, I have chosen "hwmon" because those drivers are placed in the kernel's drivers/hwmon subdirectory. "temp" sounds to much like "temporary" for me :-) We can name it "sensor" - inspired by the lm-sensors projects that takes care of such sensors. Because these type of devices are not always use

Re: [PATCH] powerpc/44x: Add hwmon support to Sequoia device tree

2008-09-05 Thread Matthias Fuchs
Hi, I was inspired by some I2C RTC node (tqm5200.dts). Those nodes are named [EMAIL PROTECTED] But to be in common I can change it. Also the vendor is differnet in warp's dts file. adi (analog device inc.) against "analog". So I will update my patch to be compatible with warp.dts. I keep your ac

[PATCH] powerpc/44x: Add hwmon support to Sequoia device tree

2008-09-04 Thread Matthias Fuchs
This patch adds support for the AD7414 temperature sensor on Sequoia PPC440EPx board. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sequoia.dts |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/sequoia.dts

Re: [RFC] adding hwmon support to sequoia device tree

2008-09-04 Thread Matthias Fuchs
Hi, On Thursday 04 September 2008 14:25, Josh Boyer wrote: > On Thu, Sep 04, 2008 at 11:55:02AM +0200, Matthias Fuchs wrote: > >Hi, > > > >I added support for the Sequoia on-board I2C temperature sensor to the > >device. > >I am not sure if there is any node n

[RFC] adding hwmon support to sequoia device tree

2008-09-04 Thread Matthias Fuchs
Hi, I added support for the Sequoia on-board I2C temperature sensor to the device. I am not sure if there is any node naming convention for such devices. The needed I2C driver can be found under drivers/hwmon in the kernel sources, so I found "hwmon" suitable for the node. Do we want to add this

Re: [RFC][USB] powerpc: Workaround for the PPC440EPX USBH_23 errata

2008-08-29 Thread Matthias Fuchs
Hi, please see my comment below. It might be helpful for some of you. On Thursday 28 August 2008 23:11:51 Steven A. Falco wrote: > Alan Stern wrote: > > Your original post mentioned that the 440EPx has only one USB 2.0 host > > port. Then how can you use a keyboard and memory stick at the same >

ppc4xx_pci: disable PCI (PnP) via fdt

2008-08-24 Thread Matthias Fuchs
Hi, is it possible to disable PCI PnP via the device tree on a 4xx system? I am working with a 440EPx board that can be system CPU (with PCI hostbridge) or a PCI adapter board. In the latter setup I want to disable PCI PnP, preferred by manipulating the fdt by U-Boot. The PCI mode is detected b

Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-08-07 Thread Matthias Fuchs
x27;3' which is the maximum, so any attempt to set a new interval keeps the former '3'. The patch correctly masks the period bits in SPRN_TCR before writing the new value. That's all. Matthias On Thursday 07 August 2008 15:19, Kumar Gala wrote: > > On Aug 7, 2008,

[PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-08-07 Thread Matthias Fuchs
This patch fixes the setting of the Book-E watchdog timer interval setup on initialization and by ioctl(). Tested on PPC440EPx sequoia evaluation board. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- drivers/watchdog/booke_wdt.c |6 +- 1 files changed, 5 insertions

Re: 4xx support in arch/ppc is going away Real Soon Now

2008-06-16 Thread Matthias Fuchs
Scott Wood <[EMAIL PROTECTED]> > Acked-by: Sean MacLennan <[EMAIL PROTECTED]> > Acked-by: Segher Boessenkool <[EMAIL PROTECTED]> > Acked-by: Stefan Roese <[EMAIL PROTECTED]> > Acked-by: Stephen Neuendorffer <[EMAIL PROTECTED]> > Acked-by: Wolfgang Denk <

Re: Reminder: removal of arch/ppc

2008-01-28 Thread Matthias Fuchs
On Saturday 26 January 2008 02:21, Josh Boyer wrote: > > 4xx: > > BAMBOO > > Ported (mostly) > > > CPCI405 > > Doubt this will be ported. Of course this will be ported! I will do that in th next weeks. Matthias ___ Linuxppc-dev mailing list Li

PCI interrupt assignment on sequoia board

2008-01-09 Thread Matthias Fuchs
Hi, I noticed that Josh's 'for-2.5.25' does not assign PCI interrupts correctly: bash-3.00# lspci -v 00:00.0 Class 0680: 1014:027f Subsystem: 10e8:cafe Flags: bus master, medium devsel, latency 0, IRQ 16 Memory at (32-bit, prefetchable) Capabilities: [58] Power Ma

Re: [PATCH] enable built-in networking for Sequoia defconfig

2008-01-09 Thread Matthias Fuchs
Thanks, Sorry, I must have been blind. Matthias On Wednesday 09 January 2008 16:21, Josh Boyer wrote: > On Wed, 9 Jan 2008 15:42:38 +0100 > Matthias Fuchs <[EMAIL PROTECTED]> wrote: > > > On Wednesday 09 January 2008 13:07, Josh Boyer wrote: > > > On

Re: [PATCH] enable built-in networking for Sequoia defconfig

2008-01-09 Thread Matthias Fuchs
On Wednesday 09 January 2008 13:07, Josh Boyer wrote: > On Wed, 9 Jan 2008 12:16:25 +0100 > Matthias Fuchs <[EMAIL PROTECTED]> wrote: > > > Josh, > > > > Where did you apply this patch to? Couldn't find it in your for-2.6.25 > > branch. > >

Re: [PATCH] enable built-in networking for Sequoia defconfig

2008-01-09 Thread Matthias Fuchs
Josh, Where did you apply this patch to? Couldn't find it in your for-2.6.25 branch. BTW, is it normal to edit the defconfig file by hand? I cannot get CONFIG_IBM_NEW_EMAC enabled through Kconfig. Am I missing something: a) Patch to enable IBM_NEW_EMAC via Kconfig is welcome

[PATCH] [POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper

2007-12-06 Thread Matthias Fuchs
405EP CPUs from the boot wrapper. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- arch/powerpc/boot/4xx.c | 81 ++ arch/powerpc/boot/4xx.h |1 + arch/powerpc/boot/dcr.h |5 +++ 3 files changed, 80 insertions(+), 7 deletions(-)