Re: [PATCH v12 5/6] flexcan: Prefer device tree clock frequency if available.

2011-08-12 Thread Wolfgang Grandegger
On 08/12/2011 10:45 AM, Robin Holt wrote: > If our CAN device's device tree node has a clock-frequency property, > then use that value for the can devices clock frequency. If not, fall > back to asking the platform/mach code for the clock frequency associated > with the flexcan device. > > Signed

[PATCH] powerpc/p1023rds: Fix the error of bank-width of nor flash

2011-08-12 Thread Chunhe Lan
In the p1023rds, a physical bus of nor flash is 16 bits width. The bank-width is width (in bytes) of the bus width. So, the value of bank-width of nor flash is not one, and it should be two. Signed-off-by: Chunhe Lan --- arch/powerpc/boot/dts/p1023rds.dts |2 +- 1 files changed, 1 insertions

Re: [PATCH 2/2 v2] eSDHC: Fix errors when booting kernel with fsl esdhc

2011-08-12 Thread Anton Vorontsov
Hello, On Fri, Aug 12, 2011 at 09:44:26AM +, Zang Roy-R61911 wrote: [...] > > We try to not pollute generic sdhci.c driver with chip-specific > > quirks. > > > > Maybe you can do the fixups via IO accessors? Or by introducing > > some additional sdhci op? > Anton, > thanks for the comment, as

[PATCH] PS3: Fixed Coding Style Issues in ps3av.c

2011-08-12 Thread Venkatram Tummala
Fixed a coding style issue Signed-off-by: Venkatram Tummala --- drivers/ps3/ps3av.c | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c index a409fa0..e6d1a3d 100644 --- a/drivers/ps3/ps3av.c +++ b/drivers/ps3/ps

RE: [PATCH 2/2 v2] eSDHC: Fix errors when booting kernel with fsl esdhc

2011-08-12 Thread Zang Roy-R61911
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org] > On Behalf Of Anton Vorontsov > Sent: Friday, July 22, 2011 18:15 PM > To: Zang Roy-R61911 > Cc: linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; akpm@linux- > foundation.org; X

[PATCH v12 6/6] powerpc: Add flexcan device support for p1010rdb.

2011-08-12 Thread Robin Holt
Allow the p1010 processor to select the flexcan network driver. Signed-off-by: Robin Holt Acked-by: Marc Kleine-Budde , Acked-by: Wolfgang Grandegger , Cc: U Bhaskar-B22300 Cc: socketcan-c...@lists.berlios.de, Cc: net...@vger.kernel.org, Cc: PPC list Cc: Kumar Gala --- arch/powerpc/Kconfig |

[PATCH v12 5/6] flexcan: Prefer device tree clock frequency if available.

2011-08-12 Thread Robin Holt
If our CAN device's device tree node has a clock-frequency property, then use that value for the can devices clock frequency. If not, fall back to asking the platform/mach code for the clock frequency associated with the flexcan device. Signed-off-by: Robin Holt To: Kumar Gala To: Wolfgang Gran

[PATCH v12 4/6] flexcan: Add of_match to platform_device definition.

2011-08-12 Thread Robin Holt
On powerpc, the OpenFirmware devices are not matched without specifying an of_match array. Introduce that array as that is used for matching on the Freescale P1010 processor. Signed-off-by: Robin Holt Acked-by: Marc Kleine-Budde Acked-by: Wolfgang Grandegger Cc: U Bhaskar-B22300 Cc: Grant Lik

[PATCH v12 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-12 Thread Robin Holt
This patch cleans up the documentation of the device-tree binding for the Flexcan devices on Freescale's PowerPC and ARM cores. Extra properties are not used by the driver so we are removing them. Signed-off-by: Robin Holt Acked-by: Marc Kleine-Budde , To: Wolfgang Grandegger , To: U Bhaskar-B223

[PATCH v12 2/6] flexcan: Abstract off read/write for big/little endian.

2011-08-12 Thread Robin Holt
Make flexcan driver handle register reads in the appropriate endianess. This was a basic search and replace and then define some inlines. Signed-off-by: Robin Holt Acked-by: Marc Kleine-Budde Acked-by: Wolfgang Grandegger Cc: U Bhaskar-B22300 Cc: socketcan-c...@lists.berlios.de Cc: net...@vger

[PATCH v12 1/6] flexcan: Remove #include

2011-08-12 Thread Robin Holt
powerpc does not have a mach-/clock.h. When testing, I found neither arm nor powerpc needed the mach/clock.h at all so I removed it. Signed-off-by: Robin Holt Acked-by: Marc Kleine-Budde Acked-by: Wolfgang Grandegger Cc: U Bhaskar-B22300 Cc: socketcan-c...@lists.berlios.de Cc: net...@vger

[PATCH v12 0/6] flexcan/powerpc: Add support for powerpc flexcan (freescale p1010)

2011-08-12 Thread Robin Holt
With all the patches applied, my p1010rdb works for communicating between its two can ports and also can communicate with an external PSOC. I have done no testing beyond compile testing for an arm system as I have no access to an arm based system. With the latest version, changes to the arch tree

Re: [PATCH v11 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-12 Thread Robin Holt
On Thu, Aug 11, 2011 at 10:53:43AM -0600, Grant Likely wrote: > On Thu, Aug 11, 2011 at 10:07 AM, Robin Holt wrote: > > +- compatible : Should be "fsl,-flexcan" and "fsl,flexcan" > > Don't do this. "fsl,flexcan" is far too generic. Be specific to the > soc part number or the ip core implementat

Re: [PATCH 07/10] KVM: PPC: Add PAPR hypercall code for PR mode

2011-08-12 Thread Alexander Graf
Am 12.08.2011 um 09:43 schrieb David Gibson : > On Fri, Aug 12, 2011 at 07:38:54AM +0200, Alexander Graf wrote: >> >> Am 12.08.2011 um 05:35 schrieb David Gibson : >> >>> On Tue, Aug 09, 2011 at 06:31:45PM +0200, Alexander Graf wrote: When running a PAPR guest, we need to handle a few hype

Re: [PATCH 09/10] KVM: PPC: Support SC1 hypercalls for PAPR in PR mode

2011-08-12 Thread Alexander Graf
Am 12.08.2011 um 09:43 schrieb David Gibson : > On Fri, Aug 12, 2011 at 07:35:42AM +0200, Alexander Graf wrote: >> >> Am 12.08.2011 um 05:33 schrieb David Gibson : >> >>> On Tue, Aug 09, 2011 at 06:31:47PM +0200, Alexander Graf wrote: PAPR defines hypercalls as SC1 instructions. Using thes

Re: [PATCH 09/10] KVM: PPC: Support SC1 hypercalls for PAPR in PR mode

2011-08-12 Thread David Gibson
On Fri, Aug 12, 2011 at 07:35:42AM +0200, Alexander Graf wrote: > > Am 12.08.2011 um 05:33 schrieb David Gibson : > > > On Tue, Aug 09, 2011 at 06:31:47PM +0200, Alexander Graf wrote: > >> PAPR defines hypercalls as SC1 instructions. Using these, the guest > >> modifies > >> page tables and does

Re: [PATCH 07/10] KVM: PPC: Add PAPR hypercall code for PR mode

2011-08-12 Thread David Gibson
On Fri, Aug 12, 2011 at 07:38:54AM +0200, Alexander Graf wrote: > > Am 12.08.2011 um 05:35 schrieb David Gibson : > > > On Tue, Aug 09, 2011 at 06:31:45PM +0200, Alexander Graf wrote: > >> When running a PAPR guest, we need to handle a few hypercalls in kernel > >> space, > >> most prominently t