[PATCH] mtd: m25p80: Modify the name of mtd_info

2014-03-21 Thread Hou Zhiqiang
maybe dynamically fetched. So, in this case, replace the component bus_num with thei physical address of spi master. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/mtd/devices/m25p80.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/mtd

[v2] mtd: m25p80: Modify the name of mtd_info

2014-03-22 Thread Hou Zhiqiang
maybe dynamically fetched. So, in this case, replace the component bus_num with thei physical address of spi master. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- v2: 1. Fix some code style issue. 2. Cast physical address to unsigned long long. drivers/mtd/devices/m25p80.c

[v3] mtd: m25p80: Modify the name of mtd_info

2014-03-22 Thread Hou Zhiqiang
maybe dynamically fetched. So, in this case, replace the component bus_num with thei physical address of spi master. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- v3: Fix a bug, matching unsigned long long with %llx. v2: 1. Fix some code style issue. 2. Cast physical

[PATCH V4] mtd: m25p80: Modify the name of mtd_info

2014-04-21 Thread Hou Zhiqiang
maybe dynamically fetched. So, in this case, replace the component bus_num with thei physical address of spi master. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- V4: add check no-NULL for pointer of master's device node, and if it failed to get physcial address of the master

[PATCH V5] mtd: m25p80: modify the name of mtd_info

2014-04-28 Thread Hou Zhiqiang
maybe dynamically fetched. So, in this case, replace the component bus_num with the physical address of spi master. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- V5: Rebase on the latest l2-mtd tree. V4: add check no-NULL for pointer of master's device node, and if it failed

[PATCH] spi/fsl-espi: Add Power Management support for eSPI controller

2013-12-11 Thread Hou Zhiqiang
Add PM support for eSPI controller using callback function suspend and resume in .driver of platform_driver. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/spi/spi-fsl-espi.c | 57 ++ 1 file changed, 57 insertions(+) diff --git a/drivers

[PATCH] mtd: m25p80: Add Power Management support

2013-12-11 Thread Hou Zhiqiang
Add PM support using callback function suspend and resume in .driver of spi_driver. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/mtd/devices/m25p80.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/mtd/devices/m25p80.c b/drivers

[PATCH v2] spi/fsl-espi: Add Power Management support for eSPI controller

2013-12-11 Thread Hou Zhiqiang
Add PM support for eSPI controller using callback function suspend and resume in .driver.pm of platform_driver. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- v2: - Replace .driver.suspend and .driver.resume with .driver.pm - Use CONFIG_PM_SLEEP instead of CONFIG_PM - Add

[PATCH v2] mtd: m25p80: Add Power Management support

2013-12-11 Thread Hou Zhiqiang
Add PM support using callback function suspend and resume in .driver.pm of spi_driver. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- v2: - Replace .driver.suspend and .driver.resume with .driver.pm - Use CONFIG_PM_SLEEP instead of CONFIG_PM drivers/mtd/devices/m25p80.c | 37

[PATCH] mtd: m25p80: Make the name of mtd_info fixed

2014-01-06 Thread Hou Zhiqiang
-bus_num maybe dynamically fetched. So, give the mtd_info a new fiexd name name.cs, name is name of spi_device_id and cs is chip-select in spi_dev. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/mtd/devices/m25p80.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2] mtd: m25p80: Make the name of mtd_info fixed

2014-01-25 Thread Hou Zhiqiang
-bus_num maybe dynamically fetched. So, give the mtd_info a new fiexd name name.cs, name is name of spi_device_id and cs is chip-select in spi_dev. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- v2: - add check for return value of function kasprintf. - whether the spi_master-bus_num is dynamical

RE: [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie

2015-08-18 Thread Hou Zhiqiang
Mingkai-B21284; Wang Dongsheng-B40534; Hou Zhiqiang-B48286 Subject: [PATCH V2] powerpc/85xx: Remove unused pci fixup hooks on c293pcie From: Hou Zhiqiang b48...@freescale.com The c293pcie board is an endpoint device and it doesn't need PM, so remove hooks pcibios_fixup_phb and pcibios_fixup_bus

RE: [PATCH] powerpc/fsl-pci: fix pcie range issue for some P1/P2 boards

2015-07-28 Thread Hou Zhiqiang
Hi Scott and all, Please ignore this patch! -Original Message- From: Wood Scott-B07421 Sent: 2015年7月25日 10:48 To: Hou Zhiqiang-B48286 Cc: linuxppc-dev@lists.ozlabs.org; b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; Hu Mingkai-B21284 Subject: Re: [PATCH] powerpc

RE: [PATCH] c293/pci: remove hook pcibios_fixup_phb

2015-07-31 Thread Hou Zhiqiang
Hi Dongsheng and Scott, Do you have any comment? -Original Message- From: Zhiqiang Hou [mailto:b48...@freescale.com] Sent: 2015年7月21日 18:10 To: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org Cc: Hu Mingkai-B21284; Wang Dongsheng-B40534; Hou Zhiqiang-B48286 Subject: [PATCH

RE: [PATCH] powerpc/fsl-pci: fix pcie range issue for some P1/P2 boards

2015-07-30 Thread Hou Zhiqiang
Hi Scott, -Original Message- From: Wood Scott-B07421 Sent: 2015年7月29日 10:35 To: Hou Zhiqiang-B48286 Cc: linuxppc-dev@lists.ozlabs.org; b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; Hu Mingkai-B21284 Subject: Re: [PATCH] powerpc/fsl-pci: fix pcie range issue

RE: [PATCH] c293/pci: remove hook pcibios_fixup_phb

2015-08-10 Thread Hou Zhiqiang
-Original Message- From: Wood Scott-B07421 Sent: 2015年8月1日 1:24 To: Hou Zhiqiang-B48286 Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; Hu Mingkai- B21284; Wang Dongsheng-B40534 Subject: Re: [PATCH] c293/pci: remove hook pcibios_fixup_phb On Fri, 2015-07-31 at 05

RE: [PATCH V4 2/2] powerpc/85xx: Add PCIe controller support for bsc9132qds

2015-11-16 Thread Hou Zhiqiang
...@ellerman.id.au; devicet...@vger.kernel.org; robh...@kernel.org; > pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; > Rai Harninder-B01044 > Cc: Lian Minghuan-B31939; Hu Mingkai-B21284; Hou Zhiqiang-B48286 > Subject: [PATCH V4 2/2] powerpc/85xx: Add PCIe contr

RE: [PATCH V3 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-11-04 Thread Hou Zhiqiang
.@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; Rai Harninder-B01044; > Lian Minghuan-B31939; Hu Mingkai-B21284; Hou Zhiqiang-B48286 > Subject: Re: [PATCH V3 1/2] powerpc/fsl: Add PCI node in device tree of > bsc9132qds > > On Thu, 2015-11-05 at 10

RE: [V2,1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-18 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年10月17日 9:34 > To: Hou Zhiqiang-B48286 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; > b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; > devicet...@vger.kernel.org; robh..

RE: [v3,1/5] powerpc/fsl: Move fsl_guts.h out of arch/powerpc

2015-10-15 Thread Hou Zhiqiang
> -Original Message- > From patchwork Sun Sep 20 04:29:53 2015 > > Content-Type: text/plain; charset="utf-8" > > MIME-Version: 1.0 > >

RE: [PATCH 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-14 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年10月15日 4:36 > To: Hou Zhiqiang-B48286 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; > b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; > devicet...@vger.kernel.org; robh..