Re: Calling irq_set_irq_wake() from .set_irq_wake()?

2015-06-04 Thread Roger Quadros
Hi, On Wed, 3 Jun 2015 22:52:47 +0300 Grygorii Strashko grygorii.stras...@ti.com wrote: Hi Geert, On 05/19/2015 12:38 PM, Geert Uytterhoeven wrote: On Mon, May 18, 2015 at 4:52 PM, grygorii.stras...@linaro.org grygorii.stras...@linaro.org wrote: On 05/18/2015 05:31 PM, Thomas Gleixner

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [150604 13:41]: On Thu, Jun 04, 2015 at 10:32:40PM +0200, Mason wrote: On 04/06/2015 22:08, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD

Re: [PATCH 3/5] clk: ti: Use of_clk_get_parent_count() instead of open coding

2015-06-04 Thread Stephen Boyd
On 05/29, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/5] clk: at91: Use of_clk_get_parent_count() instead of open coding

2015-06-04 Thread Stephen Boyd
On 05/29, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 2/5] clk: st: Use of_clk_get_parent_count() instead of open coding

2015-06-04 Thread Stephen Boyd
On 05/29, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Mason
On 04/06/2015 22:37, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 10:32:40PM +0200, Mason wrote: On 04/06/2015 22:08, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set

Re: [PATCH 05/12] ARM: OMAP2+: Add support for initializing dm814x clocks

2015-06-04 Thread Tony Lindgren
* Stephen Boyd sb...@codeaurora.org [150604 11:44]: On 06/03, Tony Lindgren wrote: diff --git a/drivers/clk/ti/clk-814x.c b/drivers/clk/ti/clk-814x.c new file mode 100644 index 000..bd2353c --- /dev/null +++ b/drivers/clk/ti/clk-814x.c @@ -0,0 +1,36 @@ +/* + * This program is

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Felipe Balbi
On Thu, Jun 04, 2015 at 10:32:40PM +0200, Mason wrote: On 04/06/2015 22:08, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set to periodic mode, with hrtimers

Re: [PATCH v2 1/2] clk: change clk_ops' -round_rate() prototype

2015-06-04 Thread Paul Walmsley
Hi folks just a brief comment on this one: On Thu, 30 Apr 2015, Boris Brezillon wrote: Clock rates are stored in an unsigned long field, but -round_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using negative error codes), which can lead

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Stephen Boyd
On 06/04, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 03:18:25PM -0500, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 03:08:50PM -0500, Felipe Balbi wrote: Hi, On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't

[PATCH 2/3] ARM: dts: configure regulators for Gumstix Pepper

2015-06-04 Thread Arun Bharadwaj
From: Adam YH Lee adam.yh@gmail.com Boot process is halting in midway because some of the necessary voltage regulators are deemed unused and subsequently powered off, leading to a completely unresponsive system. Most of the device nodes had correct voltage regulator attachments. Yet these

Re: [PATCH 5/5] [RFC] ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding

2015-06-04 Thread Stephen Boyd
On 06/04, Geert Uytterhoeven wrote: Hi Stephen, On Thu, Jun 4, 2015 at 1:44 AM, Stephen Boyd sb...@codeaurora.org wrote: On 05/29, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be #include linux/err.h #include linux/interrupt.h #include

[PATCH 3/3] ARM: dts: Fix frequency scaling on Gumstix Pepper.

2015-06-04 Thread Arun Bharadwaj
The device tree for Gumstix Pepper has DCDC2 and DCDC3 correctly labelled but the upper limit values are wrong. The confusion is due to the hardware quirk where the DCDC2 and DCDC3 wires are flipped in Pepper. Signed-off-by: Arun Bharadwaj a...@gumstix.com --- arch/arm/boot/dts/am335x-pepper.dts

[PATCH 1/3] ARM: dts: Correct audio input route set mic bias

2015-06-04 Thread Arun Bharadwaj
From: Adam YH Lee adam.yh@gmail.com Audio-in was incorrectly routed to Line In. It should be Mic3L as per schematic. Using mic-bias voltage at 2.0v (0x1) does not work for some reason. There is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (0x2) works. I see voltage of 2.475v

Re: next-20150604 build: 2 failures 37 warnings (next-20150604)

2015-06-04 Thread Tony Lindgren
* Mark Brown broo...@kernel.org [150604 10:03]: On Thu, Jun 04, 2015 at 05:47:05PM +0100, Build bot for Mark Brown wrote: arm-allmodconfig ../drivers/tty/serial/8250/8250_omap.c:586:20: error: redefinition of 'omap8250_irq' Current -next fails to build an ARM allmodconfig (and

Re: next-20150604 build: 2 failures 37 warnings (next-20150604)

2015-06-04 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [150604 10:11]: * Mark Brown broo...@kernel.org [150604 10:03]: On Thu, Jun 04, 2015 at 05:47:05PM +0100, Build bot for Mark Brown wrote: arm-allmodconfig ../drivers/tty/serial/8250/8250_omap.c:586:20: error: redefinition of 'omap8250_irq'

Re: next-20150604 build: 2 failures 37 warnings (next-20150604)

2015-06-04 Thread Mark Brown
On Thu, Jun 04, 2015 at 10:20:26AM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150604 10:11]: Sounds like I'm using an old commit in one of my pending branches, will check immediately. Greg, there's now commit 9809889c708e in tty-linus and commit 9e91597f2423 in

[PATCH 0/3] ARM: dts: Changes for Gumstix Pepper dts

2015-06-04 Thread Arun Bharadwaj
These 3 patches are included to fix the following issues with pepper device tree source. The patches are based against linux-omap/master. Adam YH Lee (2): ARM: dts: Correct audio input route set mic bias ARM: dts: configure regulators for Gumstix Pepper Arun Bharadwaj (1): ARM: dts: Fix

Re: [PATCH 05/12] ARM: OMAP2+: Add support for initializing dm814x clocks

2015-06-04 Thread Stephen Boyd
On 06/03, Tony Lindgren wrote: diff --git a/drivers/clk/ti/clk-814x.c b/drivers/clk/ti/clk-814x.c new file mode 100644 index 000..bd2353c --- /dev/null +++ b/drivers/clk/ti/clk-814x.c @@ -0,0 +1,36 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Felipe Balbi
On Thu, Jun 04, 2015 at 03:18:25PM -0500, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 03:08:50PM -0500, Felipe Balbi wrote: Hi, On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Mason
On 04/06/2015 22:08, Felipe Balbi wrote: On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set to periodic mode, with hrtimers disabled. Did you manage to turn global timer into Broadcast

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: next-20150604 build: 2 failures 37 warnings (next-20150604)

2015-06-04 Thread Mark Brown
On Thu, Jun 04, 2015 at 05:47:05PM +0100, Build bot for Mark Brown wrote: arm-allmodconfig ../drivers/tty/serial/8250/8250_omap.c:586:20: error: redefinition of 'omap8250_irq' Current -next fails to build an ARM allmodconfig (and possibly other things) due to 9e91597f24234 and

Re: [RFT v2 05/48] gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-06-04 Thread Javier Martinez Canillas
Hello Jiang, On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu jiang@linux.intel.com wrote: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Linus Walleij

Re: [RFT v2 45/48] genirq, gpio: Kill the first parameter 'irq' of irq_flow_handler_t

2015-06-04 Thread Javier Martinez Canillas
Hello Jiang, On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu jiang@linux.intel.com wrote: Now most IRQ flow handlers make no use of the first parameter 'irq'. And for those who do make use of 'irq', we could easily get the irq number through irq_desc-irq_data-irq. So kill the first parameter

Re: [PATCH v3] clk: change clk_ops' -determine_rate() prototype

2015-06-04 Thread Boris Brezillon
Hi Stefen, On Wed, 3 Jun 2015 16:37:28 -0700 Stephen Boyd sb...@codeaurora.org wrote: On 05/20, Boris Brezillon wrote: Clock rates are stored in an unsigned long field, but -determine_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported

Re: [PATCHv4 10/10] arm/dts: am57xx-beagle-x15.dts: add HDMI

2015-06-04 Thread Tomi Valkeinen
On 03/06/15 20:16, Tony Lindgren wrote: OK, since there are no other merge conflicts that I'm aware of, it's best that you merge the whole branch. I've acked the patches, so for this one too: Ok, I can do that, but isn't this more linux-arm stuff? All the driver side code is already in

Re: [PATCH 5/5] [RFC] ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding

2015-06-04 Thread Geert Uytterhoeven
Hi Stephen, On Thu, Jun 4, 2015 at 1:44 AM, Stephen Boyd sb...@codeaurora.org wrote: On 05/29, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- This is an RFC, as it depends on [RFC] clk: Provide dummy of_clk_get_parent_count() for !OF/!CCF. ---

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Mason
On 03/06/2015 23:54, Felipe Balbi wrote: On Wed, Jun 03, 2015 at 02:41:39PM -0700, Stephen Boyd wrote: AM43xx, even though it's a single processor A9, it still has TWD and global timer. I was doing some profiling with RT v4.0 and latency is 3.5x lower just by switching from gptimer to

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Felipe Balbi
On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: On 03/06/2015 23:54, Felipe Balbi wrote: On Wed, Jun 03, 2015 at 02:41:39PM -0700, Stephen Boyd wrote: AM43xx, even though it's a single processor A9, it still has TWD and global timer. I was doing some profiling with RT v4.0 and

Re: [RFT v2 45/48] genirq, gpio: Kill the first parameter 'irq' of irq_flow_handler_t

2015-06-04 Thread Linus Walleij
On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu jiang@linux.intel.com wrote: Now most IRQ flow handlers make no use of the first parameter 'irq'. And for those who do make use of 'irq', we could easily get the irq number through irq_desc-irq_data-irq. So kill the first parameter 'irq' of

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Felipe Balbi
Hi, On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set to periodic mode, with hrtimers disabled. Did you manage to turn global timer into Broadcast device ? -- balbi signature.asc

Re: [RFC/NOT FOR MERGING] HACK: add global/private timers for A9

2015-06-04 Thread Felipe Balbi
On Thu, Jun 04, 2015 at 03:08:50PM -0500, Felipe Balbi wrote: Hi, On Thu, Jun 04, 2015 at 11:46:59AM +0200, Mason wrote: Also, check /proc/timer_list for a Broadcast device. If you don't define one, the TWD timers are set to periodic mode, with hrtimers disabled. Did you manage to