[PATCH v3 1/7] dmaengine: of_dma: Support for DMA routers

2015-03-27 Thread Peter Ujfalusi
generic enough to be used in different environments. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt | 28 drivers/dma/dmaengine.c | 7 ++ drivers/dma/of-dma.c | 92

[PATCH v3 7/7] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-03-27 Thread Peter Ujfalusi
The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 57 ++--- 1 file changed, 33

[PATCH v3 5/7] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-03-27 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 +++- 1 file changed, 11

[PATCH v3 3/7] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-03-27 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific sDMA request. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers

Re: [PATCH v3 1/7] dmaengine: of_dma: Support for DMA routers

2015-03-31 Thread Peter Ujfalusi
On 03/28/2015 03:44 AM, Arnd Bergmann wrote: On Friday 27 March 2015, Peter Ujfalusi wrote: +Required property: +- dma-device: phandle of the DMA controller. The router is modifying + the DMA requests for this controller. This property seems rather specific

Re: [PATCH 2/6] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-03-01 Thread Peter Ujfalusi
On 02/28/2015 06:00 PM, Paul Bolle wrote: On Tue, 2015-02-24 at 16:21 +0200, Peter Ujfalusi wrote: The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA

[PATCH 2/6] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-02-24 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific sDMA request. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers

[PATCH 3/6] dmaengine: omap-dma: Use defines for dma channels and request count

2015-02-24 Thread Peter Ujfalusi
Instead of magic numbers in the code, use define for number of logical DMA channels and DMA requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma

[PATCH 0/6] dmaengine/dra7x: DMA router (crossbar support)

2015-02-24 Thread Peter Ujfalusi
to be added. The omap-dma part of changes are based on the dma property name change series: https://lkml.org/lkml/2015/2/20/182 but the code has fallback so it is working w/o the changes in that series. Regards, Peter --- Peter Ujfalusi (6): dmaengine: of_dma: Support for DMA routers dmaengine

[PATCH 1/6] dmaengine: of_dma: Support for DMA routers

2015-02-24 Thread Peter Ujfalusi
generic enough to be used in different environments. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt | 27 drivers/dma/dmaengine.c | 7 ++ drivers/dma/of-dma.c | 92

[PATCH 4/6] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-02-24 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 11 ++- 1 file changed, 10

[PATCH 6/6] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-02-24 Thread Peter Ujfalusi
The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 57 ++--- 1 file changed, 33

[PATCH 5/6] dmaengine: omap-dma: Remove mapping between virtual channels and requests

2015-02-24 Thread Peter Ujfalusi
channels with HW request lines will make it harder to implement MEM_TO_MEM mode for the driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c

Re: [PATCH 4/6] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-02-24 Thread Peter Ujfalusi
On 02/24/2015 04:25 PM, Russell King - ARM Linux wrote: On Tue, Feb 24, 2015 at 04:21:21PM +0200, Peter Ujfalusi wrote: Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests

Re: [PATCH 5/6] dmaengine: omap-dma: Remove mapping between virtual channels and requests

2015-02-24 Thread Peter Ujfalusi
On 02/24/2015 04:28 PM, Russell King - ARM Linux wrote: On Tue, Feb 24, 2015 at 04:21:22PM +0200, Peter Ujfalusi wrote: Do not direct map the virtual channels to sDMA request number. When the sDMA is behind of a crossbar this direct mapping can cause situations when certain channel can

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Peter Ujfalusi
On 01/30/2015 02:40 PM, Peter Ujfalusi wrote: On 01/30/2015 12:37 PM, Pavel Machek wrote: Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. Actually, reverting 368494093354ac613a80c2e1d77602aa12473cf0 seems enough. Any

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Peter Ujfalusi
On 01/30/2015 12:37 PM, Pavel Machek wrote: Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. Actually, reverting 368494093354ac613a80c2e1d77602aa12473cf0 seems enough. Any quick patches to test? Or should we revert so

[PATCH] dmaengine: omap-dma: Add support for memcpy

2015-04-22 Thread Peter Ujfalusi
The sDMA controller is capable of performing memory copy operation. It need to be configured to software triggered mode and without HW synchronization. The sDMA can copy data which is aligned to 8, 16 or 32 bits. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 51

Re: [PATCH v5 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-04-22 Thread Peter Ujfalusi
On 04/09/2015 12:35 PM, Peter Ujfalusi wrote: Vinod: is it OK if I send the Documnetation/dmanegine/ update a bit later when I have finished it? Changes since v4: - Comments from Maxime Ripard addressed: - long line fixed in of-dma.c - node leaks has been fixed in ti-dma-crossbar

Re: [PATCH 2/3] dmaenegine: edma: allow pause/resume for non-cyclic mode

2015-04-27 Thread Peter Ujfalusi
, resulting in lost serial data. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: John Ogness john.ogn...@linutronix.de --- drivers/dma/edma.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index bf09db7

Re: [PATCH 1/3] ARM: common: edma: clear completion interrupts on stop

2015-04-27 Thread Peter Ujfalusi
. By clearing the completion interrupt for the stopping channel it is ensured that no completion event will be generated after the stop. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: John Ogness john.ogn...@linutronix.de --- arch/arm/common/edma.c |3 +++ 1 file changed

Re: [PATCH 13/19] clk: ti: Silence sparse warnings

2015-05-06 Thread Peter Ujfalusi
it be static? drivers/clk/ti/clk-dra7-atl.c:170:39: warning: Using plain integer as NULL pointer Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: Tero Kristo t-kri...@ti.com Signed-off-by: Stephen Boyd sb...@codeaurora.org Acked-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/ti/clk

Re: [PATCH v5 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-05-07 Thread Peter Ujfalusi
On 05/04/2015 08:38 AM, Vinod Koul wrote: On Thu, Apr 09, 2015 at 12:35:49PM +0300, Peter Ujfalusi wrote: +int omap_dmaxbar_init(void) +{ +return platform_driver_register(ti_dma_xbar_driver); +} +arch_initcall(omap_dmaxbar_init); All looks fine except this bit, I think I did point out

Re: [PATCH v5 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-05-08 Thread Peter Ujfalusi
On 05/08/2015 06:41 AM, Vinod Koul wrote: Now as far as this series is concerned, rest of it looks good so I am willing to merge to if you plan to work on defered probe :) I think its a fair bargain! Deal ;) I'll take care of the OMAP/daVinci drivers for omap-dma and edma. -- Péter -- To

Re: [PATCH v5 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-05-08 Thread Peter Ujfalusi
On 05/08/2015 06:09 PM, Tony Lindgren wrote: * Vinod Koul vinod.k...@intel.com [150508 02:04]: On Fri, May 08, 2015 at 10:05:24AM +0300, Peter Ujfalusi wrote: On 05/08/2015 06:41 AM, Vinod Koul wrote: Now as far as this series is concerned, rest of it looks good so I am willing to merge

Re: [PATCH v5 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-05-13 Thread Peter Ujfalusi
On 05/09/2015 02:44 PM, Vinod Koul wrote: This implementation is not tied to any DMA driver so it is possible to use the framework by other vendors, also ACPI version of binding can be easy enough to be added. I have applied all but last change to topic/omap I can only find 6 patches out

Re: [PATCH v4 1/8] dmaengine: of_dma: Support for DMA routers

2015-04-15 Thread Peter Ujfalusi
On 04/10/2015 10:40 AM, Maxime Ripard wrote: On Thu, Apr 09, 2015 at 11:24:58AM +0300, Peter Ujfalusi wrote: On 04/08/2015 06:42 PM, Maxime Ripard wrote: --- Documentation/devicetree/bindings/dma/dma.txt | 28 + drivers/dma/dmaengine.c | 7 +++ drivers/dma

[PATCH v4 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-04-08 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific sDMA request. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers

[PATCH v4 2/8] Documentation: devicetree: dma: Binding documentation for TI DMA crossbar

2015-04-08 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific request line of the DMA controller. Signed-off-by: Peter Ujfalusi peter.ujfal

[PATCH v4 4/8] dmaengine: omap-dma: Use defines for dma channels and request count

2015-04-08 Thread Peter Ujfalusi
Instead of magic numbers in the code, use define for number of logical DMA channels and DMA requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma

[PATCH v4 1/8] dmaengine: of_dma: Support for DMA routers

2015-04-08 Thread Peter Ujfalusi
the real DMA controller. This way the router can be transparent for the system while remaining generic enough to be used in different environments. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt | 28 + drivers/dma/dmaengine.c

[PATCH v4 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-04-08 Thread Peter Ujfalusi
The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 57 ++--- 1 file changed, 33

[PATCH v4 5/8] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-04-08 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 +++- 1 file changed, 11

[PATCH v4 6/8] dmaengine: omap-dma: Remove mapping between virtual channels and requests

2015-04-08 Thread Peter Ujfalusi
channels with HW request lines will make it harder to implement MEM_TO_MEM mode for the driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap

[PATCH v4 7/8] dmaengine: omap-dma: Reduce the number of virtual channels

2015-04-08 Thread Peter Ujfalusi
Since the mapping between the hardware request lines and channels has been removed it no longer make sense to have too many channels. Set the number of channels to match with the number of logical channels supported by sDMA. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma

[PATCH v4 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-04-08 Thread Peter Ujfalusi
This implementation is not tied to any DMA driver so it is possible to use the framework by other vendors, also ACPI version of binding can be easy enough to be added. Regards, Peter --- Peter Ujfalusi (8): dmaengine: of_dma: Support for DMA routers Documentation: devicetree: dma: Binding

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-04-09 Thread Peter Ujfalusi
On 04/09/2015 10:01 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150409 11:55]: On 04/09/2015 06:18 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150409 02:37]: The sDMA requests are routed through the DMA crossbar and without the crossbar only

[PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-04-09 Thread Peter Ujfalusi
The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 57 ++--- 1 file changed, 33

[PATCH v5 1/8] dmaengine: of_dma: Support for DMA routers

2015-04-09 Thread Peter Ujfalusi
the real DMA controller. This way the router can be transparent for the system while remaining generic enough to be used in different environments. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt | 28 + drivers/dma/dmaengine.c

[PATCH v5 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-04-09 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific sDMA request. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers

Re: [PATCH v4 1/8] dmaengine: of_dma: Support for DMA routers

2015-04-09 Thread Peter Ujfalusi
On 04/08/2015 06:42 PM, Maxime Ripard wrote: --- Documentation/devicetree/bindings/dma/dma.txt | 28 + drivers/dma/dmaengine.c | 7 +++ drivers/dma/of-dma.c | 86 +++ include/linux/dmaengine.h

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-04-09 Thread Peter Ujfalusi
On 04/09/2015 06:18 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150409 02:37]: The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. I assume this can be merged separately from the driver

[PATCH v5 2/8] Documentation: devicetree: dma: Binding documentation for TI DMA crossbar

2015-04-09 Thread Peter Ujfalusi
The DRA7x has more peripherals with DMA requests than the sDMA can handle: 205 vs 127. All DMA requests are routed through the DMA crossbar, which can be configured to route selected incoming DMA requests to specific request line of the DMA controller. Signed-off-by: Peter Ujfalusi peter.ujfal

Re: [PATCH v4 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-04-09 Thread Peter Ujfalusi
+static inline void ti_dma_xbar_write(void __iomem *iomem, int xbar, int val) +{ +writew_relaxed(val, iomem + (xbar * 2)); Silently casting val (an integer) to a u16 isn't really nice I guess. At least you could be upfront about it in the prototype. The value in val is guarantied not

[PATCH v5 5/8] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-04-09 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 +++- 1 file changed, 11

[PATCH v5 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-04-09 Thread Peter Ujfalusi
/2014/3/7/199 This implementation is not tied to any DMA driver so it is possible to use the framework by other vendors, also ACPI version of binding can be easy enough to be added. Regards, Peter --- Peter Ujfalusi (8): dmaengine: of_dma: Support for DMA routers Documentation: devicetree: dma

[PATCH v5 6/8] dmaengine: omap-dma: Remove mapping between virtual channels and requests

2015-04-09 Thread Peter Ujfalusi
channels with HW request lines will make it harder to implement MEM_TO_MEM mode for the driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap

[PATCH v5 7/8] dmaengine: omap-dma: Reduce the number of virtual channels

2015-04-09 Thread Peter Ujfalusi
Since the mapping between the hardware request lines and channels has been removed it no longer make sense to have too many channels. Set the number of channels to match with the number of logical channels supported by sDMA. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma

[PATCH v5 4/8] dmaengine: omap-dma: Use defines for dma channels and request count

2015-04-09 Thread Peter Ujfalusi
Instead of magic numbers in the code, use define for number of logical DMA channels and DMA requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma

[PATCH 0/3] dmaengine: ti-dma-crossbar: Support for eDMA

2015-06-05 Thread Peter Ujfalusi
: ti-dma-crossbar: Make idr xbar instance-specific dmaengine: ti-dma-crossbar: Add support for eDMA xbar Peter Ujfalusi (1): dmaengine: ti-dma-crossbar: Change the compatible string to ti,dra7-sdma-crossbar Documentation/devicetree/bindings/dma/dma.txt | 2 +- .../devicetree

Re: [PATCH 0/3] dmaengine: ti-dma-crossbar: Support for eDMA

2015-06-05 Thread Peter Ujfalusi
On 06/05/2015 06:34 PM, Peter Ujfalusi wrote: Hi, The ti-dma-crossbar driver in it's current form can work when it is used with sDMA (omap-dma). On DRA7x class of devices we have both sDMA and eDMA available. The DT bindings for sDMA has been done in a way that DMA users need to specify

[PATCH 3/3] dmaengine: ti-dma-crossbar: Add support for eDMA xbar

2015-06-05 Thread Peter Ujfalusi
From: Misael Lopez Cruz misael.lo...@ti.com eDMA crossbar works exactly the same way as sDMA, but sDMA requires an offset of 1, while no offset is needed for eDMA. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- .../devicetree

[PATCH 1/3] dmaengine: ti-dma-crossbar: Change the compatible string to ti,dra7-sdma-crossbar

2015-06-05 Thread Peter Ujfalusi
with the compatible. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/dma.txt | 2 +- Documentation/devicetree/bindings/dma/ti-dma-crossbar.txt | 4 ++-- drivers/dma/ti-dma-crossbar.c | 2 +- 3 files changed, 4 insertions(+), 4

[PATCH 2/3] dmaengine: ti-dma-crossbar: Make idr xbar instance-specific

2015-06-05 Thread Peter Ujfalusi
From: Misael Lopez Cruz misael.lo...@ti.com In preparation for supporting multiple DMA crossbar instances, make the idr xbar instance specific. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/ti-dma-crossbar.c | 9

[PATCH v2 0/2] dmaengine: ti-dma-crossbar: Support for eDMA

2015-06-08 Thread Peter Ujfalusi
the offset needed by the DMA driver. Regards, Peter --- Misael Lopez Cruz (1): dmaengine: ti-dma-crossbar: Make idr xbar instance-specific Peter Ujfalusi (1): dmaengine: ti-dma-crossbar: Add support for eDMA drivers/dma/ti-dma-crossbar.c | 34 +- 1 file changed, 29

[PATCH v2 2/2] dmaengine: ti-dma-crossbar: Add support for eDMA

2015-06-08 Thread Peter Ujfalusi
The crossbar for eDMA works exactly the same way as sDMA, but sDMA requires an offset of 1, while no offset is needed for eDMA. Based on the patch from Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Misael Lopez Cruz misael.lo...@ti.com --- drivers

[PATCH v2 1/2] dmaengine: ti-dma-crossbar: Make idr xbar instance-specific

2015-06-08 Thread Peter Ujfalusi
From: Misael Lopez Cruz misael.lo...@ti.com In preparation for supporting multiple DMA crossbar instances, make the idr xbar instance specific. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/ti-dma-crossbar.c | 9

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-06-04 Thread Peter Ujfalusi
Vinod, On 06/02/2015 03:55 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 05:32:50PM +0300, Peter Ujfalusi wrote: On 05/29/2015 01:18 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote: On Fri, May 29, 2015 at 11:33 AM, Vinod Koul vinod.k...@intel.com

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-06-22 Thread Peter Ujfalusi
On 06/12/2015 03:58 PM, Vinod Koul wrote: Sorry this slipped thru I was away for a week anyways ;) Thinking about it again, I think we should coverge to two APIs and mark the legacy depracuated and look to convert folks and phase that out Currently, w/o this series we have these APIs: /* to

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/26/2015 06:08 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150526 06:28]: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we received including -EPROBE_DEFER Signed-off-by: Peter Ujfalusi

Re: [PATCH 11/13] spi: omap2-mcspi: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
Mark, On 05/26/2015 06:27 PM, Mark Brown wrote: On Tue, May 26, 2015 at 04:26:06PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/26/2015 05:44 PM, Greg Kroah-Hartman wrote: On Tue, May 26, 2015 at 04:25:58PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we received including -EPROBE_DEFER I think you typed

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/27/2015 01:41 PM, Peter Ujfalusi wrote: On 05/26/2015 05:44 PM, Greg Kroah-Hartman wrote: On Tue, May 26, 2015 at 04:25:58PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Peter Ujfalusi
On 05/29/2015 01:18 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote: On Fri, May 29, 2015 at 11:33 AM, Vinod Koul vinod.k...@intel.com wrote: On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: dma_request_slave_channel_compat() 'eats' up

[PATCH - resend for 4.2-rc2] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-07-01 Thread Peter Ujfalusi
The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi Tony, as you have suggested: http://permalink.gmane.org/gmane.linux.ports.arm.omap/125999 the DTS

Re: [PATCH v2 0/2] dmaengine: ti-dma-crossbar: Support for eDMA

2015-07-01 Thread Peter Ujfalusi
Hi, On 06/08/2015 04:22 PM, Peter Ujfalusi wrote: Hi, Changes since v01: - Drop change in compatible for the crossbar driver and do the configuration based on the DT structure. The ti-dma-crossbar driver in it's current form can work when it is used with sDMA (omap-dma). On DRA7x

Re: [PATCH v2 0/2] dmaengine: ti-dma-crossbar: Support for eDMA

2015-07-03 Thread Peter Ujfalusi
On 07/02/2015 06:56 PM, Vinod Koul wrote: On Wed, Jul 01, 2015 at 03:41:26PM +0300, Peter Ujfalusi wrote: Hi, On 06/08/2015 04:22 PM, Peter Ujfalusi wrote: Hi, Changes since v01: - Drop change in compatible for the crossbar driver and do the configuration based on the DT structure

[PATCH v2 04/20] ARM: DTS: am43xx-epos-evm: Add gpio-hog for configuring the display/audio mux

2015-07-02 Thread Peter Ujfalusi
GPIO2_1 is used as a mux switch between LCD and HDMI displays. This mux affects audio routing as well since in LCD mode HDMI audio is not possible and when HDMI is selected analog audio is not working. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts

[PATCH v2 12/20] ARM: DTS: am437x-gp-evm: McASP1 node for audio support

2015-07-02 Thread Peter Ujfalusi
Add node for McASP1 along with the needed pinctrl entries. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts

Re: [PATCH 0/2] ARM: DTS: am437x-sk-evm: Use simple-card for audio support

2015-07-02 Thread Peter Ujfalusi
On 07/02/2015 03:10 PM, Felipe Balbi wrote: Hi, On Thu, Jul 02, 2015 at 02:58:04PM +0300, Peter Ujfalusi wrote: Hi, There is no reason to use the davinci-evm machine driver's compatible for audio support since the setup is simple and the common simple-audio-card can handle it just

[PATCH v2 13/20] ARM: DTS: am437x-gp-evm: Enable analog audio via simple-card

2015-07-02 Thread Peter Ujfalusi
The board uses McASP1 - tlv320aic3106 for analog audio and has Headphone out and Line in connectors. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 02/20] ARM: DTS: am437x-sk-evm: Add sleep pin settings for mcasp1

2015-07-02 Thread Peter Ujfalusi
When McASP is not in use the pins can be put to sleep mode to conserve power. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Tested-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am437x-sk-evm.dts | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm

[PATCH v2 03/20] ARM: DTS: am437x-sk-evm: Switch using simple-audio-card for audio support

2015-07-02 Thread Peter Ujfalusi
The sound support consist only Headset output on the board and can be handled by simple-audio-card. Also enable the Line-In route as the board has support for it. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Tested-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am437x-sk-evm.dts | 33

[PATCH v2 17/20] ARM: DTS: am335x-evm: Fix mcasp1 node's indentation

2015-07-02 Thread Peter Ujfalusi
The section had two tabs instead of one. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index

[PATCH v2 05/20] ARM: DTS: am43xx-epos-evm: Add regulator for VBAT and DCDC4 of tps65218

2015-07-02 Thread Peter Ujfalusi
The VBAT and DCDC4 regulator is needed for audio support (tlv320aic3111) Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts

[PATCH v2 14/20] ARM: DTS: am335x-evmsk: Fix mcasp1 node's indentation

2015-07-02 Thread Peter Ujfalusi
The section had two tabs instead of one. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x

[PATCH v2 01/20] ARM: omap2plus_defconfig: Enable audio related config options

2015-07-02 Thread Peter Ujfalusi
boards to use simple card. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index ac521e764d10..b001f7ae67f3 100644

[PATCH v2 15/20] ARM: DTS: am335x-evmsk: Add sleep pin settings for mcasp1

2015-07-02 Thread Peter Ujfalusi
When McASP is not in use the pins can be put to sleep mode to conserve power. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm

[PATCH v2 16/20] ARM: DTS: am335x-evmsk: Switch using simple-audio-card for audio support

2015-07-02 Thread Peter Ujfalusi
The sound support consist only Headset output on the board and can be handled by simple-audio-card Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/arch

[PATCH v2 11/20] ARM: DTS: am437x-gp-evm: Add node for tlv320aic3106 audio codec

2015-07-02 Thread Peter Ujfalusi
Analog audio is using this codec on the board. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index

[PATCH v2 10/20] ARM: DTS: am437x-gp-evm: Rename fixed regulator vmmcsd_fixed to evm_v3_3d

2015-07-02 Thread Peter Ujfalusi
The same regulator is used by other chips on the board. The power path is: VBAT - TPS63031 - Enable signal is V1_8D regulator - V3_3D. V3_3D is used by SD slot and tlv320aic3106 codec as well. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 6

[PATCH 2/2] ARM: DTS: am437x-sk-evm: Switch using simple-audio-card for audio support

2015-07-02 Thread Peter Ujfalusi
The sound support consist only Headset output on the board and can be handled by simple-audio-card Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-sk-evm.dts | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/arch

[PATCH v2 19/20] ARM: DTS: am335x-evm: Add sleep pin settings for mcasp1

2015-07-02 Thread Peter Ujfalusi
When McASP is not in use the pins can be put to sleep mode to conserve power. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot

[PATCH v2 08/20] ARM: DTS: am43xx-epos-evm: Enable analog audio via simple-card

2015-07-02 Thread Peter Ujfalusi
Use simple card for audio support on ePOS-EVM. The audio on the board is: McASP1 - tlv320aic3111 codec. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm

[PATCH v2 09/20] ARM: DTS: am437x-gp-evm: Add gpio-hog for configuring the display/audio mux

2015-07-02 Thread Peter Ujfalusi
GPIO5_8 is used as a mux switch between LCD and HDMI displays. This mux affects audio routing as well since in LCD mode HDMI audio is not possible and when HDMI is selected analog audio is not working. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts

[PATCH v2 18/20] ARM: DTS: am335x-evm: Rename pinctrl section for McASP1

2015-07-02 Thread Peter Ujfalusi
Use mcasp1_pins as name for the pinctrl section needed for McASP1 instead of the am335x_evm_audio_pins name. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am335x

[PATCH v2 07/20] ARM: DTS: am43xx-epos-evm: Add node for tlv320aic3111 audio codec

2015-07-02 Thread Peter Ujfalusi
Analog audio is using this codec on the board. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index

[PATCH v2 20/20] ARM: DTS: am335x-evm: Switch using simple-audio-card for audio support

2015-07-02 Thread Peter Ujfalusi
The sound support consist only Headset output on the board and can be handled by simple-audio-card Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 35 +-- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git

[PATCH v2 06/20] ARM: DTS: am43xx-epos-evm: McASP1 node for audio support

2015-07-02 Thread Peter Ujfalusi
Add node for McASP1 along with the needed pinctrl entries. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot

Re: [PATCH 2/2] ARM: DTS: am437x-sk-evm: Switch using simple-audio-card for audio support

2015-07-02 Thread Peter Ujfalusi
On 07/02/2015 03:23 PM, Felipe Balbi wrote: On Thu, Jul 02, 2015 at 02:58:06PM +0300, Peter Ujfalusi wrote: The sound support consist only Headset output on the board and can be handled by simple-audio-card Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Still works fine: Tested

[PATCH v2 00/20] ARM: DTS: am335x/am43xx: Audio support and fixes for audio

2015-07-02 Thread Peter Ujfalusi
-evmsk and am335x-evm: There is no reason to use the davinci-evm machine driver's compatible for audio support since the setup is simple and the common simple-audio-card can handle it just fine. am43xx-epos-evm, am437x-gp-evm: Add audio support via simple-card Regards, Peter --- Peter Ujfalusi (20

[PATCH 0/2] ARM: DTS: am437x-sk-evm: Use simple-card for audio support

2015-07-02 Thread Peter Ujfalusi
Hi, There is no reason to use the davinci-evm machine driver's compatible for audio support since the setup is simple and the common simple-audio-card can handle it just fine. Also add McASP1 sleep pin configuration. Regards, Peter --- Peter Ujfalusi (2): ARM: DTS: am437x-sk-evm: Add sleep pin

[PATCH 1/2] ARM: DTS: am437x-sk-evm: Add sleep pin settings for mcasp1

2015-07-02 Thread Peter Ujfalusi
When McASP is not in use the pins can be put to sleep mode to conserve power. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am437x-sk-evm.dts | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch

[PATCH 04/13] mmc: omap_hsmmc: No need to check DMA channel validity at module remove

2015-05-26 Thread Peter Ujfalusi
The driver will not probe without valid DMA channels so no need to check if they are valid when the module is removed. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/host/omap_hsmmc.c | 6 ++ 1 file changed, 2 insertions(+), 4

[PATCH 01/13] dmaengine: of_dma: Correct return code for of_dma_request_slave_channel in case !CONFIG_OF

2015-05-26 Thread Peter Ujfalusi
of_dma_request_slave_channel should return either pointer for valid dma_chan or ERR_PTR() error code, NULL is not expected to be returned. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Grant Likely grant.lik...@linaro.org CC: Rob Herring robh...@kernel.org --- include/linux/of_dma.h

[PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-26 Thread Peter Ujfalusi
in case dma_request_slave_channel_reason() returned with it. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/dmaengine.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index abf63ceabef9

[PATCH 05/13] mmc: omap_hsmmc: Support for deferred probing when requesting DMA channels

2015-05-26 Thread Peter Ujfalusi
Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we received including -EPROBE_DEFER Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Ulf Hansson ulf.hans...@linaro.org --- drivers/mmc/host/omap_hsmmc.c | 22

[PATCH 06/13] mmc: omap: Support for deferred probing when requesting DMA channels

2015-05-26 Thread Peter Ujfalusi
Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return from the probe with the -EPROBE_DEFER. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Ulf Hansson ulf.hans

[PATCH 00/13] dmaengine + omap drivers: support fro deferred probing

2015-05-26 Thread Peter Ujfalusi
deferred by missing regulator so 480b4000.mmc got registered first. In case 2 both deferring because of DMA and at the end 4809c000.mmc get registered first. So far I have not found a way to bind mmcblk0/1 to a specific node... Regards, Peter --- Peter Ujfalusi (13): dmaengine: of_dma: Correct

[PATCH 12/13] [media] omap3isp: Support for deferred probing when requesting DMA channel

2015-05-26 Thread Peter Ujfalusi
Switch to use ma_request_slave_channel_compat_reason() to request the DMA channel. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return from the probe with the -EPROBE_DEFER. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Laurent Pinchart

<    4   5   6   7   8   9   10   11   12   13   >