[PATCH] tags, powerpc: Update tags.sh to support _GLOBAL symbols

2011-08-16 Thread Ian Munsie
From: Ian Munsie On PowerPC we use _GLOBAL throughout the assembly to define symbols, but currently these symbols are missing from the tags generated with ARCH=powerpc make tags. This patch modifies the tags.sh script to recognise _GLOBAL(.*) so that these symbols will be in the tags. This is al

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

2011-08-16 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 v13 5/6] flexcan: Prefer device tree clock frequency if available.

2011-08-16 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 Acked-by: Wolfgang Grandegger , C

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

2011-08-16 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 v13 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-16 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 , Acked-by: Wolfgang Grandegger , Cc: U Bhaska

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

2011-08-16 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 v13 1/6] flexcan: Remove #include

2011-08-16 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 v13 0/6] flexcan: Add support for powerpc flexcan (freescale p1010)

2011-08-16 Thread Robin Holt
David, The following set of patches have been reviewed by the above parties and all comments have been integrated. Although the patches stray from the drivers/net/can directory, the diversions are related to changes for the flexcan driver. The patch set is based upon your net-next-2.6 tree's com

Re: [PATCH] [v2] ASoC: claim the IRQ when the fsl_ssi device is probed, not opened

2011-08-16 Thread Mark Brown
On Tue, Aug 16, 2011 at 06:47:45PM -0400, Timur Tabi wrote: > The PowerPC Freescale SSI driver is claiming the IRQ when the IRQ when > the device is opened, which means that the /proc/interrupts entry for > the SSI exists only during playback or capture. This also meant that > the user won't know

Re: [PATCH] RapidIO: Add mport driver for Tsi721 bridge

2011-08-16 Thread Andrew Morton
On Fri, 12 Aug 2011 15:45:34 -0400 Alexandre Bounine wrote: > Add RapidIO mport driver for IDT TSI721 PCI Express-to-SRIO bridge device. > The driver provides full set of callback functions defined for mport devices > in RapidIO subsystem. It also is compatible with current version of RIONET > dr

[PATCH] [v2] ASoC: claim the IRQ when the fsl_ssi device is probed, not opened

2011-08-16 Thread Timur Tabi
The PowerPC Freescale SSI driver is claiming the IRQ when the IRQ when the device is opened, which means that the /proc/interrupts entry for the SSI exists only during playback or capture. This also meant that the user won't know that the IRQ number is wrong until he tries to use the device. Inst

[PATCH] [v2] powerpc/85xx: enable the audio drivers in the defconfigs

2011-08-16 Thread Timur Tabi
Enable the audio drivers in the non-corenet 85xx defconfigs so that audio is enabled on the Freescale P1022DS reference board. Signed-off-by: Timur Tabi --- arch/powerpc/configs/mpc85xx_defconfig |1 + arch/powerpc/configs/mpc85xx_smp_defconfig |1 + 2 files changed, 2 insertions(+),

Re: [PATCH] ASoC: claim the IRQ when the fsl_ssi device is probed, not opened

2011-08-16 Thread Tabi Timur-B04825
Timur Tabi wrote: > The PowerPC Freescale SSI driver is claiming the IRQ when the IRQ when > the device is opened, which means that the /proc/interrupts entry for > the SSI exists only during playback or capture. This also meant that > the user won't know that the IRQ number is wrong until he trie

Re: [PATCH] powerpc/85xx: enable the audio drivers in the defconfigs

2011-08-16 Thread Tabi Timur-B04825
Timur Tabi wrote: > Enable the audio drivers in the non-corenet 85xx defconfigs so that audio > is enabled on the Freescale P1022DS reference board. > > Signed-off-by: Timur Tabi Ugh, somehow I got my patches criss-crossed. Ignore this, please. I'll post a V2 in just a minute. _

[PATCH] powerpc/85xx: enable the audio drivers in the defconfigs

2011-08-16 Thread Timur Tabi
Enable the audio drivers in the non-corenet 85xx defconfigs so that audio is enabled on the Freescale P1022DS reference board. Signed-off-by: Timur Tabi --- sound/soc/fsl/fsl_ssi.c | 61 -- 1 files changed, 37 insertions(+), 24 deletions(-) diff --g

[PATCH] ASoC: claim the IRQ when the fsl_ssi device is probed, not opened

2011-08-16 Thread Timur Tabi
The PowerPC Freescale SSI driver is claiming the IRQ when the IRQ when the device is opened, which means that the /proc/interrupts entry for the SSI exists only during playback or capture. This also meant that the user won't know that the IRQ number is wrong until he tries to use the device. Inst

Re: [PATCH] mtd/nand: Don't add disabled nand flash devices

2011-08-16 Thread Scott Wood
On 08/16/2011 04:27 AM, Chunhe Lan wrote: > Nand flash nodes with the property status="disabled" are not > usable and so avoid adding "disabled" nand flash devices with > the system. > > Signed-off-by: Chunhe Lan > --- > drivers/mtd/nand/fsl_elbc_nand.c |5 - > 1 files changed, 4 inserti

Re: [PATCH] mtd/physmap_of: Don't add disabled flash devices

2011-08-16 Thread Scott Wood
On 08/16/2011 04:25 AM, Chunhe Lan wrote: > Flash(cfi-flash, jedec-flash, and so on) nodes with the > property status="disabled" are not usable and so avoid > adding "disabled" flash devices with the system. > > Signed-off-by: Chunhe Lan > --- > drivers/mtd/maps/physmap_of.c |3 +++ > 1 file

Re: [PATCH] mtd-utils: fix corrupt cleanmarker with flash_erase -j command

2011-08-16 Thread Brian Norris
On Tue, Aug 16, 2011 at 8:06 AM, Artem Bityutskiy wrote: > On Wed, 2011-08-03 at 13:50 +0800, b35...@freescale.com wrote: >> From: Liu Shuo >> >> Flash_erase -j should fill discrete freeoob areas with required bytes >> of JFFS2 cleanmarker in jffs2_check_nand_cleanmarker(). Not just fill >> the f

Re: [PATCH] mtd-utils: fix corrupt cleanmarker with flash_erase -j command

2011-08-16 Thread Artem Bityutskiy
On Wed, 2011-08-03 at 13:50 +0800, b35...@freescale.com wrote: > From: Liu Shuo > > Flash_erase -j should fill discrete freeoob areas with required bytes > of JFFS2 cleanmarker in jffs2_check_nand_cleanmarker(). Not just fill > the first freeoob area. > > Signed-off-by: Liu Shuo > Signed-off-by

[PATCH] mtd/nand: Don't add disabled nand flash devices

2011-08-16 Thread Chunhe Lan
Nand flash nodes with the property status="disabled" are not usable and so avoid adding "disabled" nand flash devices with the system. Signed-off-by: Chunhe Lan --- drivers/mtd/nand/fsl_elbc_nand.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/fsl_

[PATCH] mtd/physmap_of: Don't add disabled flash devices

2011-08-16 Thread Chunhe Lan
Flash(cfi-flash, jedec-flash, and so on) nodes with the property status="disabled" are not usable and so avoid adding "disabled" flash devices with the system. Signed-off-by: Chunhe Lan --- drivers/mtd/maps/physmap_of.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/d