[PATCH v2 06/15] DMA: shdma: make multiplexer platform data optional

2013-07-19 Thread Guennadi Liakhovetski
Instead of supplying platform data to the shdma dmaengine driver via AUXDATA in the DT case, we now support platform data via an OF match table. Make platform data optional. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma-of.c |3 --- 1 files changed, 0 insertions(+), 3

[PATCH v2 03/15] DMA: shdma: add r8a73a4 DMAC data to the device ID table

2013-07-19 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a73a4. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1 + drivers/dma/sh/shdma-r8a73a4.c | 75 drivers

[PATCH v2 07/15] DMA: shdma: add sh73a0 DMAC data to the device ID table

2013-07-19 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to sh73a0, DMAC platform data in setup-sh73a0.c will be removed. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/Kconfig|4 + drivers/dma/sh/Makefile |1 + drivers/dma/sh/shdma-sh73a0.c | 181

[PATCH v2 04/15] DMA: shdma: make a pointer const

2013-07-19 Thread Guennadi Liakhovetski
Platform data shouldn't be changed at run-time, so, pointers to it should be const. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma.h |2 +- drivers/dma/sh/shdmac.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/dma/sh/shdma.h b

[PATCH v2 05/15] DMA: shdma: pass SoC-specific configuration to the driver via OF matching

2013-07-19 Thread Guennadi Liakhovetski
Similar to the non-DT case, this patch passes SoC-specific configuration to the driver via device ID matching, instead of platform data. Signed-off-by: Guennadi Liakhovetski --- v2: adjust spacing within array definitions to keep a uniform style. Documentation/devicetree/bindings/dma

[PATCH v2 01/15] DMA: shdma: add support for DMAC configuration data, supplied via device ID

2013-07-19 Thread Guennadi Liakhovetski
of them. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/Makefile |2 ++ drivers/dma/sh/{shdma.c => shdmac.c} | 11 ++- 2 files changed, 12 insertions(+), 1 deletions(-) rename drivers/dma/sh/{shdma.c => shdmac.c} (98%) diff --git a/drivers/dma/sh/Make

[PATCH v2 01/15] DMA: shdma: add support for DMAC configuration data, supplied via device ID

2013-07-19 Thread Guennadi Liakhovetski
of them. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Makefile |2 ++ drivers/dma/sh/{shdma.c = shdmac.c} | 11 ++- 2 files changed, 12 insertions(+), 1 deletions(-) rename drivers/dma/sh/{shdma.c = shdmac.c} (98%) diff --git

[PATCH v2 05/15] DMA: shdma: pass SoC-specific configuration to the driver via OF matching

2013-07-19 Thread Guennadi Liakhovetski
Similar to the non-DT case, this patch passes SoC-specific configuration to the driver via device ID matching, instead of platform data. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: adjust spacing within array definitions to keep a uniform style. Documentation

[PATCH v2 07/15] DMA: shdma: add sh73a0 DMAC data to the device ID table

2013-07-19 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to sh73a0, DMAC platform data in setup-sh73a0.c will be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Kconfig|4 + drivers/dma/sh/Makefile |1

[PATCH v2 04/15] DMA: shdma: make a pointer const

2013-07-19 Thread Guennadi Liakhovetski
Platform data shouldn't be changed at run-time, so, pointers to it should be const. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma.h |2 +- drivers/dma/sh/shdmac.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 03/15] DMA: shdma: add r8a73a4 DMAC data to the device ID table

2013-07-19 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a73a4. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1 + drivers/dma/sh/shdma-r8a73a4.c | 75

[PATCH v2 06/15] DMA: shdma: make multiplexer platform data optional

2013-07-19 Thread Guennadi Liakhovetski
Instead of supplying platform data to the shdma dmaengine driver via AUXDATA in the DT case, we now support platform data via an OF match table. Make platform data optional. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma-of.c |3 --- 1 files

[PATCH v2 02/15] DMA: shdma: add r8a7740 DMAC data to the device ID table

2013-07-19 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a7740, DMAC platform data in setup-r8a7740.c will be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1

[PATCH v2 00/15] ARM: shmobile: move DMAC configuration data in the driver

2013-07-19 Thread Guennadi Liakhovetski
. Otherwise the ARM patches will have to wait for 1 cycle. Guennadi Liakhovetski (15): DMA: shdma: add support for DMAC configuration data, supplied via device ID DMA: shdma: add r8a7740 DMAC data to the device ID table DMA: shdma: add r8a73a4 DMAC data to the device ID table DMA: shdma: make

[PATCH v2 08/15] DMA: shdma: move two macros to a header

2013-07-19 Thread Guennadi Liakhovetski
Move two generic pointer-conversion macros to a header for common shdma use. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma-base.c |3 --- drivers/dma/sh/shdma-of.c |2 -- include/linux/shdma-base.h |3 +++ 3 files changed, 3

[PATCH v2 09/15] DMA: shdma: support referencing specific DMACs within a multiplexer in DT

2013-07-19 Thread Guennadi Liakhovetski
this option a #dma-cells property also must be added to the respective DMAC DT node. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Documentation/devicetree/bindings/dma/shdma.txt | 16 ++ drivers/dma/sh/shdma.h |7 +++ drivers/dma/sh/shdmac.c

[PATCH v2 15/15] ARM: shmobile: r8a7740: add support for 2 RTDMACs

2013-07-19 Thread Guennadi Liakhovetski
In addition to 3 SYS-DMACs, r817740 SoCs also have 2 RT-DMACs. This patch adds support for them in both DT- amd non-DT-modes. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/boot/dts/r8a7740.dtsi | 34 +++ arch/arm/mach-shmobile/clock

[PATCH v2 11/15] ARM: shmobile: r8a7740: switch DMAC controllers to using device ID data

2013-07-19 Thread Guennadi Liakhovetski
This patch removes DMAC platform data on r8a7740 and switches to using device ID data. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/mach-shmobile/clock-r8a7740.c |6 +- arch/arm/mach-shmobile/setup-r8a7740.c | 106 +--- 2

[PATCH v2 10/15] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-07-19 Thread Guennadi Liakhovetski
Add a DMAC platform device and clock definitions for it on r8a73a4. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/mach-shmobile/clock-r8a73a4.c|4 +++- arch/arm/mach-shmobile/include/mach/r8a73a4.h |9 + arch/arm/mach-shmobile/setup

[PATCH v2 14/15] ARM: shmobile: sh73a0: switch DMAC controllers to using device ID data

2013-07-19 Thread Guennadi Liakhovetski
This patch removes DMAC platform data on sh73a0 and switches to using device ID data. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/mach-shmobile/clock-sh73a0.c |2 +- arch/arm/mach-shmobile/setup-sh73a0.c | 182 + 2 files

[PATCH v2 13/15] ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC

2013-07-19 Thread Guennadi Liakhovetski
Add a DT node for the only system DMAC instance on r8a73a4. The RT DMAC can be added later under the same multiplexer, because they can serve the same slaves and use the same MID-RID values. Configuration data is supplied to the driver, using a compatibility match string. Signed-off-by: Guennadi

[PATCH v2 12/15] ARM: shmobile: r8a7740: add DT nodes and clock aliases for three DMAC instances

2013-07-19 Thread Guennadi Liakhovetski
This patch adds Device Tree support for the three generic DMA controller instances on r8a7740 in a DMA multiplexer node. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: Use dma-controller for DMA controller DT nodes arch/arm/boot/dts/r8a7740.dtsi | 61

[PATCH 8/8] ARM: shmobile: r8a7740: add DT nodes and clock aliases for three DMAC instances

2013-07-12 Thread Guennadi Liakhovetski
This patch adds Device Tree support for the three generic DMA controller instances on r8a7740 in a DMA multiplexer node. Signed-off-by: Guennadi Liakhovetski --- arch/arm/boot/dts/r8a7740.dtsi | 61 arch/arm/mach-shmobile/clock-r8a7740.c |3 ++ 2

[PATCH 5/8] ARM: shmobile: r8a7740: switch DMAC controllers to using device ID data

2013-07-12 Thread Guennadi Liakhovetski
This patch removes DMAC platform data on r8a7740 and switches to using device ID data. Signed-off-by: Guennadi Liakhovetski --- Simon: this patch should only be applied after DMA driver changes, otherwise DMA on r8a7740 will be broken. We can delay this patch for one more kernel version

[PATCH 3/8] DMA: shdma: add r8a73a4 DMAC data to the device ID table

2013-07-12 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a73a4. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1 + drivers/dma/sh/shdma-r8a73a4.c | 75 drivers

[PATCH 4/8] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-07-12 Thread Guennadi Liakhovetski
Add a DMAC platform device and clock definitions for it on r8a73a4. Signed-off-by: Guennadi Liakhovetski --- Simon: this patch supersedes my earlier patch "ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it". With this approach we also don't have a build dependency

[PATCH 6/8] DMA: shdma: pass SoC-specific configuration to the driver via OF matching

2013-07-12 Thread Guennadi Liakhovetski
Similar to the non-DT case, this patch passes SoC-specific configuration to the driver via device ID matching, instead of platform data. Signed-off-by: Guennadi Liakhovetski --- Documentation/devicetree/bindings/dma/shdma.txt |7 +-- drivers/dma/sh/shdmac.c

[PATCH 2/8] DMA: shdma: add r8a7740 DMAC data to the device ID table

2013-07-12 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a7740, DMAC platform data in setup-r8a7740.c will be removed. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1 + drivers/dma/sh/shdma-r8a7740.c

[PATCH 0/8] ARM: shmobile: move DMAC configuration data in the driver

2013-07-12 Thread Guennadi Liakhovetski
's renesas.git devel branch. Cc: Guennadi Liakhovetski Guennadi Liakhovetski (8): DMA: shdma: add support for DMAC configuration data, supplied via device ID DMA: shdma: add r8a7740 DMAC data to the device ID table DMA: shdma: add r8a73a4 DMAC data to the device ID table ARM: shmobile:

[PATCH 1/8] DMA: shdma: add support for DMAC configuration data, supplied via device ID

2013-07-12 Thread Guennadi Liakhovetski
of them. Signed-off-by: Guennadi Liakhovetski --- A file has to be renamed to preserve the driver module name. drivers/dma/sh/Makefile |2 ++ drivers/dma/sh/{shdma.c => shdmac.c} | 11 ++- 2 files changed, 12 insertions(+), 1 deletions(-) rename drivers/dma/sh/{shdm

[PATCH 7/8] DMA: shdma: make multiplexer platform data optional

2013-07-12 Thread Guennadi Liakhovetski
Instead of supplying platform data to the shdma dmaengine driver via AUXDATA in the DT case, we now support platform data via an OF match table. Make platform data optional. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma-of.c |3 --- 1 files changed, 0 insertions(+), 3

[PATCH 1/8] DMA: shdma: add support for DMAC configuration data, supplied via device ID

2013-07-12 Thread Guennadi Liakhovetski
of them. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- A file has to be renamed to preserve the driver module name. drivers/dma/sh/Makefile |2 ++ drivers/dma/sh/{shdma.c = shdmac.c} | 11 ++- 2 files changed, 12 insertions(+), 1 deletions

[PATCH 7/8] DMA: shdma: make multiplexer platform data optional

2013-07-12 Thread Guennadi Liakhovetski
Instead of supplying platform data to the shdma dmaengine driver via AUXDATA in the DT case, we now support platform data via an OF match table. Make platform data optional. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma-of.c |3 --- 1 files

[PATCH 2/8] DMA: shdma: add r8a7740 DMAC data to the device ID table

2013-07-12 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a7740, DMAC platform data in setup-r8a7740.c will be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1

[PATCH 0/8] ARM: shmobile: move DMAC configuration data in the driver

2013-07-12 Thread Guennadi Liakhovetski
. Cc: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com Guennadi Liakhovetski (8): DMA: shdma: add support for DMAC configuration data, supplied via device ID DMA: shdma: add r8a7740 DMAC data to the device ID table DMA: shdma: add r8a73a4 DMAC data to the device ID table ARM

[PATCH 4/8] ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it

2013-07-12 Thread Guennadi Liakhovetski
Add a DMAC platform device and clock definitions for it on r8a73a4. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Simon: this patch supersedes my earlier patch ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it. With this approach we also don't have

[PATCH 6/8] DMA: shdma: pass SoC-specific configuration to the driver via OF matching

2013-07-12 Thread Guennadi Liakhovetski
Similar to the non-DT case, this patch passes SoC-specific configuration to the driver via device ID matching, instead of platform data. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Documentation/devicetree/bindings/dma/shdma.txt |7 +-- drivers/dma/sh

[PATCH 3/8] DMA: shdma: add r8a73a4 DMAC data to the device ID table

2013-07-12 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to r8a73a4. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/Kconfig |4 ++ drivers/dma/sh/Makefile|1 + drivers/dma/sh/shdma-r8a73a4.c | 75

[PATCH 5/8] ARM: shmobile: r8a7740: switch DMAC controllers to using device ID data

2013-07-12 Thread Guennadi Liakhovetski
This patch removes DMAC platform data on r8a7740 and switches to using device ID data. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Simon: this patch should only be applied after DMA driver changes, otherwise DMA on r8a7740 will be broken. We can delay this patch

[PATCH 8/8] ARM: shmobile: r8a7740: add DT nodes and clock aliases for three DMAC instances

2013-07-12 Thread Guennadi Liakhovetski
This patch adds Device Tree support for the three generic DMA controller instances on r8a7740 in a DMA multiplexer node. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- arch/arm/boot/dts/r8a7740.dtsi | 61 arch/arm/mach

[PATCH v2 3/3] DMA: shdma: support the new CHCLR register layout

2013-07-10 Thread Guennadi Liakhovetski
layout. Signed-off-by: Guennadi Liakhovetski --- v2: remove merge order dependency. This version can be merged without requiring platforms to adjust their platform data. Only new SoCs with bitwise CHCLR layouts will have to use new platform data fields. drivers/dma/sh/shdma.c | 14

[PATCH v2 3/3] DMA: shdma: support the new CHCLR register layout

2013-07-10 Thread Guennadi Liakhovetski
layout. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: remove merge order dependency. This version can be merged without requiring platforms to adjust their platform data. Only new SoCs with bitwise CHCLR layouts will have to use new platform data fields. drivers/dma

[PATCH 0/3] DMA: shdma: several stylistic improvements and support for new SoCs

2013-07-02 Thread Guennadi Liakhovetski
Hi The first two patches in this small series improve driver internals a bit by using preferred APIs, the 3rd patch adds support for new DMAC versions, present on AG5, APE6, H2. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open

[PATCH 1/3] DMA: shdma: switch to managed resource allocation

2013-07-02 Thread Guennadi Liakhovetski
Switch shdma to using devm_* managed functions for allocation of memory, requesting IRQs, mapping IO resources etc. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma-base.c | 11 +- drivers/dma/sh/shdma.c | 71 --- drivers/dma/sh

[PATCH 2/3] DMA: shdma: switch all __iomem pointers to void

2013-07-02 Thread Guennadi Liakhovetski
ich avoids this clumsiness. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma.c | 22 +++--- drivers/dma/sh/shdma.h |6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index 3083d62..64eb

[PATCH 3/3] DMA: shdma: support the new CHCLR register layout

2013-07-02 Thread Guennadi Liakhovetski
layout. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/sh/shdma.c |6 -- include/linux/sh_dma.h | 12 +++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index 64eb7fb..883a4de 100644 --- a/drivers/dma/sh/shdma.c

[PATCH] DMA: shdma: fix CHCLR register address calculation

2013-07-02 Thread Guennadi Liakhovetski
struct sh_dmae_device::chan_reg is a pointer to u32, therefore when adding offsets to it care should be taken to add offsets in sizeof(u32) units, not in bytes. This patch corrects such a bug. While at it we also remove the redundant parameter of the affected function. Signed-off-by: Guennadi

[PATCH] DMA: shdma: fix CHCLR register address calculation

2013-07-02 Thread Guennadi Liakhovetski
struct sh_dmae_device::chan_reg is a pointer to u32, therefore when adding offsets to it care should be taken to add offsets in sizeof(u32) units, not in bytes. This patch corrects such a bug. While at it we also remove the redundant parameter of the affected function. Signed-off-by: Guennadi

[PATCH 1/3] DMA: shdma: switch to managed resource allocation

2013-07-02 Thread Guennadi Liakhovetski
Switch shdma to using devm_* managed functions for allocation of memory, requesting IRQs, mapping IO resources etc. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma-base.c | 11 +- drivers/dma/sh/shdma.c | 71

[PATCH 2/3] DMA: shdma: switch all __iomem pointers to void

2013-07-02 Thread Guennadi Liakhovetski
this clumsiness. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma.c | 22 +++--- drivers/dma/sh/shdma.h |6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index

[PATCH 0/3] DMA: shdma: several stylistic improvements and support for new SoCs

2013-07-02 Thread Guennadi Liakhovetski
Hi The first two patches in this small series improve driver internals a bit by using preferred APIs, the 3rd patch adds support for new DMAC versions, present on AG5, APE6, H2. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open

[PATCH 3/3] DMA: shdma: support the new CHCLR register layout

2013-07-02 Thread Guennadi Liakhovetski
layout. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/dma/sh/shdma.c |6 -- include/linux/sh_dma.h | 12 +++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index 64eb7fb..883a4de

RE: [RFC V1] COMMIT 1: DA9210 driver files

2013-06-26 Thread Guennadi Liakhovetski
859/ a patch series has been submitted by your employer to support the da9063 PMIC. Are there plans to continue that work and update the driver? Any specific dates when a new submission can be expected? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer h

RE: [RFC V1] COMMIT 1: DA9210 driver files

2013-06-26 Thread Guennadi Liakhovetski
/ a patch series has been submitted by your employer to support the da9063 PMIC. Are there plans to continue that work and update the driver? Any specific dates when a new submission can be expected? Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http

[PATCH] regulator: max8973: fix a typo in documentation

2013-06-25 Thread Guennadi Liakhovetski
Fix a s/maxium/maxim/ typo in DT binding documentation. Reported-by: Sergei Shtylyov Signed-off-by: Guennadi Liakhovetski --- Mark, if still possible, feel free to merge this with the original patch. Thanks Guennadi .../bindings/regulator/max8973-regulator.txt |4 ++-- 1 files

[PATCH] regulator: max8973: fix a typo in documentation

2013-06-25 Thread Guennadi Liakhovetski
Fix a s/maxium/maxim/ typo in DT binding documentation. Reported-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- Mark, if still possible, feel free to merge this with the original patch. Thanks Guennadi

Re: [PATCH v2 2/2] regulators: max8973: initial DT support

2013-06-24 Thread Guennadi Liakhovetski
On Mon, 24 Jun 2013, Sergei Shtylyov wrote: > Hello. > > On 06/24/2013 02:50 PM, Guennadi Liakhovetski wrote: > > > This patch adds primitive DT support to the max8973 regulator driver. None > > of the configuration parameters, supported in the platform data are

[PATCH v2 2/2] regulators: max8973: initial DT support

2013-06-24 Thread Guennadi Liakhovetski
, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski --- v2: as suggested by Mark, regulator bindings are now directly

[PATCH v2 2/2] regulators: max8973: initial DT support

2013-06-24 Thread Guennadi Liakhovetski
, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v2: as suggested by Mark

Re: [PATCH v2 2/2] regulators: max8973: initial DT support

2013-06-24 Thread Guennadi Liakhovetski
On Mon, 24 Jun 2013, Sergei Shtylyov wrote: Hello. On 06/24/2013 02:50 PM, Guennadi Liakhovetski wrote: This patch adds primitive DT support to the max8973 regulator driver. None of the configuration parameters, supported in the platform data are yet available in DT, therefore

Re: [PATCH] media: i2c: tvp514x: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 2013, Prabhakar Lad wrote: > From: "Lad, Prabhakar" > > Both synchronous and asynchronous tvp514x subdevice probing is supported by > this patch. > > Signed-off-by: Prabhakar Lad > Cc: Guennadi Liakhovetski > Cc: Laurent Pinchart > Cc: H

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sun, 23 Jun 2013, Guennadi Liakhovetski wrote: > On Sat, 22 Jun 2013, Prabhakar Lad wrote: > > > From: "Lad, Prabhakar" > > > > Both synchronous and asynchronous adv7343 subdevice probing is supported by > > this patch. > > > > Signed-o

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 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: H

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 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...@gmx.de Cc

Re: [PATCH] media: i2c: adv7343: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sun, 23 Jun 2013, Guennadi Liakhovetski wrote: On Sat, 22 Jun 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

Re: [PATCH] media: i2c: tvp514x: add support for asynchronous probing

2013-06-23 Thread Guennadi Liakhovetski
On Sat, 22 Jun 2013, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Prabhakar Lad prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc

Re: [PATCH 2/2] regulators: max8973: initial DT support

2013-06-21 Thread Guennadi Liakhovetski
Hi Mark Thanks for the review On Fri, 21 Jun 2013, Mark Brown wrote: > On Fri, Jun 21, 2013 at 08:30:26AM +0200, Guennadi Liakhovetski wrote: > > > +Required properties: > > + > > +- compatible: must be "maxium,max8973" > > +- reg:

Re: [RFC V1] COMMIT 1: DA9210 driver files

2013-06-21 Thread Guennadi Liakhovetski
DA9210_DVC_CTRL_EN 0x80 > + > +/* DA9210_REG_BUCK_ILIM (addr=0xD0) */ > +#define DA9210_BUCK_ILIM_SHIFT 0 > +#define DA9210_BUCK_ILIM_MASK 0x0F > +#define DA9210_BUCK_IALARM 0x10 > + > +/* DA9210_REG_B

[PATCH 2/2] regulators: max8973: initial DT support

2013-06-21 Thread Guennadi Liakhovetski
, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski --- .../bindings/regulator/max8973-regulator.txt | 25

[PATCH 1/2] regulators: max8973: fix multiple instance support

2013-06-21 Thread Guennadi Liakhovetski
of the struct for each chip instance. Signed-off-by: Guennadi Liakhovetski --- drivers/regulator/max8973-regulator.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c index adb1414

[PATCH 1/2] regulators: max8973: fix multiple instance support

2013-06-21 Thread Guennadi Liakhovetski
of the struct for each chip instance. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- drivers/regulator/max8973-regulator.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator

[PATCH 2/2] regulators: max8973: initial DT support

2013-06-21 Thread Guennadi Liakhovetski
, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- .../bindings/regulator/max8973

Re: [RFC V1] COMMIT 1: DA9210 driver files

2013-06-21 Thread Guennadi Liakhovetski
) */ +#define DA9210_IF_BASE_ADDR_SHIFT4 +#define DA9210_IF_BASE_ADDR_MASK 0xF0 + +/* DA9210_REG_CONFIG_E (addr=0x147) */ +#define DA9210_STAND_ALONE 0x01 + +#endif /* __DA9210_REGISTERS_H__ */ + -- end-of-patch for RFC V1 --- Guennadi

Re: [PATCH 2/2] regulators: max8973: initial DT support

2013-06-21 Thread Guennadi Liakhovetski
Hi Mark Thanks for the review On Fri, 21 Jun 2013, Mark Brown wrote: On Fri, Jun 21, 2013 at 08:30:26AM +0200, Guennadi Liakhovetski wrote: +Required properties: + +- compatible: must be maxium,max8973 +- reg: the i2c slave address of the regulator. It should

Re: [QUESTION] LVDS / MIPI

2013-06-16 Thread Guennadi Liakhovetski
media and Video Capture. > > Any Discussion? > > Is the response to this question something to the effect > of "sure... Start writing a driver any time you want..." > > Thanks. --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://

Re: [QUESTION] LVDS / MIPI

2013-06-16 Thread Guennadi Liakhovetski
Capture. Any Discussion? Is the response to this question something to the effect of sure... Start writing a driver any time you want... Thanks. --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send

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

2013-06-06 Thread Guennadi Liakhovetski
Hi On Tue, 30 Apr 2013, Guennadi Liakhovetski wrote: > 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" >

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

2013-06-06 Thread Guennadi Liakhovetski
Hi On Tue, 30 Apr 2013, Guennadi Liakhovetski wrote: 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

Re: [PATCH] dmatest: do not allow to interrupt ongoing tests

2013-06-05 Thread Guennadi Liakhovetski
On Wed, 5 Jun 2013, Will Deacon wrote: > On Mon, May 27, 2013 at 08:11:07AM +0100, Andy Shevchenko wrote: > > On Fri, 2013-05-24 at 23:55 +0200, Guennadi Liakhovetski wrote: > > > On Thu, 23 May 2013, Andy Shevchenko wrote: > > > > > > > When user inter

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

2013-06-05 Thread Guennadi Liakhovetski
Hi Rafael On Wed, 22 May 2013, Rafael J. Wysocki wrote: > On Wednesday, May 22, 2013 08:12:22 PM Guennadi Liakhovetski wrote: > > Hi Rafael > > > > I don't see this patch in your cpufreq branch nor in next or Linus' trees, > > has it been pulled yet? > > No, I

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

2013-06-05 Thread Guennadi Liakhovetski
Hi Rafael On Wed, 22 May 2013, Rafael J. Wysocki wrote: On Wednesday, May 22, 2013 08:12:22 PM Guennadi Liakhovetski wrote: Hi Rafael I don't see this patch in your cpufreq branch nor in next or Linus' trees, has it been pulled yet? No, I haven't applied it yet, not sure why

Re: [PATCH] dmatest: do not allow to interrupt ongoing tests

2013-06-05 Thread Guennadi Liakhovetski
On Wed, 5 Jun 2013, Will Deacon wrote: On Mon, May 27, 2013 at 08:11:07AM +0100, Andy Shevchenko wrote: On Fri, 2013-05-24 at 23:55 +0200, Guennadi Liakhovetski wrote: On Thu, 23 May 2013, Andy Shevchenko wrote: When user interrupts ongoing transfers the dmatest may end up

Re: [PATCH] dmatest: do not allow to interrupt ongoing tests

2013-05-24 Thread Guennadi Liakhovetski
ed_test(info, bv); > + > + if (__is_threaded_test_run(info)) > + ret = -EBUSY; > + else > + ret = __restart_threaded_test(info, bv); > + > mutex_unlock(>lock); > } > > -- >

Re: [PATCH] dmatest: do not allow to interrupt ongoing tests

2013-05-24 Thread Guennadi Liakhovetski
-info.html Please read the FAQ at http://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

Re: [PATCH 1/2] mmc: sdhci: Added set_power sdhci_ops handler.

2013-05-23 Thread Guennadi Liakhovetski
On Wed, 22 May 2013, Felipe Ferreri Tonello wrote: > Hi Guennadi, > > On Wednesday, May 22, 2013 10:30:40 PM Guennadi Liakhovetski wrote: > > On Wed, 22 May 2013, Felipe F. Tonello wrote: > > > From: "Felipe F. Tonello" > > > > > > This is

Re: [PATCH 1/2] mmc: sdhci: Added set_power sdhci_ops handler.

2013-05-23 Thread Guennadi Liakhovetski
On Wed, 22 May 2013, Felipe Ferreri Tonello wrote: Hi Guennadi, On Wednesday, May 22, 2013 10:30:40 PM Guennadi Liakhovetski wrote: On Wed, 22 May 2013, Felipe F. Tonello wrote: From: Felipe F. Tonello e...@felipetonello.com This is useful for power managment purposes if a sdhci

Re: [PATCH 1/2] mmc: sdhci: Added set_power sdhci_ops handler.

2013-05-22 Thread Guennadi Liakhovetski
_MMC_SDHCI_IO_ACCESSORS > -- > 1.8.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > --- Guennadi Liakhovets

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

2013-05-22 Thread Guennadi Liakhovetski
Hi Rafael I don't see this patch in your cpufreq branch nor in next or Linus' trees, has it been pulled yet? Thanks Guennadi On Thu, 28 Mar 2013, Shawn Guo wrote: > On Wed, Mar 27, 2013 at 11:46:38PM +0100, Guennadi Liakhovetski wrote: > > Hi Shawn > > > > On Mon,

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

2013-05-22 Thread Guennadi Liakhovetski
Hi Rafael I don't see this patch in your cpufreq branch nor in next or Linus' trees, has it been pulled yet? Thanks Guennadi On Thu, 28 Mar 2013, Shawn Guo wrote: On Wed, Mar 27, 2013 at 11:46:38PM +0100, Guennadi Liakhovetski wrote: Hi Shawn On Mon, 25 Feb 2013, Guennadi Liakhovetski

Re: [PATCH 1/2] mmc: sdhci: Added set_power sdhci_ops handler.

2013-05-22 Thread Guennadi Liakhovetski
/majordomo-info.html --- 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: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Guennadi Liakhovetski
, my task description says "a da9210 PMIC." I think this one is meant: http://www.dialog-semiconductor.com/products/power-management/DA9210 Thanks Guennadi > Best regards, > > Tony Olech > > > > -Original Message- > > From: Guennadi Liakhovetski

RE: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Guennadi Liakhovetski
Hi Tony On Thu, 9 May 2013, Anthony Olech wrote: > Hi Guennadi Liakhovetski, > > Now that Krystian no longer works for Dialog I think that I might be > your best contact. > As far as I am aware without doing any checking, the DA906x driver > should possibly cover the DA9063

Re: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Guennadi Liakhovetski
; this out. > > -- > 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 > Please read the FAQ at http://www.tux.org/

Re: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

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

RE: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Guennadi Liakhovetski
Hi Tony On Thu, 9 May 2013, Anthony Olech wrote: Hi Guennadi Liakhovetski, Now that Krystian no longer works for Dialog I think that I might be your best contact. As far as I am aware without doing any checking, the DA906x driver should possibly cover the DA9063. Good! If you need

RE: [RFC PATCH 2/8] regulator: Add Dialog DA906x voltage regulators support.

2013-05-09 Thread Guennadi Liakhovetski
://www.dialog-semiconductor.com/products/power-management/DA9210 Thanks Guennadi Best regards, Tony Olech -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 09 May 2013 15:29 To: Anthony Olech Cc: Krystian Garbaciak; Mark Brown; linux

Re: 3.9.1: x86_64 configuration failing to build

2013-05-08 Thread Guennadi Liakhovetski
On Wed, 8 May 2013, Guennadi Liakhovetski wrote: > Hi > > Based on an old (2.6.35) configuration for my PC I updated to 3.9.1 and > went through make config, automatically called by make bzImage, the > resulted configuration couldn't be built: A "make distclean" f

Re: 3.9.1: x86_64 configuration failing to build

2013-05-08 Thread Guennadi Liakhovetski
On Wed, 8 May 2013, Guennadi Liakhovetski wrote: Hi Based on an old (2.6.35) configuration for my PC I updated to 3.9.1 and went through make config, automatically called by make bzImage, the resulted configuration couldn't be built: A make distclean fixed it. Thanks Guennadi scripts

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: > > > &g

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

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