Re: [PATCH/RFC 0/6] DMA: shdma: add Device Tree support

2013-05-02 Thread Guennadi Liakhovetski
Hi Chris, Simon, Vinod (in alphabetical order :-) ) On Thu, 11 Apr 2013, Guennadi Liakhovetski wrote: This patch series adds Device Tree support to the shdma dmaengine driver and illustraits its use with the kzm9g-reference board's MMCIF interface. Formally patches in this series belong

Re: [PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-05-02 Thread Guennadi Liakhovetski
On Thu, 2 May 2013, Vinod Koul wrote: On Tue, Apr 30, 2013 at 02:17:13PM +0200, Guennadi Liakhovetski wrote: (added Russell to CC, sorry for not including initially) Hi Vinod On Tue, 30 Apr 2013, Vinod Koul wrote: On Tue, Apr 30, 2013 at 09:11:19AM +0200, Guennadi Liakhovetski

Re: [PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-04-30 Thread Guennadi Liakhovetski
(added Russell to CC, sorry for not including initially) Hi Vinod On Tue, 30 Apr 2013, Vinod Koul wrote: > On Tue, Apr 30, 2013 at 09:11:19AM +0200, Guennadi Liakhovetski wrote: > > Previously an issue has been discussed, arising on sh-/r-mobile ARM-based > > systems. There we

Re: [PATCH 7/6] DMA: shdma: add DT binding documentation

2013-04-30 Thread Guennadi Liakhovetski
On Tue, 30 Apr 2013, Vinod Koul wrote: > On Fri, Apr 26, 2013 at 08:26:16AM +0200, Guennadi Liakhovetski wrote: > > SHDMA uses only standard DMA Device Tree bindings. This patch adds > > documentation, exactly describing the use of the bindings and providing > > examples

[PATCH 1/4] OF: add a new phandle parsing function for grouped nodes

2013-04-30 Thread Guennadi Liakhovetski
. Once a matching node is found, standard DT iterators can be used to look for further matches. Signed-off-by: Guennadi Liakhovetski --- drivers/of/base.c | 28 +--- include/linux/of.h | 16 2 files changed, 41 insertions(+), 3 deletions(-) diff --git

[PATCH 2/4] dmaengine: add support for DMA multiplexer DT nodes

2013-04-30 Thread Guennadi Liakhovetski
s, belonging to the same group must have the same #dma-cells number and use the same slave IDs. Signed-off-by: Guennadi Liakhovetski --- Documentation/devicetree/bindings/dma/dma.txt | 44 + drivers/dma/of-dma.c | 39 -- 2 files

[PATCH 4/4] OF: modify function stubs to match proper function declarations.

2013-04-30 Thread Guennadi Liakhovetski
of_parse_phandle_with_args() and of_count_phandle_with_args() functions are declared with their first parameter as const. However, their respective stubs, used when CONFIG_OF isn't defined, don't have the "const" modifier. This patch adds it to fix the mismatch. Signed-off-by

[PATCH 3/4] ARM: shmobile: move r8a7740 DMA controller DT node under a "dma-mux" node

2013-04-30 Thread Guennadi Liakhovetski
es. Future patches shall add further DMA controller DT nodes under the same DMA multiplexer DT node. Signed-off-by: Guennadi Liakhovetski --- Applies on top of my earlier "ARM: shmobile: r8a7740: add DT node for one DMAC instance" patch still under review. .../boot/dts/r8a7740-armadillo

[PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-04-30 Thread Guennadi Liakhovetski
to slaves. Patches 1-3 in this series propose such an implementation. Patch 4 is just a minor clean up, can be applied independently. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (4): OF: add a new phandle parsing function for grouped nodes dmaengine: add support for DMA multiplexer DT

[PATCH 3/4] ARM: shmobile: move r8a7740 DMA controller DT node under a dma-mux node

2013-04-30 Thread Guennadi Liakhovetski
shall add further DMA controller DT nodes under the same DMA multiplexer DT node. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Applies on top of my earlier ARM: shmobile: r8a7740: add DT node for one DMAC instance patch still under review. .../boot/dts/r8a7740

[PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-04-30 Thread Guennadi Liakhovetski
is just a minor clean up, can be applied independently. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (4): OF: add a new phandle parsing function for grouped nodes dmaengine: add support for DMA multiplexer DT nodes ARM: shmobile: move r8a7740 DMA

[PATCH 4/4] OF: modify function stubs to match proper function declarations.

2013-04-30 Thread Guennadi Liakhovetski
of_parse_phandle_with_args() and of_count_phandle_with_args() functions are declared with their first parameter as const. However, their respective stubs, used when CONFIG_OF isn't defined, don't have the const modifier. This patch adds it to fix the mismatch. Signed-off-by: Guennadi Liakhovetski

[PATCH 2/4] dmaengine: add support for DMA multiplexer DT nodes

2013-04-30 Thread Guennadi Liakhovetski
#dma-cells number and use the same slave IDs. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Documentation/devicetree/bindings/dma/dma.txt | 44 + drivers/dma/of-dma.c | 39 -- 2 files changed, 73

[PATCH 1/4] OF: add a new phandle parsing function for grouped nodes

2013-04-30 Thread Guennadi Liakhovetski
. Once a matching node is found, standard DT iterators can be used to look for further matches. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/of/base.c | 28 +--- include/linux/of.h | 16 2 files changed, 41 insertions

Re: [PATCH 7/6] DMA: shdma: add DT binding documentation

2013-04-30 Thread Guennadi Liakhovetski
On Tue, 30 Apr 2013, Vinod Koul wrote: On Fri, Apr 26, 2013 at 08:26:16AM +0200, Guennadi Liakhovetski wrote: SHDMA uses only standard DMA Device Tree bindings. This patch adds documentation, exactly describing the use of the bindings and providing examples. Signed-off-by: Guennadi

Re: [PATCH/RFC 0/4] dmaengine: add DT support for DMA multiplexers

2013-04-30 Thread Guennadi Liakhovetski
(added Russell to CC, sorry for not including initially) Hi Vinod On Tue, 30 Apr 2013, Vinod Koul wrote: On Tue, Apr 30, 2013 at 09:11:19AM +0200, Guennadi Liakhovetski wrote: Previously an issue has been discussed, arising on sh-/r-mobile ARM-based systems. There we typically have

[PATCH 7/6] DMA: shdma: add DT binding documentation

2013-04-26 Thread Guennadi Liakhovetski
SHDMA uses only standard DMA Device Tree bindings. This patch adds documentation, exactly describing the use of the bindings and providing examples. Signed-off-by: Guennadi Liakhovetski --- This patch adds the missing documentation to the patch series "DMA: shdma: add Device Tree support&

[PATCH 7/6] DMA: shdma: add DT binding documentation

2013-04-26 Thread Guennadi Liakhovetski
SHDMA uses only standard DMA Device Tree bindings. This patch adds documentation, exactly describing the use of the bindings and providing examples. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- This patch adds the missing documentation to the patch series DMA: shdma

Re: [PATCH] trivial: fix some then vs. than typos

2013-04-25 Thread Guennadi Liakhovetski
Hi Jiri On Thu, 25 Apr 2013, Jiri Kosina wrote: > On Wed, 17 Apr 2013, Guennadi Liakhovetski wrote: > > > This patch fixes some of the obvious then vs. than typos. > > > > Signed-off-by: Guennadi Liakhovetski > [ ... snip ... ] > > --- a/Documentati

Re: [PATCH] trivial: fix some then vs. than typos

2013-04-25 Thread Guennadi Liakhovetski
Hi Jiri On Thu, 25 Apr 2013, Jiri Kosina wrote: On Wed, 17 Apr 2013, Guennadi Liakhovetski wrote: This patch fixes some of the obvious then vs. than typos. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de [ ... snip ... ] --- a/Documentation/usb/mass-storage.txt +++ b

Re: [PATCH RFC v2 1/4] media: i2c: adv7343: add support for asynchronous probing

2013-04-22 Thread Guennadi Liakhovetski
Hi Prabhakar On Mon, 22 Apr 2013, Prabhakar Lad wrote: > From: Lad, Prabhakar > > Both synchronous and asynchronous adv7343 subdevice probing is supported by > this patch. > > Signed-off-by: Lad, Prabhakar > Cc: Guennadi Liakhovetski > Cc: Laurent Pinchart > Cc:

Re: [PATCH RFC v2 1/4] media: i2c: adv7343: add support for asynchronous probing

2013-04-22 Thread Guennadi Liakhovetski
Hi Prabhakar On Mon, 22 Apr 2013, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous adv7343 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet

[PATCH] trivial: fix some then vs. than typos

2013-04-17 Thread Guennadi Liakhovetski
This patch fixes some of the obvious then vs. than typos. Signed-off-by: Guennadi Liakhovetski --- These are just some of the typos, that a simple grep for patterns like "er,\? then\|more,\? then\|less,\? then" catches. Of course, they have to be manually verified, they produce a

Re: [PATCH v2] regulator: as3711: Use a static of_regulator_match table for of_regulator_match

2013-04-17 Thread Guennadi Liakhovetski
ed in current code, thus this patch does not set > driver_data in the of_regulator_match table. > > Signed-off-by: Axel Lin Acked-by: Guennadi Liakhovetski Thanks Guennadi > --- > drivers/regulator/as3711-regulator.c | 43 > ++ > 1 file

Re: [PATCH v2] regulator: as3711: Use a static of_regulator_match table for of_regulator_match

2013-04-17 Thread Guennadi Liakhovetski
this patch does not set driver_data in the of_regulator_match table. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- drivers/regulator/as3711-regulator.c | 43 ++ 1 file changed, 18

[PATCH] trivial: fix some then vs. than typos

2013-04-17 Thread Guennadi Liakhovetski
This patch fixes some of the obvious then vs. than typos. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- These are just some of the typos, that a simple grep for patterns like er,\? then\|more,\? then\|less,\? then catches. Of course, they have to be manually verified

Re: [PATCH] regulator: as3711: Use a static of_regulator_match table for of_regulator_match

2013-04-16 Thread Guennadi Liakhovetski
1_regulator_matches, count); > of_node_put(regulators); > if (ret < 0) { > dev_err(dev, "Error parsing regulator init data: %d\n", ret); > return ret; > } > > - for (i = 0, match = matches; i < count; i++, match

Re: [PATCH] regulator: as3711: Use a static of_regulator_match table for of_regulator_match

2013-04-16 Thread Guennadi Liakhovetski
++) if (match-of_node) { pdata-init_data[i] = match-init_data; of_node[i] = match-of_node; -- 1.7.10.4 Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list

Re: [PATCH/RFC 3/6] DMA: shdma: add DT support

2013-04-15 Thread Guennadi Liakhovetski
Hi Arnd Thanks for the review. On Mon, 15 Apr 2013, Arnd Bergmann wrote: > On Monday 15 April 2013, Vinod Koul wrote: > > On Thu, Apr 11, 2013 at 12:19:46AM +0200, Guennadi Liakhovetski wrote: > > > This patch adds Device Tree support to the shdma driver. No special DT > &g

Re: [PATCH/RFC 3/6] DMA: shdma: add DT support

2013-04-15 Thread Guennadi Liakhovetski
Hi Arnd Thanks for the review. On Mon, 15 Apr 2013, Arnd Bergmann wrote: On Monday 15 April 2013, Vinod Koul wrote: On Thu, Apr 11, 2013 at 12:19:46AM +0200, Guennadi Liakhovetski wrote: This patch adds Device Tree support to the shdma driver. No special DT properties are used, only

Re: [PATCH] drivers: media: platform: convert to devm_ioremap_resource()

2013-04-12 Thread Guennadi Liakhovetski
eu->base); > > ret = devm_request_threaded_irq(>dev, irq, sh_veu_isr, sh_veu_bh, > 0, "veu", veu); > -- > 1.7.9.5 > --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To u

Re: [PATCH] drivers: media: platform: convert to devm_ioremap_resource()

2013-04-12 Thread Guennadi Liakhovetski
, 0, veu, veu); -- 1.7.9.5 --- 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

[PATCH/RFC 0/6] DMA: shdma: add Device Tree support

2013-04-10 Thread Guennadi Liakhovetski
This patch series adds Device Tree support to the shdma dmaengine driver and illustraits its use with the kzm9g-reference board's MMCIF interface. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (6): DMA: shdma: (cosmetic) don't re-calculate a pointer DMA: shdma: shdma_chan_filter() has

[PATCH 1/6] DMA: shdma: (cosmetic) don't re-calculate a pointer

2013-04-10 Thread Guennadi Liakhovetski
Use an existing pointer instead of retrieving it again. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index b70709b..a5a1887 100644 --- a/drivers/dma/sh

[PATCH/RFC 5/6] mmc: sh_mmcif: add support for Device Tree DMA bindings

2013-04-10 Thread Guennadi Liakhovetski
To use DMA in the Device Tree case the driver has to be modified to use suitable API to obtain DMA channels. Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mmcif.c | 29 ++--- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/drivers/mmc

[PATCH/RFC 3/6] DMA: shdma: add DT support

2013-04-10 Thread Guennadi Liakhovetski
procedure. Signed-off-by: Guennadi Liakhovetski --- Note concerning the filtering parameter. Without DT slave channels are configured, based on a purely virtual slave ID, passed by DMA clients to the shdma dmaengine driver. In the DT case we cannot use such virtual IDs, we use a hardware MID/RID

[PATCH 2/6] DMA: shdma: shdma_chan_filter() has to be in shdma-base.h

2013-04-10 Thread Guennadi Liakhovetski
shdma_chan_filter() is a function, provided by the shdma-base.c module, move its declaration to the appropriate header. Signed-off-by: Guennadi Liakhovetski --- include/linux/sh_dma.h |2 -- include/linux/shdma-base.h |1 + 2 files changed, 1 insertions(+), 2 deletions(-) diff

[PATCH/RFC 4/6] ARM: shmobile: sh73a0: add support for the DMA0 controller in DT

2013-04-10 Thread Guennadi Liakhovetski
Add a Device Tree node for the DMA0 controller on sh73a0 and auxdata to supply platform data to the driver. To enable the DMA0 controller it also has to be taken out of reset. Signed-off-by: Guennadi Liakhovetski --- arch/arm/boot/dts/sh73a0.dtsi | 36

[PATCH/RFC 6/6] ARM: shmobile: kzm9g-reference: add DMA channels to the MMCIF DT

2013-04-10 Thread Guennadi Liakhovetski
The MMCIF driver can use DMA for data transfer, add suitable Device Tree bindings. Signed-off-by: Guennadi Liakhovetski --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b

[PATCH/RFC 6/6] ARM: shmobile: kzm9g-reference: add DMA channels to the MMCIF DT

2013-04-10 Thread Guennadi Liakhovetski
The MMCIF driver can use DMA for data transfer, add suitable Device Tree bindings. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH/RFC 4/6] ARM: shmobile: sh73a0: add support for the DMA0 controller in DT

2013-04-10 Thread Guennadi Liakhovetski
Add a Device Tree node for the DMA0 controller on sh73a0 and auxdata to supply platform data to the driver. To enable the DMA0 controller it also has to be taken out of reset. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/boot/dts/sh73a0.dtsi | 36

[PATCH 2/6] DMA: shdma: shdma_chan_filter() has to be in shdma-base.h

2013-04-10 Thread Guennadi Liakhovetski
shdma_chan_filter() is a function, provided by the shdma-base.c module, move its declaration to the appropriate header. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- include/linux/sh_dma.h |2 -- include/linux/shdma-base.h |1 + 2 files changed, 1

[PATCH/RFC 3/6] DMA: shdma: add DT support

2013-04-10 Thread Guennadi Liakhovetski
procedure. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Note concerning the filtering parameter. Without DT slave channels are configured, based on a purely virtual slave ID, passed by DMA clients to the shdma dmaengine driver. In the DT case we cannot use such virtual

[PATCH 1/6] DMA: shdma: (cosmetic) don't re-calculate a pointer

2013-04-10 Thread Guennadi Liakhovetski
Use an existing pointer instead of retrieving it again. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index b70709b

[PATCH/RFC 5/6] mmc: sh_mmcif: add support for Device Tree DMA bindings

2013-04-10 Thread Guennadi Liakhovetski
To use DMA in the Device Tree case the driver has to be modified to use suitable API to obtain DMA channels. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/mmc/host/sh_mmcif.c | 29 ++--- 1 files changed, 18 insertions(+), 11 deletions

[PATCH/RFC 0/6] DMA: shdma: add Device Tree support

2013-04-10 Thread Guennadi Liakhovetski
This patch series adds Device Tree support to the shdma dmaengine driver and illustraits its use with the kzm9g-reference board's MMCIF interface. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (6): DMA: shdma: (cosmetic) don't re-calculate a pointer DMA

[PATCH] Documentation: fix a path in a DocBook template

2013-04-02 Thread Guennadi Liakhovetski
A wrong path to a driver breaks DocBook built. Cc: Jiri Slaby Signed-off-by: Guennadi Liakhovetski --- A fix for 3.9 Documentation/DocBook/device-drivers.tmpl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation

[PATCH] Documentation: fix a path in a DocBook template

2013-04-02 Thread Guennadi Liakhovetski
A wrong path to a driver breaks DocBook built. Cc: Jiri Slaby jsl...@suse.cz Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- A fix for 3.9 Documentation/DocBook/device-drivers.tmpl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/DocBook

Re: [PATCH] cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()

2013-03-27 Thread Guennadi Liakhovetski
Hi Shawn On Mon, 25 Feb 2013, Guennadi Liakhovetski wrote: > clk_set_rate() isn't supposed to accept approximate frequencies, instead > a supported frequency should be obtained from clk_round_rate() and then > used to set the clock. > > Signed-off-by: Guennadi Liakhovetski Can

Re: [PATCH] cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()

2013-03-27 Thread Guennadi Liakhovetski
Hi Shawn On Mon, 25 Feb 2013, Guennadi Liakhovetski wrote: clk_set_rate() isn't supposed to accept approximate frequencies, instead a supported frequency should be obtained from clk_round_rate() and then used to set the clock. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Can

Re: [PATCH v3 3/3] backlight: as3711: add OF support

2013-03-25 Thread Guennadi Liakhovetski
On Mon, 25 Mar 2013, Mark Brown wrote: > On Mon, Mar 25, 2013 at 02:12:21PM +0900, Jingoo Han wrote: > > On Saturday, March 23, 2013 1:16 AM, Guennadi Liakhovetski wrote: > > > But, there is a typo in comment. > > > + * At least one su2-auto-curr* must

Re: [PATCH v3 3/3] backlight: as3711: add OF support

2013-03-25 Thread Guennadi Liakhovetski
On Mon, 25 Mar 2013, Mark Brown wrote: On Mon, Mar 25, 2013 at 02:12:21PM +0900, Jingoo Han wrote: On Saturday, March 23, 2013 1:16 AM, Guennadi Liakhovetski wrote: But, there is a typo in comment. + * At least one su2-auto-curr* must be specified iff s/iff/if Are you sure

Re: [PATCH v3 2/3] regulator: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
On Fri, 22 Mar 2013, Mark Brown wrote: > On Fri, Mar 22, 2013 at 05:15:48PM +0100, Guennadi Liakhovetski wrote: > > AS3711 regulator OF support only evaluates standard regulator DT > > properties. > > It looks like this has no dependencies on the MFD patch, is that &g

[PATCH v3 3/3] backlight: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
Add support for configuring AS3711 backlight driver from DT. Signed-off-by: Guennadi Liakhovetski Reviwed-by: Mark Brown --- drivers/video/backlight/as3711_bl.c | 118 ++- 1 files changed, 117 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight

[PATCH v3 1/3] mfd: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
Add Flat Device Tree support to the AS3711 MFD driver. This patch just allows to bind the driver to I2C devices, instantiated from the DT. DT support for AS3711 cell drivers will be added in separate drivers. Signed-off-by: Guennadi Liakhovetski Reviwed-by: Mark Brown --- Documentation

[PATCH v3 2/3] regulator: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
AS3711 regulator OF support only evaluates standard regulator DT properties. Signed-off-by: Guennadi Liakhovetski Reviwed-by: Mark Brown --- drivers/regulator/as3711-regulator.c | 74 - 1 files changed, 71 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH v3 0/3] DT support for AS3711 MFD, regulator and backlight drivers

2013-03-22 Thread Guennadi Liakhovetski
This is just a split of the previous version of this patch(-set), no code changes. Guennadi Liakhovetski (3): mfd: as3711: add OF support regulator: as3711: add OF support backlight: as3711: add OF support Documentation/devicetree/bindings/mfd/as3711.txt | 73 + drivers/mfd

[PATCH v3 2/3] regulator: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
AS3711 regulator OF support only evaluates standard regulator DT properties. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/regulator/as3711-regulator.c | 74 - 1 files

[PATCH v3 0/3] DT support for AS3711 MFD, regulator and backlight drivers

2013-03-22 Thread Guennadi Liakhovetski
This is just a split of the previous version of this patch(-set), no code changes. Guennadi Liakhovetski (3): mfd: as3711: add OF support regulator: as3711: add OF support backlight: as3711: add OF support Documentation/devicetree/bindings/mfd/as3711.txt | 73 + drivers/mfd

[PATCH v3 3/3] backlight: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
Add support for configuring AS3711 backlight driver from DT. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/video/backlight/as3711_bl.c | 118 ++- 1 files changed, 117

[PATCH v3 1/3] mfd: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
Add Flat Device Tree support to the AS3711 MFD driver. This patch just allows to bind the driver to I2C devices, instantiated from the DT. DT support for AS3711 cell drivers will be added in separate drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Reviwed-by: Mark

Re: [PATCH v3 2/3] regulator: as3711: add OF support

2013-03-22 Thread Guennadi Liakhovetski
On Fri, 22 Mar 2013, Mark Brown wrote: On Fri, Mar 22, 2013 at 05:15:48PM +0100, Guennadi Liakhovetski wrote: AS3711 regulator OF support only evaluates standard regulator DT properties. It looks like this has no dependencies on the MFD patch, is that correct? Yes, that's correct

Re: [PATCH v2] mfd: as3711: add OF support

2013-03-20 Thread Guennadi Liakhovetski
Hi all On Sat, 2 Mar 2013, Mark Brown wrote: > On Mon, Feb 18, 2013 at 10:57:44AM +0100, Guennadi Liakhovetski wrote: > > Add device-tree bindings to the AS3711 regulator and backlight drivers. > > Reviwed-by: Mark Brown This patch has been submitted more than a month ago and o

Re: [PATCH v2] mfd: as3711: add OF support

2013-03-20 Thread Guennadi Liakhovetski
Hi all On Sat, 2 Mar 2013, Mark Brown wrote: On Mon, Feb 18, 2013 at 10:57:44AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com This patch has been submitted more than

Re: [PATCH v2 1/8] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
roah-Hartman > Cc: Mauro Carvalho Chehab > Cc: Josh Wu > Cc: Guennadi Liakhovetski > Cc: Hans Verkuil > Cc: linux-me...@vger.kernel.org > --- > drivers/media/platform/soc_camera/atmel-isi.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) > > diff

Re: [PATCH 01/10] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
> Cc: Josh Wu > Cc: Guennadi Liakhovetski > Cc: Hans Verkuil > Cc: linux-me...@vger.kernel.org Thanks for the patch. Subtracting this series http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/61403 you only need to convert atmel-isi.c. Please, respin. Thanks

Re: [PATCH 01/10] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
: Mauro Carvalho Chehab mche...@redhat.com Cc: Josh Wu josh...@atmel.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Hans Verkuil hans.verk...@cisco.com Cc: linux-me...@vger.kernel.org Thanks for the patch. Subtracting this series http://thread.gmane.org/gmane.linux.drivers.video-input

Re: [PATCH v2 1/8] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
-Hartman gre...@linuxfoundation.org Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Josh Wu josh...@atmel.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Hans Verkuil hans.verk...@cisco.com Cc: linux-me...@vger.kernel.org --- drivers/media/platform/soc_camera/atmel-isi.c | 12

Re: [PATCH] [media] soc_camera: remove two outdated selects

2013-03-12 Thread Guennadi Liakhovetski
e > and colour models. > @@ -36,7 +35,6 @@ config SOC_CAMERA_MT9T112 > config SOC_CAMERA_MT9V022 > tristate "mt9v022 and mt9v024 support" > depends on SOC_CAMERA && I2C > - select GPIO_PCA953X if MT9V022_PCA9536_SWITCH > help >

Re: [PATCH] [media] soc_camera: remove two outdated selects

2013-03-12 Thread Guennadi Liakhovetski
depends on SOC_CAMERA I2C - select GPIO_PCA953X if MT9V022_PCA9536_SWITCH help This driver supports MT9V022 cameras from Micron -- 1.7.11.7 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from

Re: A proposal to check the device in generic way

2013-03-11 Thread Guennadi Liakhovetski
lient. Thanks Guennadi > bool filter_fn(struct dma_chan *chan, void *fparams) > { > struct filter_params *p = fparams; > if (chan->device->dev != p->dev) >return false; > ... > } > > In case my idea has a right to live, what about to move such check

Re: [PATCH] soc_camera: convert to devm_ioremap_resource()

2013-03-11 Thread Guennadi Liakhovetski
On Mon, 11 Mar 2013, Silviu Popescu wrote: > On Mon, Mar 11, 2013 at 9:50 AM, Guennadi Liakhovetski > wrote: > > > > Is there anything in this patch, that this patch series > > > > http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/61337 >

git branch sort order, domain representation hick-up

2013-03-11 Thread Guennadi Liakhovetski
said, maybe I'm the only one with such a weird configuration. 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

Re: [PATCH] soc_camera: convert to devm_ioremap_resource()

2013-03-11 Thread Guennadi Liakhovetski
- priv->base = devm_request_and_ioremap(>dev, res); > - if (!priv->base) { > - dev_err(>dev, "Unable to ioremap CSI2 registers.\n"); > - return -ENXIO; > - } > + priv->base = devm_ioremap_resource(>dev, res); > +

Re: [PATCH] soc_camera: convert to devm_ioremap_resource()

2013-03-11 Thread Guennadi Liakhovetski
-base)) + return PTR_ERR(priv-base); priv-pdev = pdev; platform_set_drvdata(pdev, priv); -- 1.7.9.5 --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line unsubscribe

git branch sort order, domain representation hick-up

2013-03-11 Thread Guennadi Liakhovetski
said, maybe I'm the only one with such a weird configuration. 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] soc_camera: convert to devm_ioremap_resource()

2013-03-11 Thread Guennadi Liakhovetski
On Mon, 11 Mar 2013, Silviu Popescu wrote: On Mon, Mar 11, 2013 at 9:50 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Is there anything in this patch, that this patch series http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/61337 is missing? Thanks

Re: A proposal to check the device in generic way

2013-03-11 Thread Guennadi Liakhovetski
; ... } In case my idea has a right to live, what about to move such check inside DMA engine code? Opinions, comments? Earlier I tried to discuss this with Arnd here: http://www.spinics.net/lists/arm-kernel/msg220716.html --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-03-07 Thread Guennadi Liakhovetski
Hi Viresh On Fri, 8 Mar 2013, Viresh Kumar wrote: > On 8 March 2013 05:56, Guennadi Liakhovetski wrote: > > I like generic drivers :) > > Me too :) > > > cpufreq-cpu0 is yet another such generic > > (cpufreq) driver. Now, comparing the functionality of the t

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-03-07 Thread Guennadi Liakhovetski
erstand, power-saving is also an important consideration for big.LITTLE systems. So, I presume, you plan to implement voltage switching in cpufreq notifiers? Now, my question is: is this (notifier) actually the preferred method and the cpufreq-cpu0 driver is doing it "wrongly?"

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-03-07 Thread Guennadi Liakhovetski
Hi Viresh On Fri, 8 Mar 2013, Viresh Kumar wrote: On 8 March 2013 05:56, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: I like generic drivers :) Me too :) cpufreq-cpu0 is yet another such generic (cpufreq) driver. Now, comparing the functionality of the two: Great!! we

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-03-07 Thread Guennadi Liakhovetski
) actually the preferred method and the cpufreq-cpu0 driver is doing it wrongly? 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

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-03-01 Thread Guennadi Liakhovetski
ts > that are better dealt with using incremental patches. > > Signed-off-by: Magnus Damm tested on kzm9g in topic/all+next branch of https://git.kernel.org/cgit/linux/kernel/git/horms/renesas.git/ Tested-by: Guennadi Liakhovetski Thanks Guennadi > --- > > Depends on: >

Re: [PATCH] irqchip: Renesas IRQC driver

2013-03-01 Thread Guennadi Liakhovetski
n topic/all+next branch of https://git.kernel.org/cgit/linux/kernel/git/horms/renesas.git/ Tested-by: Guennadi Liakhovetski Thanks Guennadi > --- > > drivers/irqchip/Kconfig|4 > drivers/irqchip/Makefile |1 > drivers/irqchip/irq

Re: [PATCH] irqchip: Renesas IRQC driver

2013-03-01 Thread Guennadi Liakhovetski
/horms/renesas.git/ Tested-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- drivers/irqchip/Kconfig|4 drivers/irqchip/Makefile |1 drivers/irqchip/irq-renesas-irqc.c | 298

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-03-01 Thread Guennadi Liakhovetski
...@opensource.se tested on kzm9g in topic/all+next branch of https://git.kernel.org/cgit/linux/kernel/git/horms/renesas.git/ Tested-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- Depends on: [PATCH] irqchip: Renesas INTC External IRQ pin driver drivers/irqchip/irq-renesas

Re: [PATCH v2] Media: remove incorrect __init/__exit markups

2013-02-25 Thread Guennadi Liakhovetski
specifically disables sysfs bind/unbind > attributes. > > Similarly probe() methods should not be marked __init unless > platform_driver_probe() is used. > > Signed-off-by: Dmitry Torokhov > --- > > v1->v2: removed __init markup on omap1_cam_probe() that was po

[PATCH] cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()

2013-02-25 Thread Guennadi Liakhovetski
clk_set_rate() isn't supposed to accept approximate frequencies, instead a supported frequency should be obtained from clk_round_rate() and then used to set the clock. Signed-off-by: Guennadi Liakhovetski --- Applies on top of my previous patch to fix unsigned freq_Hz "cpufreq: fix sign

[PATCH] regulator: tps6586x: (cosmetic) simplify a conditional

2013-02-25 Thread Guennadi Liakhovetski
of_node_put() is called on either branch of a conditional, simplify the code by only calling it once. Signed-off-by: Guennadi Liakhovetski --- drivers/regulator/tps6586x-regulator.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/tps6586x

[PATCH] cpufreq: fix sign check of an unsigned variable in cpufreq-cpu0

2013-02-25 Thread Guennadi Liakhovetski
A "< 0" test for an unsigned variable is meaningless, change the variable to signed. Signed-off-by: Guennadi Liakhovetski --- stable? drivers/cpufreq/cpufreq-cpu0.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/dr

[PATCH v2] mfd: as3711: add OF support

2013-02-25 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski --- v2: 1. remove a redundant of_device_is_available() check, this also eliminates a compile breakage 2. add .of_node regulator configuration field initialisation 3. add parenthesis

Re: [PATCH v2] Media: remove incorrect __init/__exit markups

2013-02-25 Thread Guennadi Liakhovetski
Liakhovetski. drivers/media/platform/soc_camera/omap1_camera.c | 6 +++--- Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line

[PATCH v2] mfd: as3711: add OF support

2013-02-25 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- v2: 1. remove a redundant of_device_is_available() check, this also eliminates a compile breakage 2. add .of_node regulator configuration field

[PATCH] cpufreq: fix sign check of an unsigned variable in cpufreq-cpu0

2013-02-25 Thread Guennadi Liakhovetski
A 0 test for an unsigned variable is meaningless, change the variable to signed. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- stable? drivers/cpufreq/cpufreq-cpu0.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b

[PATCH] regulator: tps6586x: (cosmetic) simplify a conditional

2013-02-25 Thread Guennadi Liakhovetski
of_node_put() is called on either branch of a conditional, simplify the code by only calling it once. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/regulator/tps6586x-regulator.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH] cpufreq: cpufreq-cpu0: use the exact frequency for clk_set_rate()

2013-02-25 Thread Guennadi Liakhovetski
clk_set_rate() isn't supposed to accept approximate frequencies, instead a supported frequency should be obtained from clk_round_rate() and then used to set the clock. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Applies on top of my previous patch to fix unsigned freq_Hz

Re: [PATCH] Media: remove incorrect __exit markups

2013-02-24 Thread Guennadi Liakhovetski
rrect, but don't we also have to remove __init from omap1_cam_probe()? Or would that be a separate patch? 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

Re: [PATCH] Media: remove incorrect __exit markups

2013-02-24 Thread Guennadi Liakhovetski
--- 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-info.html

[PATCH v2] mfd: as3711: add OF support

2013-02-18 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski --- v2: 1. remove of_device_is_available() - it breaks compilation with CONFIG_OF disabled and is redundant anyway - I2C devices are only registered for available devoces 2. add

[PATCH v2] mfd: as3711: add OF support

2013-02-18 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- v2: 1. remove of_device_is_available() - it breaks compilation with CONFIG_OF disabled and is redundant anyway - I2C devices are only registered for available

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