[PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/Kconfig |7 ++-- arch/powerpc/sysdev/mpc8xxx_gpio.c | 54 +++- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig ind

Re: [PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Grant Likely
Hi Anatolij, Looks pretty good, but some comments below... On Sat, Aug 7, 2010 at 7:28 AM, Anatolij Gustschin wrote: > Signed-off-by: Anatolij Gustschin You haven't written a patch description. Give some details about how the 512x gpio controller is different from the 8xxx one. > --- >  arch

PLX9030 port

2010-08-07 Thread vivek
Hello all I am new to the mail list I am trying to port the driver for PLX9030 PCI host chip based add-on card from  x86  to PPC7410 arch the following function function returns NULL pci_get_device(0x10b5, 0x9030, NULL) vendor ID given for PLX is 0x10b5 device ID is 0x9030 These values worked 

Re: [PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
Hi Grant, On Sat, 7 Aug 2010 09:12:50 -0600 Grant Likely wrote: > Hi Anatolij, > > Looks pretty good, but some comments below... > > On Sat, Aug 7, 2010 at 7:28 AM, Anatolij Gustschin wrote: > > Signed-off-by: Anatolij Gustschin > > You haven't written a patch description. Give some detail

Re: [PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Grant Likely
On Sat, Aug 7, 2010 at 10:39 AM, Anatolij Gustschin wrote: > Grant Likely wrote: >> > @@ -226,6 +272,9 @@ static struct irq_chip mpc8xxx_irq_chip = { >> >  static int mpc8xxx_gpio_irq_map(struct irq_host *h, unsigned int virq, >> >                                irq_hw_number_t hw) >> >  { >> > +

[PATCH v2] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
The GPIO controller of MPC512x is slightly different from 8xxx GPIO controllers. The register interface is the same except the external interrupt control register. The MPC512x GPIO controller differentiates between four interrupt event types and therefore provides two interrupt control registers, G

Re: make 3.82 fails on powerpc defconfig update [was: Linux 2.6.35]

2010-08-07 Thread Paul Smith
On Mon, 2010-08-02 at 11:51 +0300, Thomas Backlund wrote: > BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% > treeImage.% cuImage.% simpleImage.% > > Now, I dont know if this is "intended breakage" by the make update, or > if the Makefile needs to be updated The change is intent

Re: [PATCH v2] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Grant Likely
"Anatolij Gustschin" wrote: >The GPIO controller of MPC512x is slightly different from >8xxx GPIO controllers. The register interface is the same >except the external interrupt control register. The MPC512x >GPIO controller differentiates between four interrupt event >types and therefore provides