Re: [PATCH] MTD ofpart: Check availability of reg property instead of name property

2009-08-25 Thread Kumar Gala
On Aug 25, 2009, at 8:52 AM, Benjamin Krill wrote: The previous implementation breaks the dts binding "mtd- physmap.txt". This implementation fixes the issue by checking the availability of the reg property instead of the name property. Signed-off-by: Benjamin Krill --- drivers/mtd/ofpart.c

[PATCH][v2] powerpc/85xx: P1020RDB Support Added

2009-08-25 Thread Poonam Aggrwal
P1020 is another member of Freescale QorIQ series of processors. It is an e500 based dual core SOC. Being a scaled down version of P2020 it has following differences from P2020: - 533MHz - 800MHz core frequency. - 256Kbyte L2 cache - Ethernet controllers with classification capabilities(new control

[PATCH] MTD ofpart: Check availability of reg property instead of name property

2009-08-25 Thread Benjamin Krill
The previous implementation breaks the dts binding "mtd-physmap.txt". This implementation fixes the issue by checking the availability of the reg property instead of the name property. Signed-off-by: Benjamin Krill --- drivers/mtd/ofpart.c | 21 ++--- 1 files changed, 10 insert

Re: [PATCH v2 0/6] Device table matching for SPI subsystem

2009-08-25 Thread Artem Bityutskiy
On Wed, 2009-08-19 at 01:44 +0400, Anton Vorontsov wrote: > On Mon, Aug 10, 2009 at 10:35:23AM +0300, Artem Bityutskiy wrote: > > On Fri, 2009-07-31 at 04:39 +0400, Anton Vorontsov wrote: > > > Andrew, > > > > > > This new patch set overwrites following patches: > > > > > > hwmon-lm70-convert-t

Re: [PATCH 1/3] powerpc/82xx: Fix BCSR bits for MPC8272ADS boards

2009-08-25 Thread Kumar Gala
On Aug 18, 2009, at 6:28 PM, Anton Vorontsov wrote: mpc8272_ads.c is using BCSR bits definitions from pq2ads.h, but according to User's Guide the bits are wrong for MPC8272ADS boards (I guess definitions from pq2ads should only be used for PQ2FADS boards). So, let's introduce our own definitio

Re: [PATCH 2/3] powerpc/82xx: Add CPM USB Gadget support for MPC8272ADS boards

2009-08-25 Thread Kumar Gala
On Aug 18, 2009, at 6:28 PM, Anton Vorontsov wrote: - Add usb node; - Configure pins and clocks; - Enable USB function in BCSR. The support was successfully tested using serial and ethernet gadget drivers. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc8272ads.dts |8 ++

Re: [PATCH 3/3] powerpc/85xx: Add QE USB support for MPC8569E-MDS boards

2009-08-25 Thread Kumar Gala
On Aug 18, 2009, at 6:28 PM, Anton Vorontsov wrote: - Add gpio-controller node for BCSR17, it is used to control USB speed and VBUS; - Add timer node for QE GTM, needed for USB host; - Add usb node itself; - Add some probing code for BCSR GPIOs. NOTE: QE USB doesn't work on prototype boards,

Re: [PATCH v2] qe_lib: Set gpio data before changing the direction to output

2009-08-25 Thread Kumar Gala
On Aug 18, 2009, at 4:20 PM, Michael Barkowski wrote: This avoids having a short glitch if the desired initial value is not the same as what was previously in the data register. Signed-off-by: Michael Barkowski --- Anton Vorontsov wrote: There is a recursive locking bug: _set() takes the sam

Re: [PATCH v2] powerpc/85xx: Add eSDHC support for MPC8536DS boards

2009-08-25 Thread Kumar Gala
On Aug 18, 2009, at 6:38 PM, Anton Vorontsov wrote: This patch simply adds sdhci node to the device tree. We specify clock-frequency manually, so that eSDHC will work without upgrading U-Boot. Though, that'll only work for default setup (1500 MHz) on new board revisions. For non-default setups

[PATCH] powerpc/booke: Move MMUCSR definition into mmu-book3e.h

2009-08-25 Thread Kumar Gala
The MMUCSR is now defined as part of the Book-3E architecture so we can move it into mmu-book3e.h and add some of the additional bits defined by the architecture specs. Signed-off-by: Kumar Gala --- arch/powerpc/include/asm/mmu-book3e.h | 12 arch/powerpc/include/asm/reg_booke.h

Re:[PATCH 1/2] powerpc: add kexec support on FSL-Book-E

2009-08-25 Thread wilbur.chan
2009/8/5, Sebastian Andrzej Siewior : > There is no SMP support. The other CPUs are not halted/resumed. At the > time of writing it I did not have a SMP machine so I did not implement > it. > Sebastian > Hi Sebastian, Recently I've implemented non-SMP kexec on MPC8572 and P2020ds(2G ram). I

Re: gianfar.c: Unwanted VLAN tagging on TX frames

2009-08-25 Thread Torsten Fleischer
On Tuesday 25 August 2009 at 01:32:18, Andy Fleming wrote: > > Hmmmhow have you tested this? This looks like it has a bad race > condition. The TCTRL register applies to all packets, which means if you > send a packet with VLAN tags, followed by one without, or visa versa, > there's a reason

Re: [patch] powerpc/ps3: Update ps3_defconfig

2009-08-25 Thread Geoff Levand
On 08/24/2009 10:20 PM, Michael Neuling wrote: >> Signed-off-by: Geoff Levand >> --- >> Hi Ben, >> >> Please send upstream if it is not too late. > > Is the current one broken? Maybe a commit message would be nice :-P The current one is fine. The main change are: o Refresh for 2.6.31. o Re

[patch v2] powerpc/ps3: Update ps3_defconfig

2009-08-25 Thread Geoff Levand
Update ps3_defconfig. o Refresh for 2.6.31. o Remove MTD support. o Add more HID drivers. Signed-off-by: Geoff Levand --- arch/powerpc/configs/ps3_defconfig | 211 + 1 file changed, 75 insertions(+), 136 deletions(-) --- a/arch/powerpc/configs/ps3_defcon

Please pull from my 'next' branch

2009-08-25 Thread Kumar Gala
Please pull from 'next' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to receive the following updates: arch/powerpc/boot/dts/mpc8272ads.dts|8 arch/powerpc/boot/dts/mpc8536ds.dts |8 arch/powerpc/boot/dts/mpc8536ds_36b.dts |

[PATCH] powerpc/pci: Pull ppc32 PCI features into common

2009-08-25 Thread Kumar Gala
Some of the PCI features we have in ppc32 we will need on ppc64 platforms in the future. These include support for: * ppc_md.pci_exclude_device * indirect config cycles * early config cycles We also simplified the logic in fake_pci_bus() to assume it will always get a valid pci_controller. Sinc

Re: [PATCH] powerpc/pci: Pull ppc32 PCI features into common

2009-08-25 Thread Kumar Gala
On Aug 25, 2009, at 9:20 PM, Kumar Gala wrote: Some of the PCI features we have in ppc32 we will need on ppc64 platforms in the future. These include support for: * ppc_md.pci_exclude_device * indirect config cycles * early config cycles We also simplified the logic in fake_pci_bus() to assu

Re: [PATCH] powerpc/pci: Pull ppc32 PCI features into common

2009-08-25 Thread Grant Likely
On Tue, Aug 25, 2009 at 8:20 PM, Kumar Gala wrote: > Some of the PCI features we have in ppc32 we will need on ppc64 > platforms in the future.  These include support for: > > * ppc_md.pci_exclude_device > * indirect config cycles > * early config cycles > > We also simplified the logic in fake_pci

[PATCH V2 1/3] powerpc/pci: Remove dead checks for CONFIG_PPC_OF

2009-08-25 Thread Grant Likely
From: Grant Likely PPC_OF is always selected for arch/powerpc. This patch removes the stale #defines Signed-off-by: Grant Likely Acked-by: Stephen Rothwell Acked-by: Kumar Gala --- arch/powerpc/kernel/pci-common.c |8 arch/powerpc/kernel/pci_32.c |9 - 2 files

[PATCH V2 2/3] powerpc/pci: move pci_64.c device tree scanning code into pci-common.c

2009-08-25 Thread Grant Likely
From: Grant Likely The PCI device tree scanning code in pci_64.c is some useful functionality. It allows PCI devices to be described in the device tree instead of being probed for, which in turn allows pci devices to use all of the device tree facilities to describe complex PCI bus architectures

[PATCH V2 3/3] powerpc/pci: Merge ppc32 and ppc64 versions of phb_scan()

2009-08-25 Thread Grant Likely
From: Grant Likely The two versions are doing almost exactly the same thing. No need to maintain them as separate files. This patch also has the side effect of making the PCI device tree scanning code available to 32 bit powerpc machines, but no board ports actually make use of this feature at

[PATCH V2 0/3] Make 64-bit PCI device tree scanning code common

2009-08-25 Thread Grant Likely
Hi guys Here's v2 of the PCI device tree scanning code.  This is tested and working on 32bit.  It needs to be tested on 64 bit, but there shouldn't be any behavioural changes.  It's mostly just a code move with a little bit of fixups to merge code.  I'd like to see this go into .32 when the merge

[PATCH V2 0/3] Make 64-bit PCI device tree scanning code common

2009-08-25 Thread Grant Likely
Hi guys Here's v2 of the PCI device tree scanning code.  This is tested and working on 32bit.  It needs to be tested on 64 bit, but there shouldn't be any behavioural changes.  It's mostly just a code move with a little bit of fixups to merge code.  I'd like to see this go into .32 when the merge