[PATCH v8 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-16 Thread Noam Camus
From: Noam Camus Till now we used clockevent from generic ARC driver. This was enough as long as we worked with simple multicore SoC. When we are working with multithread SoC each HW thread can be scheduled to receive timer interrupt using timer mask register. This patch will provide a way to con

Re: [uclibc-ng-devel] [PATCH] ARC: string: handle gcc 6.x macro changes

2016-11-16 Thread Waldemar Brodkorb
Hi Vineet, Vineet Gupta wrote, > In gcc 6.x cleanup, the macros got renamed. > (Need to support the old toggle for some more time) Applied and pushed, thx Waldemar ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.inf

Re: [PATCH 4/4] Update device tree Synopsys DW DMAC documentation

2016-11-16 Thread Rob Herring
On Wed, Nov 16, 2016 at 12:08 PM, Andy Shevchenko wrote: > On Wed, 2016-11-16 at 17:01 +, Eugeniy Paltsev wrote: >> On Wed, 2016-11-16 at 17:10 +0200, Andy Shevchenko wrote: >> > Overall, since we are going to expose some properties to the Device >> > Tree >> > I would really think twice about

Re: [PATCH 4/4] Update device tree Synopsys DW DMAC documentation

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 17:01 +, Eugeniy Paltsev wrote: > On Wed, 2016-11-16 at 17:10 +0200, Andy Shevchenko wrote: > > Overall, since we are going to expose some properties to the Device > > Tree > > I would really think twice about naming. Better if we reuse > > something > > existing already.

Re: [PATCH 4/4] Update device tree Synopsys DW DMAC documentation

2016-11-16 Thread Eugeniy Paltsev
Hi Andy, On Wed, 2016-11-16 at 17:10 +0200, Andy Shevchenko wrote: > Overall, since we are going to expose some properties to the Device > Tree > I would really think twice about naming. Better if we reuse something > existing already. > > So, what I can see is > > dmacap,private > dmacap,memcpy

Re: [PATCH 0/4] DW DMAC: update device tree

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 16:56 +0300, Eugeniy Paltsev wrote: > It wasn't possible to enable some features like > memory-to-memory transfers or multi block transfers via DT. > It is fixed by these patches. > >  * Rename is_private to is-private as ordered by DT policy. >  (just for cleanup) The change

Re: [PATCH 3/4] DW DMAC: add hw-llp property to device tree

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 16:56 +0300, Eugeniy Paltsev wrote: > Several versions of DW DMAC have multi block transfers hardware > support. Hardware support of multi block transfers is disabled > by default if we use DT to configure DMAC and software emulation > of multi block transfers used instead. >

Re: [PATCH 2/4] DW DMAC: add is-memcpu property to device tree

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 16:56 +0300, Eugeniy Paltsev wrote: > Memory-to-memory dma transfers were disabled by default if we > used DT to cofigure DMAC. > Add is-memcpu property, so it became possible to enable > memory-to-memory transfers support via DT. Fix "memcpu" to "memcpy" everywhere you use i

Re: [PATCH 1/4] DW DMAC: rename is_private property as ordered by DT policy

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 16:56 +0300, Eugeniy Paltsev wrote: > Rename is_private to is-private as ordered by DT policy. > The change leaves the support for the old format. > > Signed-off-by: Eugeniy Paltsev > --- >  drivers/dma/dw/platform.c | 2 ++ >  1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH 4/4] Update device tree Synopsys DW DMAC documentation

2016-11-16 Thread Andy Shevchenko
On Wed, 2016-11-16 at 16:56 +0300, Eugeniy Paltsev wrote: >  * Rename is_private to is-private as ordered by DT policy. >  The change leaves the support for the old format. > >  * Add is-memcpu property, so it is possible to >  enable memory-to-memory transfers support via DT. > >  * Add hw-llp p

[PATCH 3/4] DW DMAC: add hw-llp property to device tree

2016-11-16 Thread Eugeniy Paltsev
Several versions of DW DMAC have multi block transfers hardware support. Hardware support of multi block transfers is disabled by default if we use DT to configure DMAC and software emulation of multi block transfers used instead. Add hw-llp property, so it is possible to enable hardware multi bloc

[PATCH 4/4] Update device tree Synopsys DW DMAC documentation

2016-11-16 Thread Eugeniy Paltsev
* Rename is_private to is-private as ordered by DT policy. The change leaves the support for the old format. * Add is-memcpu property, so it is possible to enable memory-to-memory transfers support via DT. * Add hw-llp property, so it is possible to enable hardware multi block transfers sup

[PATCH 0/4] DW DMAC: update device tree

2016-11-16 Thread Eugeniy Paltsev
It wasn't possible to enable some features like memory-to-memory transfers or multi block transfers via DT. It is fixed by these patches. * Rename is_private to is-private as ordered by DT policy. (just for cleanup) The change leaves the support for the old format. * Add is-memcpu property,

[PATCH 2/4] DW DMAC: add is-memcpu property to device tree

2016-11-16 Thread Eugeniy Paltsev
Memory-to-memory dma transfers were disabled by default if we used DT to cofigure DMAC. Add is-memcpu property, so it became possible to enable memory-to-memory transfers support via DT. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/platform.c | 3 +++ 1 file changed, 3 insertions(+) diff -

[PATCH 1/4] DW DMAC: rename is_private property as ordered by DT policy

2016-11-16 Thread Eugeniy Paltsev
Rename is_private to is-private as ordered by DT policy. The change leaves the support for the old format. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/platform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c index 5bda0eb..4103f