RE: [PATCH 1/2] dmaengine: fsl-edma: add dma memcpy support

2015-01-14 Thread Jingchang Lu
Hi, Vinod, Could you please help review the two patches, and merge them if possible? Thanks! Best Regards, Jingchang >-Original Message- >From: Jingchang Lu [mailto:jingchang...@freescale.com] >Sent: Tuesday, December 30, 2014 4:42 PM >To: vinod.k...@intel.com >

[PATCH 0/2] dmaengine: fsl-edma: add dma memcpy and suspend/resume support

2014-12-30 Thread Jingchang Lu
This two patches add the dma memory copy and PM suspend/resume support for the Freescale eDMA engine. Jingchang Lu (2): dmaengine: fsl-edma: add dma memcpy support dmaengine: fsl-edma: add PM suspend/resume support

[PATCH 1/2] dmaengine: fsl-edma: add dma memcpy support

2014-12-30 Thread Jingchang Lu
This adds the memory copy capability support, the memcpy functionality needs to configure the DMAMUX of the channel with the always on slave id. Signed-off-by: Jingchang Lu --- drivers/dma/fsl-edma.c | 63 -- 1 file changed, 61 insertions(+), 2

[PATCH 2/2] dmaengine: fsl-edma: add PM suspend/resume support

2014-12-30 Thread Jingchang Lu
This adds power management suspend/resume support for the fsl-edma driver. Signed-off-by: Jingchang Lu --- drivers/dma/fsl-edma.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c index e0bd517..6a81699

RE: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-12-09 Thread Jingchang Lu
M >To: Lu Jingchang-B35083 >Cc: dmaeng...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; >linux-kernel@vger.kernel.org >Subject: Re: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G >support in big-endian model > >On Wed, Oct 22, 2014 at 04:53:55PM +0800, Jingch

[RESEND PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-12-09 Thread Jingchang Lu
swap if need. This patch also use regular assignment for tcd variables r/w instead of with io function previously that may not always be true. Signed-off-by: Jingchang Lu --- changes in v4: use __le32/16 define little endian tcd struct explicitly. modify fsl_edma_set_tcd_regs() to simplify

[PATCH] arm: ls1021a: setup hrtimer based tick broadcast

2014-12-05 Thread Jingchang Lu
This adds setup of hrtimer based tick broadcast to utilize the hrtimer in SMP without other broadcast tick devices. Signed-off-by: Jingchang Lu --- arch/arm/mach-imx/mach-ls1021a.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-imx/mach-ls1021a.c b/arch/arm/mach

RE: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-12-01 Thread Jingchang Lu
Hi, Vinod, Could you please help review and merge this patch if possible. Thanks. Thanks and Best Regards, Jingchang >>-Original Message- >>From: Jingchang Lu [mailto:jingchang...@freescale.com] >>Sent: Wednesday, October 22, 2014 4:54 PM >>To: vinod.k..

RE: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-11-21 Thread Jingchang Lu
Hi, Vinod, Could you please help review and merge this patch if possible. Thanks. Best Regards, Jingchang >-Original Message- >From: Jingchang Lu [mailto:jingchang...@freescale.com] >Sent: Wednesday, October 22, 2014 4:54 PM >To: vinod.k...@intel.com >Cc: dmaeng...@

RE: [RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-11-10 Thread Jingchang Lu
ubject: Re: [RESENDv5] serial: of-serial: fix up PM ops on >no_console_suspend and port type > >On Mon, Nov 10, 2014 at 08:30:36PM -0800, Florian Fainelli wrote: >> 2014-10-27 2:24 GMT-07:00 Jingchang Lu : >> > This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, &

[RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-27 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Reported-by: Joseph Lo Signed-off-by: Jingchang Lu Tested-by: Joseph Lo Reviewed-by: Peter Hurley --- changes in v5: add missing include. changes in v4: separate 8250 port susp

[RESENDv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-27 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Reported-By: Joseph Lo Signed-off-by: Jingchang Lu Tested-By: Joseph Lo Reviewed-by: Peter Hurley --- changes in v5: add missing include. changes in v4: separate 8250 port susp

[PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-10-22 Thread Jingchang Lu
swap if need. This patch also use regular assignment for tcd variables r/w instead of with io function previously that may not always be true. Signed-off-by: Jingchang Lu --- changes in v4: use __le32/16 define little endian tcd struct explicitly. modify fsl_edma_set_tcd_regs() to simplify

[PATCH] serial: of-serial: fix uninitialized kmalloc variable

2014-10-21 Thread Jingchang Lu
The info pointer points to an uninitialized kmalloced space. If a device doesn't have clk property, then info->clk may have unpredicated value and cause call trace. So use kzalloc to make sure it is NULL initialized. Signed-off-by: Jingchang Lu --- drivers/tty/serial/of_serial.c | 2 +-

RE: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Jingchang Lu
b.de; linux-kernel@vger.kernel.org >Subject: Re: [PATCHv4] serial: of-serial: fix up PM ops on >no_console_suspend and port type > >On 10/15/2014 02:41 PM, Joseph Lo wrote: >> On 10/15/2014 02:32 PM, Jingchang Lu wrote: >>>> -Original Message- >>&g

[PATCHv5] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-15 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Signed-off-by: Jingchang Lu --- changes in v5: add missing include. changes in v4: separate 8250 port suspend/resume from of_serial_suspend/resume. changes in v3: fix up point ref

RE: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-14 Thread Jingchang Lu
org; linux-arm-ker...@lists.infradead.org >Subject: Re: [PATCHv4] serial: of-serial: fix up PM ops on >no_console_suspend and port type > >On 10/15/2014 02:32 PM, Jingchang Lu wrote: >>> -Original Message- >>> From: Joseph Lo [mailto:jose...@nvidia.com] >>

RE: [PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-14 Thread Jingchang Lu
org; linux-arm-ker...@lists.infradead.org >Subject: Re: [PATCHv4] serial: of-serial: fix up PM ops on >no_console_suspend and port type > >On 10/14/2014 04:42 PM, Jingchang Lu wrote: >> This patch fixes commit 2dea53bf57783f243c892e99c10c6921e956aa7e, >> "serial: of-serial: add

RE: [PATCHv5] clk: ppc-corenet: rename to qoriq and add CLK_OF_DECLARE support

2014-10-14 Thread Jingchang Lu
Hi, Scott and Mike, Could you please help review this patch. Thanks. Best Regards, Jingchang >-Original Message- >From: Jingchang Lu [mailto:jingchang...@freescale.com] >Sent: Friday, October 10, 2014 5:15 PM >To: mturque...@linaro.org >Cc: Wood Scott-B

[PATCHv4] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-14 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Signed-off-by: Jingchang Lu --- changes in v4: separate 8250 port suspend/resume from of_serial_suspend/resume. changes in v3: fix up point reference and deference. changes in v2:

RE: [PATCHv2] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-13 Thread Jingchang Lu
software.com; a...@arndb.de; >linux-kernel@vger.kernel.org; linux-ser...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCHv2] serial: of-serial: fix up PM ops on >no_console_suspend and port type > >Hi, > >On 10/13/2014 03:37 PM, Jingcha

[PATCHv3] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-13 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Signed-off-by: Jingchang Lu --- changes in v3: fix up point reference and deference. changes in v2: add switch selection on uart type. drivers/tty/serial/of_ser

[PATCHv2] serial: of-serial: fix up PM ops on no_console_suspend and port type

2014-10-13 Thread Jingchang Lu
device is an 8250 port, so the serial8250 suspend/resume functions should only be applied to a real 8250 port. Signed-off-by: Jingchang Lu --- changes in v2: add switch selection on uart type. drivers/tty/serial/of_serial.c | 42 -- 1 file changed, 36

RE: [PATCH] serial: of-serial: fix up PM ops on no_console_suspend

2014-10-10 Thread Jingchang Lu
el@vger.kernel.org; Joseph Lo >Subject: Re: [PATCH] serial: of-serial: fix up PM ops on >no_console_suspend > >Hi Jingchang, > >On 10/09/2014 05:10 AM, Jingchang Lu wrote: >> Mandatorily disabling the uart clock will cause register access hung >> on "no_console_su

[PATCHv5] clk: ppc-corenet: rename to qoriq and add CLK_OF_DECLARE support

2014-10-10 Thread Jingchang Lu
The IP is shared by PPC and ARM, this renames it to qoriq for better represention, and this also adds the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu --- changes in v5: update drivers/cpufreq/Kconfig.powerpc to slect the renamed config

RE: [PATCH] serial: of-serial: fix up PM ops on no_console_suspend

2014-10-09 Thread Jingchang Lu
org; linux-arm-ker...@lists.infradead.org >Subject: Re: [PATCH] serial: of-serial: fix up PM ops on >no_console_suspend > >On 10/09/2014 02:10 AM, Jingchang Lu wrote: >> Mandatorily disabling the uart clock will cause register access hung >> on "no_console_suspend". This patch add

[PATCH] serial: of-serial: fix up PM ops on no_console_suspend

2014-10-09 Thread Jingchang Lu
Mandatorily disabling the uart clock will cause register access hung on "no_console_suspend". This patch add condition check on it and only disable the clock with console_suspend_enabled true. Signed-off-by: Joseph Lo Signed-off-by: Jingchang Lu --- drivers/tty/serial/of_serial.c |

RE: [PATCH] serial: of-serial: add PM suspend/resume support

2014-10-09 Thread Jingchang Lu
s that mainline kernel supporting with the setting >"no_console_suspend=1" during suspend time. > >On 09/23/2014 04:34 PM, Jingchang Lu wrote: >> This adds PM suspend/resume support for the of-serial driver to >> provide power management support on devices attatched

RE: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-28 Thread Jingchang Lu
Subject: Re: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add >CLK_OF_DECLARE support > >Hi Jingchang, > >On 09/23/2014 09:46 AM, Jingchang Lu wrote: >> The IP is shared by PPC and ARM, this renames it to qoriq for better >> represention, and this also adds the CL

RE: [PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-25 Thread Jingchang Lu
Hi, Scott and Mike, Could you please help review this patch and give an ACK if ok. Thanks. Best Regards, Jingchang >-Original Message- >From: Jingchang Lu [mailto:jingchang...@freescale.com] >Sent: Tuesday, September 23, 2014 2:47 PM >To: mturque...@linaro.org >Cc: Wo

RE: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-25 Thread Jingchang Lu
g; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G >support in big-endian model > >On Wed, Sep 24, 2014 at 01:05:10PM +0200, Lothar Waßmann wrote: >> Hi, >> >> Jingchang Lu wrote: >> > + * eDMA ha

RE: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Jingchang Lu
g; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G >support in big-endian model > >Hi, > >Jingchang Lu wrote: >> The offset of all 8-/16-bit register in big-endian eDMA model are >s/register/registers/ >

[PATCHv3] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Jingchang Lu
engine will do the swap if need. This patch also use regular assignment for tcd variables r/w instead of with io function previously that may not always be true. Signed-off-by: Jingchang Lu --- changes in v3: use unsigned long instead of u32 in reg offset swap cast to avoid warning. changes in

[PATCHv2] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Jingchang Lu
engine will do the swap if need. This patch also use regular assignment for tcd variables r/w instead of with io function previously that may not always be true. Signed-off-by: Jingchang Lu --- changes in v2: simplify register offset swap calculation. use regular assignment for tcd variables r

Re: [PATCH] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-23 Thread Jingchang Lu
-edma: fixup reg offset and hw S/G support in big-endian model On Tue, Sep 23, 2014 at 05:15:19PM +0800, Jingchang Lu wrote: > static u16 edma_readw(struct fsl_edma_engine *edma, void __iomem *addr) > { > - if (edma->big_endian) > - return ioread16be(addr); > -

Re: [PATCH] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-23 Thread Jingchang Lu
reg offset and hw S/G support in big-endian model On Tuesday 23 September 2014 17:15:19 Jingchang Lu wrote: > @@ -459,20 +480,27 @@ static void fill_tcd_params(struct fsl_edma_engine > *edma, > u16 csr = 0; > > /* > -* eDMA hardware SGs require the TCD pa

[PATCH] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-23 Thread Jingchang Lu
model, the dma engine will do the swap if need. Signed-off-by: Jingchang Lu --- drivers/dma/fsl-edma.c | 104 +++-- 1 file changed, 66 insertions(+), 38 deletions(-) diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c index 3c5711d..499af8f

[PATCH] serial: of-serial: add PM suspend/resume support

2014-09-23 Thread Jingchang Lu
This adds PM suspend/resume support for the of-serial driver to provide power management support on devices attatched to it. Signed-off-by: Jingchang Lu --- drivers/tty/serial/of_serial.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/tty/serial

[PATCHv4] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-23 Thread Jingchang Lu
The IP is shared by PPC and ARM, this renames it to qoriq for better represention, and this also adds the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu --- changes in v4: remove "corenet" literals omitted in v3 remove. cha

[PATCHv3] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-09-03 Thread Jingchang Lu
The IP is shared on PPC and ARM, this rename it to qoriq for better represention, and this also add the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu --- changes in v3: generate the patch with -M -C option changes in v2: rename the driver

[PATCHv2] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-08-29 Thread Jingchang Lu
The IP is shared on PPC and ARM, this rename it to qoriq for better represention, and this also add the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu --- changes in v2: rename the driver name to ppc-qoriq.c for shared on PPC and ARM. drivers

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-29 Thread Jingchang Lu
t;Cc: mturque...@linaro.org; linuxppc-...@lists.ozlabs.org; linux- >> >> >ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org >> >> >Subject: Re: [RESEND] clk: ppc-corenet: Add Freescale ARM-based >> >> >platforms CLK_OF_DECLARE support >>

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-28 Thread Jingchang Lu
gt;To: Lu Jingchang-B35083 >> >Cc: mturque...@linaro.org; linuxppc-...@lists.ozlabs.org; linux- >> >ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org >> >Subject: Re: [RESEND] clk: ppc-corenet: Add Freescale ARM-based >> >platforms CLK_OF_DECLARE support >> &g

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-26 Thread Jingchang Lu
clk: ppc-corenet: Add Freescale ARM-based platforms >CLK_OF_DECLARE support > >On Fri, 2014-08-22 at 17:34 +0800, Jingchang Lu wrote: >> Signed-off-by: Jingchang Lu >> --- >> drivers/clk/Kconfig | 7 --- >> drivers/clk/clk-ppc-corenet.c | 5 + >>

[RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-22 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- drivers/clk/Kconfig | 7 --- drivers/clk/clk-ppc-corenet.c | 5 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index cfd3af7..8784704 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk

RE: [PATCH] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-22 Thread Jingchang Lu
>-Original Message- >From: Diana Craciun [mailto:diana.crac...@freescale.com] >Sent: Thursday, August 21, 2014 7:28 PM >To: Lu Jingchang-B35083 >Cc: mturque...@linaro.org; linux-kernel@vger.kernel.org; linux-arm- >ker...@lists.infradead.org >Subject: Re: [PATCH] clk: ppc-corenet: Add Freesc

[PATCH] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-04 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- drivers/clk/Kconfig | 7 --- drivers/clk/clk-ppc-corenet.c | 5 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index cfd3af7..8784704 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk

RE: [PATCH 2/6] ARM: imx: clk-vf610: add USBPHY clocks

2014-07-22 Thread Jingchang Lu
gates to enable them. >> >> Signed-off-by: Stefan Agner > >Jingchang, > >Does the patch look good to you? > >Shawn > For the clk creation, I think it is ok if the functionality has been tested, thanks! Acked-by: Jingchang Lu

[PATCH] clk: ppc-corenet: Fix Section mismatch warning

2014-07-01 Thread Jingchang Lu
the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Jingchang Lu --- drivers/clk/clk-ppc-corenet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-ppc

RE: [PATCH] clocksource: vf_pit_timer: use complement for sched_clock reading

2014-03-05 Thread Jingchang Lu
> -Original Message- > From: Shawn Guo [mailto:shawn@linaro.org] > Sent: Thursday, March 06, 2014 9:46 AM > To: Stefan Agner > Cc: daniel.lezc...@linaro.org; t...@linutronix.de; li...@arm.linux.org.uk; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Lu > Jingchan

[PATCH] dma: fsl-edma: fix static checker warning of NULL dereference

2014-02-20 Thread Jingchang Lu
loop will continue. So use list_for_each_entry_safe() instead of list_for_each_entry() to against this. Reported-by: Dan Carpenter Signed-off-by: Jingchang Lu --- drivers/dma/fsl-edma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/

[PATCH RESEND v11 0/2] dma: Add Freescale eDMA engine driver support

2014-02-17 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 76 ++ arch/arm/boot/dts/vf610.dtsi | 30 + drivers/dma/Kconfig

[PATCH RESEND v11 1/2] ARM: dts: vf610: Add eDMA node

2014-02-17 Thread Jingchang Lu
Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- no changes in v10 ~ v11. changes in v9: remove include/dt-bindings/dma/vf610-edma.h, the request source ID is the same as SoC's reference manual. changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA r

[PATCH RESEND v11 2/2] dma: Add Freescale eDMA engine driver support

2014-02-17 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- changes in v11: Add dma device_slave_caps definition. changes in v10: define fsl_edma_mutex in

RE: [PATCHv11 2/2] dma: Add Freescale eDMA engine driver support

2014-02-17 Thread Jingchang Lu
s can be > reprogrammed, after all is ok, the dma request enable bit can be set to > enable a new dma transfer.(terminate) > So is this ok and could it be merged, thanks! > > > Best Regards, > Jingchang > > > > -Original Message- > > From: Ji

RE: [PATCHv11 2/2] dma: Add Freescale eDMA engine driver support

2014-01-26 Thread Jingchang Lu
ound on Vybrid and LS-1 SoCs. > > Signed-off-by: Alison Wang > Signed-off-by: Jingchang Lu > Acked-by: Arnd Bergmann > --- > changes in v11: > Add dma device_slave_caps definition. > > changes in v10: > define fsl_edma_mutex in fsl_edma_engine instead of global

RE: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
-ker...@lists.infradead.org; devicet...@vger.kernel.org; Wang Huan-B18965 Subject: Re: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support On Mon, Jan 20, 2014 at 11:05:03AM +, Jingchang Lu wrote: >> > > > > + struct fsl_edma_chan *fsl_chan = to_

RE: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Wang Huan-B18965 > Subject: Re: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support > > On Mon, Jan 20, 2014 at 09:06:43AM +, Jingchang Lu wrote: > > > >

[PATCHv11 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- changes in v11: Add dma device_slave_caps definition. changes in v10: define fsl_edma_mutex in

RE: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Wang Huan-B18965 > Subject: Re: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support > > On Fri, Jan 17, 2014 at 02:04:44PM +0800, Jingchang Lu wrote: > > Ad

[PATCHv10 1/2] ARM: dts: vf610: Add eDMA node

2014-01-16 Thread Jingchang Lu
Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- no changes in v10. changes in v9: remove include/dt-bindings/dma/vf610-edma.h, the request source ID is the same as SoC's reference manual. changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA requst s

[PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Acked-by: Arnd Bergmann --- changes in v10: define fsl_edma_mutex in fsl_edma_engine instead of global. minor changes of

[PATCHv10 0/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 76 arch/arm/boot/dts/vf610.dtsi | 30 ++ drivers/dma

RE: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Wang Huan-B18965 > Subject: Re: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support > > On Thu, Jan 16, 2014 at 02:30:00AM +, Jingchang Lu wrote: > > Add Freescale

RE: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Jingchang Lu
wdotorg.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Wang Huan-B18965 > Subject: Re: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support > > On Thursday 16 January 2014, Jingchang Lu wrote: > > Add Freescale

[PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-15 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v9: define endian's operating functions instead of macro definition. remove the filter function,

[PATCHv9 1/2] ARM: dts: vf610: Add eDMA node

2014-01-15 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- changes in v9: remove include/dt-bindings/dma/vf610-edma.h, the request source ID is the same as SoC's reference manual. changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA requst source macro definitions. changes in v7:

[PATCHv9 0/2] dma: Add Freescale eDMA engine driver support

2014-01-15 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 66 arch/arm/boot/dts/vf610.dtsi | 30 ++ drivers/dma

RE: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-09 Thread Jingchang Lu
.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org > Subject: Re: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support > > On Thursday 09 January 2014 11:44:46 Jingchang Lu wrote: > > > > > &

RE: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-09 Thread Jingchang Lu
wdotorg.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org > Subject: Re: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support > > On Thursday 09 January 2014, Jingchang Lu wrote: > > > > > +sai2: sai@400310

RE: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-09 Thread Jingchang Lu
wdotorg.org; linux- > ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org > Subject: Re: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support > > On Wednesday 08 January 2014 10:24:38 Jingchang Lu wrote: > > > > +- clocks : Phandl

RE: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-08 Thread Jingchang Lu
Hi, Vinod, Mark and other maintainers, Could you please help review this Freescale eDMA driver and the dts binding. Many thanks! Best Regards, Jingchang > -Original Message- > From: Jingchang Lu [mailto:b35...@freescale.com] > Sent: Thursday, January 02, 2014 2:52 PM >

[PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-01 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v8: change the edma driver according eDMA dts change. add big-endian and little-endian handling. no changes

[PATCHv8 1/2] ARM: dts: vf610: Add eDMA node

2014-01-01 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- changes in v8: describe dmamux info in edma node to avoid confusion. change eDMA requst source macro definitions. changes in v7: fix dmamux2 and dmamux3 register number. no changes in v2 ~ v6. arch/arm/boot/dts/vf610.dtsi | 31 ++ include/dt

[PATCHv8 0/2] dma: Add Freescale eDMA engine driver support

2014-01-01 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (2): ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 67 arch/arm/boot/dts/vf610.dtsi | 31 ++ drivers/dma

RE: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-12-05 Thread Jingchang Lu
; linux-arm- > ker...@lists.infradead.org > Subject: Re: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support > > On Wed, Nov 27, 2013 at 09:38:02AM +, Jingchang Lu wrote: > > > > > > +* DMAMUX > > > > > > +Required properties: > > > >

RE: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-11-27 Thread Jingchang Lu
; linux-arm- > ker...@lists.infradead.org > Subject: Re: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support > > On Fri, Nov 15, 2013 at 07:43:04AM +, Jingchang Lu wrote: > > > > > > > -Original Message- > > > From: Mark Rutland [mailto:mar

RE: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-11-14 Thread Jingchang Lu
; linux-arm- > ker...@lists.infradead.org > Subject: Re: [PATCH v6 3/3] dma: Add Freescale eDMA engine driver support > > On Wed, Sep 18, 2013 at 10:57:59AM +0100, Jingchang Lu wrote: > > Add Freescale enhanced direct memory(eDMA) controller support. > > The eDMA controller d

RE: [PATCHv7 3/3] dma: Add Freescale eDMA engine driver support

2013-11-14 Thread Jingchang Lu
n Vybrid and LS-1 SoCs. > > Signed-off-by: Alison Wang > Signed-off-by: Jingchang Lu > --- > changes in v7: > using DMA_COMPLETE instead of DMA_SUCCESS for dma completion status. > > changes in v6: > holding lock in dma_control to prevent race. > > chang

[PATCHv7 0/3] dma: Add Freescale eDMA engine driver support

2013-11-08 Thread Jingchang Lu
This series add Freescale eDMA engine support. Jingchang Lu (3): ARM: imx: Add DMAMUX clock for Vybrid vf610 SoC ARM: dts: vf610: Add eDMA node dma: Add Freescale eDMA engine driver support Documentation/devicetree/bindings/dma/fsl-edma.txt | 84 arch/arm/boot/dts

[PATCHv7 3/3] dma: Add Freescale eDMA engine driver support

2013-11-08 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v7: using DMA_COMPLETE

[PATCHv7 2/3] ARM: dts: vf610: Add eDMA node

2013-11-08 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- no changes in v4 ~ v7. changes in v3: add vf610 edma dt-bindings namespace with prefix VF610_*. changes in v2: using generic dma-channels property instead of fsl,dma-channels. arch/arm/boot/dts/vf610.dtsi | 49 + include/dt

[PATCHv7 1/3] ARM: imx: Add DMAMUX clock for Vybrid vf610 SoC

2013-11-08 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- changes in v7: fix dmamux2 and dmamux3 register number. no changes in v2 ~ v6. arch/arm/mach-imx/clk-vf610.c | 5 + include/dt-bindings/clock/vf610-clock.h | 6 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCH RESEND 2/3] ARM: dts: vf610: Add eDMA node

2013-10-10 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- arch/arm/boot/dts/vf610.dtsi | 49 + include/dt-bindings/dma/vf610-edma.h | 103 +++ 2 files changed, 152 insertions(+) create mode 100644 include/dt-bindings/dma/vf610-edma.h diff --git a/arch/arm/boot

[PATCH RESEND 1/3] ARM: imx: Add DMAMUX clock for Vybrid vf610 SoC

2013-10-10 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- arch/arm/mach-imx/clk-vf610.c | 5 + include/dt-bindings/clock/vf610-clock.h | 6 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch/arm/mach-imx/clk-vf610.c index b169a39..29f88a2 100644 --- a

[PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-09-18 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v6: holding lock in

[PATCH 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v5: config slave_id

[PATCH v5 3/3] dma: Add Freescale eDMA engine driver support

2013-09-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v5: config slave_id

[PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-08-16 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v4: using exact

[PATCH v2 2/3] ARM: dts: vf610: Add eDMA node

2013-08-05 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- changes in v2: using generic dma-channels property instead of fsl,dma-channels. arch/arm/boot/dts/vf610.dtsi | 49 + include/dt-bindings/dma/vf610-edma.h | 103 +++ 2 files changed, 152 insertions

[PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Xiaochun Li Signed-off-by: Jingchang Lu --- changes

[PATCH 2/3] ARM: dts: vf610: Add eDMA node

2013-08-02 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- arch/arm/boot/dts/vf610.dtsi | 49 + include/dt-bindings/dma/vf610-edma.h | 103 +++ 2 files changed, 152 insertions(+) create mode 100644 include/dt-bindings/dma/vf610-edma.h diff --git a/arch/arm/boot

[PATCH 1/3] ARM: imx: Add DMAMUX clock for Vybrid vf610 SoC

2013-08-02 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- arch/arm/mach-imx/clk-vf610.c | 5 + include/dt-bindings/clock/vf610-clock.h | 6 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch/arm/mach-imx/clk-vf610.c index b169a39..29f88a2 100644 --- a

[PATCH 3/3] dma: Add Freescale eDMA engine driver support

2013-08-02 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Xiaochun Li Signed-off-by: Jingchang Lu

[PATCH v5] clocksource: add Freescale Vybrid pit timer support

2013-05-28 Thread Jingchang Lu
Add Freescale Vybrid Family period interrupt timer support. Signed-off-by: Jingchang Lu --- v5: Follow internal suggestions to name the SoC family as VF. Add comment for min and max clockevent delta. Add clockevent device irq initialization. Remove IRQF_DISABLED flag. v4: Use family name

[PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-21 Thread Jingchang Lu
Add Freescale Vybrid Family period interrupt timer support. Signed-off-by: Jingchang Lu --- v4: use family name names driver and symbol instead of SoC name. remove redundant code. use BUG_ON instead of WARN_ON. add necessory comment information. drivers/clocksource/Kconfig

[PATCH v3] clocksource: add MVF600 pit timer support

2013-05-15 Thread Jingchang Lu
Add Freescale Vybrid MVF600 period interrupt timer support. Signed-off-by: Jingchang Lu --- v3: move the pit driver to drivers/clocksource. drivers/clocksource/Kconfig| 5 + drivers/clocksource/Makefile | 1 + drivers/clocksource/mvf600_pit_timer.c | 224