Re: [PATCH 2/2] mmc: Use mmc_delay() instead of mdelay() for time delay

2011-08-26 Thread Lan Chunhe
On Thu, 25 Aug 2011 18:23:35 +0800, Kyungmin Park kmp...@infradead.org wrote: On Thu, Aug 25, 2011 at 5:54 PM, Chunhe Lan chunhe@freescale.com wrote: The mmc_delay() is a wrapper function for mdelay() and msleep(). o mdelay() -- block the system when busy-waiting. o msleep

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

2011-08-22 Thread Lan Chunhe
-by: Chunhe Lan chunhe@freescale.com --- drivers/mtd/maps/physmap_of.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index d251d1d..812e6dc 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps

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

2011-08-22 Thread Lan Chunhe
On Wed, 17 Aug 2011 05:46:29 +0800, Scott Wood scottw...@freescale.com wrote: 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 chunhe

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-30 Thread Lan Chunhe
On Thu, 30 Dec 2010 15:31:57 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Dec 30, 2010 at 03:23:11PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-29 Thread Lan Chunhe
On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match the 'matches' table passed in. Or, if the root node matches

[PATCH 1/3 v2] edac: Use ccsr_pci structure instead of hardcoded define

2010-12-10 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- arch/powerpc/sysdev/fsl_pci.h | 54

[PATCH 2/3 v2] edac/85xx: PCI/PCIE error interrupt edac support

2010-12-10 Thread Lan Chunhe
handle both of them. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- drivers/edac/mpc85xx_edac.c | 240 +- 1 files changed, 188 insertions(+), 52 deletions

[PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-10 Thread Lan Chunhe
all nodes at the top level if they either match the matches table (the current behaviour), or if they have a 'compatible' value (indicating it represents a device). Signed-off-by: Lan Chunhe b25...@freescale.com --- drivers/of/platform.c | 28 +++- 1 files changed, 23

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- arch/powerpc/sysdev/fsl_pci.h | 54

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
handle both of them. Due to the error management register offset and definition difference between pci and pcie, use ccsr_pci structure to merge pci and pcie edac code into one. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- arch/powerpc/platforms

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- arch/powerpc/sysdev/fsl_pci.h | 54

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
handle both of them. Due to the error management register offset and definition difference between pci and pcie, use ccsr_pci structure to merge pci and pcie edac code into one. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan Chunhe b25...@freescale.com --- arch/powerpc/platforms