[PATCH 0/2 v5] Add AXS10X I2S PLL clock driver

2016-04-12 Thread Jose Abreu
The ARC SDP I2S clock can be programmed using a specific PLL. This patch series has the goal of adding a clock driver that programs this PLL. Changes v4 -> v5: * Documentation update (as suggested by Alexey Brodkin) * Changed compatible string to "snps,axs10x-i2s-pll-clock" (as suggested by

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

2016-04-12 Thread Jose Abreu
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 ideal to use a function which determines the PLL values given the desired ra

[PATCH 2/2 v5] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-04-12 Thread Jose Abreu
Add device tree bindings for AXS10X I2S PLL Clock driver. Signed-off-by: Jose Abreu --- This patch was only introduced in v5. arch/arc/boot/dts/axs10x_mb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi index ab5

[PATCH 1/2 v5] ASoC: dwc: Add custom PCM driver

2016-04-12 Thread Jose Abreu
HDMI audio support was added to the AXS board using an I2S cpu driver and a custom platform driver. The platform driver supports two channels @ 16 bits with rates 32k, 44.1k and 48k. Although the mainline I2S driver uses ALSA DMA engine, this controller can be built without DMA support so it was

[PATCH 0/2 v5] Add I2S/ADV7511 audio support for ARC AXS10x boards

2016-04-12 Thread Jose Abreu
Hi all, This is v5 of these patches. In this version I dropped the ADV7511 audio patch because, quoting Lars-Peter Clausen: "The reason why this driver is still out of tree, is because there has been no conclusion yet on how to go forward with the whole HDMI integration. So this is not going to ge

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

2016-04-12 Thread Jose Abreu
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 introduced in v4. Documentation/devicetree/bindings/sound/designware-i2s.txt | 9 +

Re: [PATCH] ARCv2: Additional trace IRQs to support locking correctness validator

2016-04-12 Thread Vineet Gupta
Hi Evgeny, On Wednesday 23 March 2016 02:56 PM, Evgeny Voevodin wrote: > Flags should be saved in the same format in which clri instruction saves > them since they are passed directly to seti instruction over > arch_local_save_flags/arch_local_irq_restore calls. > Trace of all clri/seti assembly c