Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-25 Thread Guennadi Liakhovetski
Hi Vinod On Fri, 25 Oct 2013, Vinod Koul wrote: On Thu, Oct 24, 2013 at 11:28:29PM +0200, Guennadi Liakhovetski wrote: Hi Vinod On Thu, 17 Oct 2013, Vinod Koul wrote: Yes i missed it in first place update the patch to fix that Are you planning to post a fixed version

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-25 Thread Guennadi Liakhovetski
On Fri, 25 Oct 2013, Vinod Koul wrote: On Fri, Oct 25, 2013 at 08:32:12AM +0200, Guennadi Liakhovetski wrote: Hi Vinod On Fri, 25 Oct 2013, Vinod Koul wrote: On Thu, Oct 24, 2013 at 11:28:29PM +0200, Guennadi Liakhovetski wrote: Hi Vinod On Thu, 17 Oct 2013, Vinod Koul

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-24 Thread Guennadi Liakhovetski
> Shouldn't this > > become > > enum dma_status { > > - DMA_SUCCESS, > > + DMA_COMPLETE = 0, DMA_SUCCESS = 0, > > DMA_IN_PROGRESS, > > DMA_PAUSED, > > DMA_ERROR, > > }; > > > > so nothing breaks during the transition? > Y

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-24 Thread Guennadi Liakhovetski
a fixed version of this patch or you just fix it internally? Would be good to have it posted to be able to ack it and other relevant patches. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list

[BUILD BROKEN] Current Linus' master and -next don't build for imx_v6_v7_defconfig

2013-10-18 Thread Guennadi Liakhovetski
Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[BUILD BROKEN] Current Linus' master and -next don't build for imx_v6_v7_defconfig

2013-10-18 Thread Guennadi Liakhovetski
Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
gt; DMA_ERROR, > }; > > so nothing breaks during the transition? Good catch. I would do enum dma_status { - DMA_SUCCESS, + DMA_COMPLETE, DMA_IN_PROGRESS, DMA_PAUSED, DMA_ERROR, }; + #define DMA_SUCCESS DMA_COMPLETE and then just remove the last line again

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
On Thu, 17 Oct 2013, Vinod Koul wrote: > On Wed, Oct 16, 2013 at 11:45:48AM -0700, Dan Williams wrote: > > On Wed, Oct 16, 2013 at 11:29 AM, Guennadi Liakhovetski > > > > > > Doesn't this break kernel compilation for a total of 27 commits? Or am I > > > mis

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
On Thu, 17 Oct 2013, Vinod Koul wrote: On Wed, Oct 16, 2013 at 11:45:48AM -0700, Dan Williams wrote: On Wed, Oct 16, 2013 at 11:29 AM, Guennadi Liakhovetski Doesn't this break kernel compilation for a total of 27 commits? Or am I missing anything? Yes, I think at the start

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-17 Thread Guennadi Liakhovetski
, }; + #define DMA_SUCCESS DMA_COMPLETE and then just remove the last line again Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-16 Thread Guennadi Liakhovetski
; { > - return DMA_SUCCESS; > + return DMA_COMPLETE; > } > static inline enum dma_status dma_wait_for_async_tx(struct > dma_async_tx_descriptor *tx) > { > - return DMA_SUCCESS; > + return DMA_COMPLETE; > } > static inline void dma_issue_pendin

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-16 Thread Guennadi Liakhovetski
) { -- 1.7.0.4 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-14 Thread Guennadi Liakhovetski
dev), pcdev); > +0, dev_name(>dev), pcdev); > if (err) { > dev_err(>dev, "Unable to register CEU interrupt.\n"); > goto exit_release_mem; > -- > 1.8.1.2 > --- Guennadi Liakhovetski, Ph.D. Freelance Ope

Re: [PATCH] [media] sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

2013-10-14 Thread Guennadi Liakhovetski
-dev), pcdev); if (err) { dev_err(pdev-dev, Unable to register CEU interrupt.\n); goto exit_release_mem; -- 1.8.1.2 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-07 Thread Guennadi Liakhovetski
Hi Russell On Sun, 6 Oct 2013, Russell King - ARM Linux wrote: > On Sat, Oct 05, 2013 at 11:00:45PM +0200, Guennadi Liakhovetski wrote: > > On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: > > > > > On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrot

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-07 Thread Guennadi Liakhovetski
Hi Russell On Sun, 6 Oct 2013, Russell King - ARM Linux wrote: On Sat, Oct 05, 2013 at 11:00:45PM +0200, Guennadi Liakhovetski wrote: On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: + A DMA transaction

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Guennadi Liakhovetski
Hi Russell, Thanks for explanations. On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: > On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: > > This patch extends dmaengine documentation to provide more details > > on descriptor prepare stage, transac

[PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Guennadi Liakhovetski
This patch extends dmaengine documentation to provide more details on descriptor prepare stage, transaction completion requirements and DMA error processing. Signed-off-by: Guennadi Liakhovetski --- These extensions reflect my understanding of some aspects of the dmaengine API. If it is wrong

[PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Guennadi Liakhovetski
This patch extends dmaengine documentation to provide more details on descriptor prepare stage, transaction completion requirements and DMA error processing. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- These extensions reflect my understanding of some aspects of the dmaengine

Re: [PATCH] DMA: extend documentation to provide more API details

2013-10-05 Thread Guennadi Liakhovetski
Hi Russell, Thanks for explanations. On Sat, 5 Oct 2013, Russell King - ARM Linux wrote: On Sat, Oct 05, 2013 at 07:36:20PM +0200, Guennadi Liakhovetski wrote: This patch extends dmaengine documentation to provide more details on descriptor prepare stage, transaction completion

Re: [PATCH v2 0/5] ARM: shmobile: CPUFreq support on Lager

2013-09-30 Thread Guennadi Liakhovetski
Hi Simon, Just a quick check of the status of this patch series: On Thu, 26 Sep 2013, Guennadi Liakhovetski wrote: > On Lager a da9210 regulator is used to supply DVFS power to the SoC. This > patch series adds I2C and Z-clock support on r8a7790 and CPUFreq support > for the Lager boar

Re: [PATCH v2 0/5] ARM: shmobile: CPUFreq support on Lager

2013-09-30 Thread Guennadi Liakhovetski
Hi Simon, Just a quick check of the status of this patch series: On Thu, 26 Sep 2013, Guennadi Liakhovetski wrote: On Lager a da9210 regulator is used to supply DVFS power to the SoC. This patch series adds I2C and Z-clock support on r8a7790 and CPUFreq support for the Lager board. Please

Re: [PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-27 Thread Guennadi Liakhovetski
Hi Sergei On Thu, 26 Sep 2013, Sergei Shtylyov wrote: > Hello. > > On 09/26/2013 09:21 PM, Guennadi Liakhovetski wrote: > > > The Lager board uses a DA9210 voltage regulator to supply DVFS power to the > > CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support

Re: [PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-27 Thread Guennadi Liakhovetski
Hi Laurent On Fri, 27 Sep 2013, Laurent Pinchart wrote: > Hi Guennadi, > > Thank you for the patch. > > On Thursday 26 September 2013 19:21:00 Guennadi Liakhovetski wrote: > > The Lager board uses a DA9210 voltage regulator to supply DVFS power to the > > CA

Re: [PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-27 Thread Guennadi Liakhovetski
Hi Laurent On Fri, 27 Sep 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Thursday 26 September 2013 19:21:00 Guennadi Liakhovetski wrote: The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds

Re: [PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-27 Thread Guennadi Liakhovetski
Hi Sergei On Thu, 26 Sep 2013, Sergei Shtylyov wrote: Hello. On 09/26/2013 09:21 PM, Guennadi Liakhovetski wrote: The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using

[PATCH v2 4/5] ARM: shmobile: r8a7790: add CPUFreq clock support

2013-09-26 Thread Guennadi Liakhovetski
Add support for the Z clock on r8a7790, driving the four SoC's CA15 cores, and its parent - PLL0. This is required for CPUFreq support on this SoC. Signed-off-by: Guennadi Liakhovetski --- v2: changed clock alias to "cpu0" instead of deprecated "cpufreq-cpu0" to comply with

[PATCH v2 3/5] ARM: shmobile: r8a7790: add I2C DT nodes

2013-09-26 Thread Guennadi Liakhovetski
Add DT nodes for the four I2C interfacces on r8a7790. Signed-off-by: Guennadi Liakhovetski --- v2: part two of former [PATCH 2/4], set i2c bus status to "disabled" by default. arch/arm/boot/dts/r8a7790.dtsi | 40 1 files changed, 40 insert

[PATCH v2 1/5] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-26 Thread Guennadi Liakhovetski
. Signed-off-by: Guennadi Liakhovetski --- v2: s/16/31/ in pin number calculation, thanks to Laurent for pointing out. drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b

[PATCH v2 0/5] ARM: shmobile: CPUFreq support on Lager

2013-09-26 Thread Guennadi Liakhovetski
ve patches. They all are trivial, still as soon as test hardware is available, it would be good to run-time test this version too. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (5): pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface ARM: shmobile: r8a7790: add I2C clocks a

[PATCH v2 2/5] ARM: shmobile: r8a7790: add I2C clocks and aliases for the DT mode

2013-09-26 Thread Guennadi Liakhovetski
This patch adds clock definitions for the 4 I2C interfaces on r8a7790 and clock aliases, suitable for the DT mode. Signed-off-by: Guennadi Liakhovetski --- v2: part one of former [PATCH 2/4] arch/arm/mach-shmobile/clock-r8a7790.c | 10 ++ 1 files changed, 10 insertions(+), 0

[PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-26 Thread Guennadi Liakhovetski
The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using the cpufreq-cpu0 driver. Signed-off-by: Guennadi Liakhovetski --- v2: added 'status = "okay";' to the i2c bus arch/ar

Re: [PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-26 Thread Guennadi Liakhovetski
Hi Laurent On Wed, 25 Sep 2013, Laurent Pinchart wrote: > Hi Guennadi, > > Thank you for the patch. > > On Monday 09 September 2013 18:03:53 Guennadi Liakhovetski wrote: > > There are four I2C interfaces on r8a7790, each of them can be connected to > > one of the two

Re: [PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-26 Thread Guennadi Liakhovetski
Hi Magnus On Thu, 26 Sep 2013, Magnus Damm wrote: > Hi Guennadi, > > On Thu, Sep 26, 2013 at 7:10 AM, Guennadi Liakhovetski > wrote: > > Hi Laurent > > > > On Wed, 25 Sep 2013, Laurent Pinchart wrote: > > > >> Hi Guennadi, > >> > >

Re: [PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-26 Thread Guennadi Liakhovetski
Hi Magnus On Thu, 26 Sep 2013, Magnus Damm wrote: Hi Guennadi, On Thu, Sep 26, 2013 at 7:10 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Laurent On Wed, 25 Sep 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Monday 09 September 2013 18

Re: [PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-26 Thread Guennadi Liakhovetski
Hi Laurent On Wed, 25 Sep 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Monday 09 September 2013 18:03:53 Guennadi Liakhovetski wrote: There are four I2C interfaces on r8a7790, each of them can be connected to one of the two respective I2C controllers, e.g

[PATCH v2 5/5] ARM: shmobile: lager: (DEVEL) add CPUFreq support

2013-09-26 Thread Guennadi Liakhovetski
The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using the cpufreq-cpu0 driver. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: added 'status = okay;' to the i2c

[PATCH v2 0/5] ARM: shmobile: CPUFreq support on Lager

2013-09-26 Thread Guennadi Liakhovetski
. They all are trivial, still as soon as test hardware is available, it would be good to run-time test this version too. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (5): pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface ARM: shmobile: r8a7790

[PATCH v2 2/5] ARM: shmobile: r8a7790: add I2C clocks and aliases for the DT mode

2013-09-26 Thread Guennadi Liakhovetski
This patch adds clock definitions for the 4 I2C interfaces on r8a7790 and clock aliases, suitable for the DT mode. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: part one of former [PATCH 2/4] arch/arm/mach-shmobile/clock-r8a7790.c | 10 ++ 1 files

[PATCH v2 1/5] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-26 Thread Guennadi Liakhovetski
. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: s/16/31/ in pin number calculation, thanks to Laurent for pointing out. drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH v2 3/5] ARM: shmobile: r8a7790: add I2C DT nodes

2013-09-26 Thread Guennadi Liakhovetski
Add DT nodes for the four I2C interfacces on r8a7790. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: part two of former [PATCH 2/4], set i2c bus status to disabled by default. arch/arm/boot/dts/r8a7790.dtsi | 40 1 files

[PATCH v2 4/5] ARM: shmobile: r8a7790: add CPUFreq clock support

2013-09-26 Thread Guennadi Liakhovetski
Add support for the Z clock on r8a7790, driving the four SoC's CA15 cores, and its parent - PLL0. This is required for CPUFreq support on this SoC. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: changed clock alias to cpu0 instead of deprecated cpufreq-cpu0

Re: [PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-25 Thread Guennadi Liakhovetski
Hi Laurent On Wed, 25 Sep 2013, Laurent Pinchart wrote: > Hi Guennadi, > > Thank you for the patch. > > On Monday 09 September 2013 18:03:54 Guennadi Liakhovetski wrote: > > This patch adds clocks and clock lookup entries for the four I2C > > controllers on r8a7790

Re: [PATCH v5 5/7] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-09-25 Thread Guennadi Liakhovetski
On Wed, 25 Sep 2013, Simon Horman wrote: > On Wed, Sep 25, 2013 at 08:52:17AM +0200, Guennadi Liakhovetski wrote: > > Hi Simon, > > > > Thanks for following up on this. > > > > On Wed, 25 Sep 2013, Simon Horman wrote: > > > > > On Fri, Aug 02,

Re: [PATCH v5 5/7] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-09-25 Thread Guennadi Liakhovetski
Hi Simon, Thanks for following up on this. On Wed, 25 Sep 2013, Simon Horman wrote: > On Fri, Aug 02, 2013 at 04:50:40PM +0200, Guennadi Liakhovetski wrote: > > Add a DMAC platform device and clock definitions for it on r8a73a4. > > > > Signed-off-by:

Re: [PATCH v5 5/7] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-09-25 Thread Guennadi Liakhovetski
Hi Simon, Thanks for following up on this. On Wed, 25 Sep 2013, Simon Horman wrote: On Fri, Aug 02, 2013 at 04:50:40PM +0200, Guennadi Liakhovetski wrote: Add a DMAC platform device and clock definitions for it on r8a73a4. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene

Re: [PATCH v5 5/7] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-09-25 Thread Guennadi Liakhovetski
On Wed, 25 Sep 2013, Simon Horman wrote: On Wed, Sep 25, 2013 at 08:52:17AM +0200, Guennadi Liakhovetski wrote: Hi Simon, Thanks for following up on this. On Wed, 25 Sep 2013, Simon Horman wrote: On Fri, Aug 02, 2013 at 04:50:40PM +0200, Guennadi Liakhovetski wrote: Add

Re: [PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-25 Thread Guennadi Liakhovetski
Hi Laurent On Wed, 25 Sep 2013, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Monday 09 September 2013 18:03:54 Guennadi Liakhovetski wrote: This patch adds clocks and clock lookup entries for the four I2C controllers on r8a7790 and respective Device Tree nodes

[PATCH] DMA: ste_dma40: use a power of 2 check

2013-09-18 Thread Guennadi Liakhovetski
dst_addr_width and src_addr_width should be a power of 2. Currently the driver checks, that they both lie between 1 and 8 and that they are eqal to 1 or even. This however leaves an invalid value of 6 uncaught. Use an explicit power of 2 check instead. Signed-off-by: Guennadi Liakhovetski

[PATCH] DMA: ste_dma40: use a power of 2 check

2013-09-18 Thread Guennadi Liakhovetski
dst_addr_width and src_addr_width should be a power of 2. Currently the driver checks, that they both lie between 1 and 8 and that they are eqal to 1 or even. This however leaves an invalid value of 6 uncaught. Use an explicit power of 2 check instead. Signed-off-by: Guennadi Liakhovetski

Re: [PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-17 Thread Guennadi Liakhovetski
Hi Linus On Tue, 17 Sep 2013, Linus Walleij wrote: > On Mon, Sep 9, 2013 at 6:03 PM, Guennadi Liakhovetski > wrote: > > > There are four I2C interfaces on r8a7790, each of them can be connected to > > one of the two respective I2C controllers, e.g. interface #0 can be &

Re: [PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-17 Thread Guennadi Liakhovetski
Hi Linus On Tue, 17 Sep 2013, Linus Walleij wrote: On Mon, Sep 9, 2013 at 6:03 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: There are four I2C interfaces on r8a7790, each of them can be connected to one of the two respective I2C controllers, e.g. interface #0 can

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-14 Thread Guennadi Liakhovetski
Hi Sergei On Sat, 14 Sep 2013, Sergei Shtylyov wrote: > Hello. > > On 09/14/2013 10:33 PM, Guennadi Liakhovetski wrote: > > > > From: Max Filippov > > > > Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' > > > DMA > > &g

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-14 Thread Guennadi Liakhovetski
> + > + if (pdev->id >= 0) > + snprintf(new_hpb_chan->dev_id, sizeof(new_hpb_chan->dev_id), > + "hpb-dmae%d.%d", pdev->id, id); > + else > + snprintf(new_hpb_chan->dev_id, sizeof(new_hpb_chan->dev_id)

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-14 Thread Guennadi Liakhovetski
(new_hpb_chan-dev_id), + hpb-dmae%d.%d, pdev-id, id); + else + snprintf(new_hpb_chan-dev_id, sizeof(new_hpb_chan-dev_id), + hpb-dma.%d, id); + + return 0; +} Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-14 Thread Guennadi Liakhovetski
Hi Sergei On Sat, 14 Sep 2013, Sergei Shtylyov wrote: Hello. On 09/14/2013 10:33 PM, Guennadi Liakhovetski wrote: From: Max Filippov max.filip...@cogentembedded.com Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA driver framework. Based

[PATCH v2 1/2] DT: add a vendor prefix for Dialog Semiconductor

2013-09-12 Thread Guennadi Liakhovetski
Add a commonly used "diasemi" prefix for Dialog Semiconductor PLC. Signed-off-by: Guennadi Liakhovetski --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefi

[PATCH v2 0/2] regulator: da9210: support Device Tree initialisation

2013-09-12 Thread Guennadi Liakhovetski
The first patch just adds a vendor prefix for Dialog Semiconductor PLC, the second one actually implements DT support in da9210. Cc: Guennadi Liakhovetski v2: add DT documentation Guennadi Liakhovetski (2): DT: add a vendor prefix for Dialog Semiconductor regulator: da9210: add Device Tree

[PATCH v2 2/2] regulator: da9210: add Device Tree support

2013-09-12 Thread Guennadi Liakhovetski
This patch adds basic Device Tree support to the da9210 regulator driver - with no special properties, since also driver's platform data only contains standard regulator initialisation parameters. Signed-off-by: Guennadi Liakhovetski --- v2: add DT documentation .../devicetree/bindings

[PATCH] regulator: da9210: add Device Tree binding documentation

2013-09-12 Thread Guennadi Liakhovetski
DA9210 Device Tree support currently only handles standard regulator DT bindings. This patch adds compulsory minimal documentation to describe this. Signed-off-by: Guennadi Liakhovetski --- On Mon, 9 Sep 2013, Mark Brown wrote: > On Mon, Sep 09, 2013 at 05:52:00PM +0200, Guennadi Liakhovet

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-12 Thread Guennadi Liakhovetski
Hi Viresh On Wed, 11 Sep 2013, Viresh Kumar wrote: > On 10 September 2013 22:37, Guennadi Liakhovetski > wrote: > > On Tue, 10 Sep 2013, Viresh Kumar wrote: > >> Quite straight forward actually.. > > > > Apparently, not quite. > > I overlooked the situat

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-12 Thread Guennadi Liakhovetski
Hi Viresh On Wed, 11 Sep 2013, Viresh Kumar wrote: On 10 September 2013 22:37, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Tue, 10 Sep 2013, Viresh Kumar wrote: Quite straight forward actually.. Apparently, not quite. I overlooked the situation where we return early from

[PATCH] regulator: da9210: add Device Tree binding documentation

2013-09-12 Thread Guennadi Liakhovetski
DA9210 Device Tree support currently only handles standard regulator DT bindings. This patch adds compulsory minimal documentation to describe this. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- On Mon, 9 Sep 2013, Mark Brown wrote: On Mon, Sep 09, 2013 at 05:52

[PATCH v2 2/2] regulator: da9210: add Device Tree support

2013-09-12 Thread Guennadi Liakhovetski
This patch adds basic Device Tree support to the da9210 regulator driver - with no special properties, since also driver's platform data only contains standard regulator initialisation parameters. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: add DT documentation

[PATCH v2 1/2] DT: add a vendor prefix for Dialog Semiconductor

2013-09-12 Thread Guennadi Liakhovetski
Add a commonly used diasemi prefix for Dialog Semiconductor PLC. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH v2 0/2] regulator: da9210: support Device Tree initialisation

2013-09-12 Thread Guennadi Liakhovetski
The first patch just adds a vendor prefix for Dialog Semiconductor PLC, the second one actually implements DT support in da9210. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com v2: add DT documentation Guennadi Liakhovetski (2): DT: add a vendor prefix for Dialog Semiconductor

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-11 Thread Guennadi Liakhovetski
On Wed, 11 Sep 2013, Viresh Kumar wrote: > On 10 September 2013 22:37, Guennadi Liakhovetski > wrote: > > On Tue, 10 Sep 2013, Viresh Kumar wrote: > >> Quite straight forward actually.. > > > > Apparently, not quite. > > I overlooked the situation where w

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-11 Thread Guennadi Liakhovetski
On Wed, 11 Sep 2013, Viresh Kumar wrote: On 10 September 2013 22:37, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Tue, 10 Sep 2013, Viresh Kumar wrote: Quite straight forward actually.. Apparently, not quite. I overlooked the situation where we return early from -target

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: > On 10 September 2013 21:52, Guennadi Liakhovetski > wrote: > > Of course, isn't that what I've written above? reverted a commit and added > > debug - in that order. > > Ok, I misread it then :( > > > Sure, I can... So

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: > On 10 September 2013 20:42, Guennadi Liakhovetski > wrote: > > 4. reverted that commit, resolving a trivial conflict. Added a debug > > output in __cpufreq_driver_target() of > > > > > > if (cpufreq_di

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: > On 9 September 2013 20:41, Guennadi Liakhovetski > wrote: > > Sorry guys, I'm trying my best to stop this patch from propagating to > > stable and to get it fixed asap, so, the CC list might be a bit excessive. > > Also tryi

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: On 9 September 2013 20:41, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Sorry guys, I'm trying my best to stop this patch from propagating to stable and to get it fixed asap, so, the CC list might be a bit excessive. Also trying to fix

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: On 10 September 2013 20:42, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: 4. reverted that commit, resolving a trivial conflict. Added a debug output in __cpufreq_driver_target() of if (cpufreq_disabled()) return

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-10 Thread Guennadi Liakhovetski
On Tue, 10 Sep 2013, Viresh Kumar wrote: On 10 September 2013 21:52, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Of course, isn't that what I've written above? reverted a commit and added debug - in that order. Ok, I misread it then :( Sure, I can... So, with the performance

Re: "cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-09 Thread Guennadi Liakhovetski
Hi Rafael On Mon, 9 Sep 2013, Rafael J. Wysocki wrote: > Hi, > > On Monday, September 09, 2013 05:11:10 PM Guennadi Liakhovetski wrote: > > Sorry guys, I'm trying my best to stop this patch from propagating to > > stable and to get it fixed asap, so, the CC list mig

[PATCH 1/2] DT: add a vendor prefix for Dialog Semiconductor

2013-09-09 Thread Guennadi Liakhovetski
Add a commonly used "diasemi" prefix for Dialog Semiconductor PLC. Signed-off-by: Guennadi Liakhovetski --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefi

[PATCH 2/2] regulator: da9210: add Device Tree support

2013-09-09 Thread Guennadi Liakhovetski
This patch adds basic Device Tree support to the da9210 regulator driver - with no special properties, since also driver's platform data only contains standard regulator initialisation parameters. Signed-off-by: Guennadi Liakhovetski --- drivers/regulator/da9210-regulator.c |9 ++--- 1

[PATCH 0/4] ARM: shmobile: CPUFreq support on Lager

2013-09-09 Thread Guennadi Liakhovetski
s are used without da9210 DT support, the driver won't initialise correctly, otherwise applying these patches without the above dependencies will compile and shouldn't do any harm. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (4): pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 inter

[PATCH 3/4] ARM: shmobile: r8a7790: add CPUFreq clock support

2013-09-09 Thread Guennadi Liakhovetski
Add support for the Z clock on r8a7790, driving the four SoC's CA15 cores, and its parent - PLL0. This is required for CPUFreq support on this SoC. Signed-off-by: Guennadi Liakhovetski --- arch/arm/mach-shmobile/Kconfig |2 + arch/arm/mach-shmobile/clock-r8a7790.c | 150

[PATCH 0/2] regulator: da9210: support Device Tree initialisation

2013-09-09 Thread Guennadi Liakhovetski
The first patch just adds a vendor prefix for Dialog Semiconductor PLC, the second one actually implements DT support in da9210. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (2): DT: add a vendor prefix for Dialog Semiconductor regulator: da9210: add Device Tree support .../devicetree

[PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-09 Thread Guennadi Liakhovetski
This patch adds clocks and clock lookup entries for the four I2C controllers on r8a7790 and respective Device Tree nodes. Signed-off-by: Guennadi Liakhovetski --- arch/arm/boot/dts/r8a7790.dtsi | 36 arch/arm/mach-shmobile/clock-r8a7790.c | 10

[PATCH/RFC 4/4] ARM: shmobile: lager: add CPUFreq support

2013-09-09 Thread Guennadi Liakhovetski
The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using the cpufreq-cpu0 driver. Signed-off-by: Guennadi Liakhovetski --- This patch is marked as RFC, because so far I don't have data about

[PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-09 Thread Guennadi Liakhovetski
. Signed-off-by: Guennadi Liakhovetski --- drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c index 64fcc006..c3c4d9b 100644 --- a/drivers

"cpufreq: fix serialization issues with freq change notifiers" breaks cpufreq too

2013-09-09 Thread Guennadi Liakhovetski
the governor from performance to powersave directly after boot doesn't result in a frequency switch any more. Reverting this patch fixes the problem again. Tested with today's -next. Please, refrain from including into "stable" until clarified! Thanks Guennadi --- Guennadi Liakhove

cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-09 Thread Guennadi Liakhovetski
. In particular switching the governor from performance to powersave directly after boot doesn't result in a frequency switch any more. Reverting this patch fixes the problem again. Tested with today's -next. Please, refrain from including into stable until clarified! Thanks Guennadi --- Guennadi

[PATCH 1/4] pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface

2013-09-09 Thread Guennadi Liakhovetski
. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c index 64fcc006

[PATCH 0/2] regulator: da9210: support Device Tree initialisation

2013-09-09 Thread Guennadi Liakhovetski
The first patch just adds a vendor prefix for Dialog Semiconductor PLC, the second one actually implements DT support in da9210. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (2): DT: add a vendor prefix for Dialog Semiconductor regulator: da9210: add

[PATCH/RFC 4/4] ARM: shmobile: lager: add CPUFreq support

2013-09-09 Thread Guennadi Liakhovetski
The Lager board uses a DA9210 voltage regulator to supply DVFS power to the CA15 cores on the r8a7790 SoC. This patch adds CPUFreq support for that board using the cpufreq-cpu0 driver. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- This patch is marked as RFC, because

[PATCH 2/4] ARM: shmobile: r8a7790: add I2C support in Device Tree mode

2013-09-09 Thread Guennadi Liakhovetski
This patch adds clocks and clock lookup entries for the four I2C controllers on r8a7790 and respective Device Tree nodes. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/boot/dts/r8a7790.dtsi | 36 arch/arm/mach

[PATCH 0/4] ARM: shmobile: CPUFreq support on Lager

2013-09-09 Thread Guennadi Liakhovetski
without da9210 DT support, the driver won't initialise correctly, otherwise applying these patches without the above dependencies will compile and shouldn't do any harm. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (4): pinctrl: sh-pfc: r8a7790: add pin definitions

[PATCH 3/4] ARM: shmobile: r8a7790: add CPUFreq clock support

2013-09-09 Thread Guennadi Liakhovetski
Add support for the Z clock on r8a7790, driving the four SoC's CA15 cores, and its parent - PLL0. This is required for CPUFreq support on this SoC. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/mach-shmobile/Kconfig |2 + arch/arm/mach-shmobile

[PATCH 2/2] regulator: da9210: add Device Tree support

2013-09-09 Thread Guennadi Liakhovetski
This patch adds basic Device Tree support to the da9210 regulator driver - with no special properties, since also driver's platform data only contains standard regulator initialisation parameters. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/regulator/da9210

[PATCH 1/2] DT: add a vendor prefix for Dialog Semiconductor

2013-09-09 Thread Guennadi Liakhovetski
Add a commonly used diasemi prefix for Dialog Semiconductor PLC. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings

Re: cpufreq: fix serialization issues with freq change notifiers breaks cpufreq too

2013-09-09 Thread Guennadi Liakhovetski
Hi Rafael On Mon, 9 Sep 2013, Rafael J. Wysocki wrote: Hi, On Monday, September 09, 2013 05:11:10 PM Guennadi Liakhovetski wrote: Sorry guys, I'm trying my best to stop this patch from propagating to stable and to get it fixed asap, so, the CC list might be a bit excessive. Also

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-08 Thread Guennadi Liakhovetski
> =09of_node_put(np); > -=09of_node_put(parent); > =09return 0; > =20 > out_free_table: > =09opp_free_cpufreq_table(cpu_dev, _table); > out_put_node: > =09of_node_put(np); > -out_put_parent: > -=09of_node_put(parent); > =09return ret; > } > =20 >

Re: [PATCH v4 12/19] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-09-08 Thread Guennadi Liakhovetski
://www.tux.org/lkml/ --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-29 Thread Guennadi Liakhovetski
Hi Simon, On Mon, 26 Aug 2013, Simon Horman wrote: > On Sun, Aug 25, 2013 at 01:06:57PM +0530, Vinod Koul wrote: > > On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: > > > In this version of shdma Device Tree support I preserved the DT > > >

Re: [PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

2013-08-29 Thread Guennadi Liakhovetski
Hi Simon, On Mon, 26 Aug 2013, Simon Horman wrote: On Sun, Aug 25, 2013 at 01:06:57PM +0530, Vinod Koul wrote: On Fri, Aug 02, 2013 at 04:50:35PM +0200, Guennadi Liakhovetski wrote: In this version of shdma Device Tree support I preserved the DT configuration approach via OF device ID

Re: [PATCH] DMA: shdma: fix a bad merge - remove free_irq()

2013-08-28 Thread Guennadi Liakhovetski
Hi Vinod, On Wed, 28 Aug 2013, Vinod Koul wrote: > On Tue, Aug 27, 2013 at 04:46:51PM +0200, Guennadi Liakhovetski wrote: > > Ok, to me it looks like you did fix some patches in the topic/sh branch, > > but: > > > > patch "DMA: shdma: move two macros to a header

Re: [PATCH] DMA: shdma: fix a bad merge - remove free_irq()

2013-08-28 Thread Guennadi Liakhovetski
Hi Vinod, On Wed, 28 Aug 2013, Vinod Koul wrote: On Tue, Aug 27, 2013 at 04:46:51PM +0200, Guennadi Liakhovetski wrote: Ok, to me it looks like you did fix some patches in the topic/sh branch, but: patch DMA: shdma: move two macros to a header is missing patch dma: use

<    1   2   3   4   5   6   7   8   9   10   >