[PATCH V3 00/29] bitops: add parity functions

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng When I do "grep parity -r linux", I found many parity calculations distributed in many drivers. This patch series does: 1. provide generic and architecture-specific parity calculations 2. remove drivers' local parity calculations, use bitops' parity functions instead

[PATCH V3 00/29] bitops: add parity functions

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng When I do "grep parity -r linux", I found many parity calculations distributed in many drivers. This patch series does: 1. provide generic and architecture-specific parity calculations 2. remove drivers' local parity calculations, use bitops' parity functions instead

[PATCH V3 02/29] Include generic parity.h in some architectures' bitops.h

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/arc/include/asm/bitops.h | 1 + arch/arm/include/asm/bitops.h | 1 + arch/arm64/include/asm/bitops.h| 1 + arch/avr32/include/asm/bitops.h| 1 + arch/c6x/include/asm/bitops.h | 1 + arch/cris/include/asm/bitops.h

Re: [PATCH 2/2 v5] ASoC: dwc: Update DOCUMENTATION for I2S Driver

2016-04-13 Thread Rob Herring
On Tue, Apr 12, 2016 at 01:56:28PM +0100, Jose Abreu wrote: > This patch updates documentation for the Designware I2S > driver. > > Signed-off-by: Jose Abreu > --- > > Changes v4 -> v5: > * interrupts is now required property > * Drop 'snps-use-dmaengine' property > > This patch was only introd

Re: [PATCH 1/2 v5] clk/axs10x: Add I2S PLL clock driver

2016-04-13 Thread Rob Herring
On Tue, Apr 12, 2016 at 10:14:22AM +0100, Jose Abreu wrote: > The ARC SDP I2S clock can be programmed using a > specific PLL. > > This patch has the goal of adding a clock driver > that programs this PLL. > > At this moment the rate values are hardcoded in > a table but in the future it would be

Re: [PATCH v4 2/5] ARC: clocksource: DT based probe

2016-04-13 Thread Marc Zyngier
On 13/04/16 12:40, Vineet Gupta wrote: > - Remove explicit clocksource setup and let it be done by OF framework > by defining CLOCKSOURCE_OF_DECLARE() for various timers > > - This allows multiple clocksources to be potentially registered > simultaneouly: previously we could only do one - as a

Re: [PATCH v4 1/5] ARC: clockevent: DT based probe

2016-04-13 Thread Daniel Lezcano
On Wed, Apr 13, 2016 at 05:10:01PM +0530, Vineet Gupta wrote: > - timer frequency is derived from DT (no longer rely on top level >DT "clock-frequency" probed early and exported by asm/clk.h) > > - TIMER0_IRQ need not be exported across arch code, confined to intc as >it is property of s

[PATCH v4 5/5] ARC: [intc-*] switch to linear domain

2016-04-13 Thread Vineet Gupta
Now that we have Timers probed from DT, don't need legacy domain This however requires mapping to be called explicitly for the IRQ which still can't (and probably never) be probed from DT such as IPI and SOFTIRQ Signed-off-by: Vineet Gupta --- arch/arc/kernel/intc-arcv2.c | 8 ++-- arch/a

[PATCH v4 1/5] ARC: clockevent: DT based probe

2016-04-13 Thread Vineet Gupta
- timer frequency is derived from DT (no longer rely on top level DT "clock-frequency" probed early and exported by asm/clk.h) - TIMER0_IRQ need not be exported across arch code, confined to intc as it is property of same Cc: Daniel Lezcano Signed-off-by: Vineet Gupta --- arch/arc/incl

[PATCH v4 2/5] ARC: clocksource: DT based probe

2016-04-13 Thread Vineet Gupta
- Remove explicit clocksource setup and let it be done by OF framework by defining CLOCKSOURCE_OF_DECLARE() for various timers - This allows multiple clocksources to be potentially registered simultaneouly: previously we could only do one - as all of them had same arc_counter_setup() routine

[PATCH v4 4/5] ARC: [intc-*] Do a domain lookup in primary handler for hwirq -> linux virq

2016-04-13 Thread Vineet Gupta
The primary interrupt handler arch_do_IRQ() was passing hwirq as linux virq to core code. This was fragile and worked so far as we only had legacy/linear domains. This came out of a rant by Marc Zyngier. http://lists.infradead.org/pipermail/linux-snps-arc/2015-December/000298.html Cc: Marc Zyngi

[PATCH v4 0/5] Modernize ARC clocksource/clockevent/intc drivers

2016-04-13 Thread Vineet Gupta
Hi, This is a partial repost of a series [1] which improves the ARC clock* drivers. I've also included the patches to switch the core intc from legacy to linear domains (as suggested by Marc Z a while back). These are stepping stones for eventual landing into driver/* Please review ! Thx, -Vine

[PATCH v4 3/5] ARC: irq: export some IRQs again

2016-04-13 Thread Vineet Gupta
This will be needed for switching ti lineaser irq domain as irq_create_mapping() called by intr code, needs the IRQ numbers as well in addition to existing usage in mcip.c Signed-off-by: Vineet Gupta --- arch/arc/include/asm/irq.h | 6 ++ arch/arc/kernel/mcip.c | 3 --- 2 files changed,