Re: [RFC 3/4] ASoC: Allow Aux Codecs to be specified using DT

2013-11-07 Thread Pavel Machek
Hi! So in (error) case of ! aux_dev-codec_of_node ! aux_dev-codec_name we match first possible codec? Given code similarity between this and the one above, should there be helper function that does the comparison (or even walks the list)? Something like this? soc_probe_aux_dev now looks

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Gururaja Hebbar
On Wednesday 06 November 2013 11:06 PM, Joel Fernandes wrote: Hi Vaibhav, On 10/31/2013 05:25 PM, Vaibhav Bedia wrote: Hi Daniel, On Wed, Oct 30, 2013 at 4:21 PM, Daniel Mack zon...@gmail.com wrote: [...] + +static SIMPLE_DEV_PM_OPS(edma_pm_ops, edma_pm_suspend, edma_pm_resume); +

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Daniel Mack
On 11/07/2013 02:30 PM, Gururaja Hebbar wrote: On Wednesday 06 November 2013 11:06 PM, Joel Fernandes wrote: Hi Vaibhav, On 10/31/2013 05:25 PM, Vaibhav Bedia wrote: Hi Daniel, On Wed, Oct 30, 2013 at 4:21 PM, Daniel Mack zon...@gmail.com wrote: [...] + +static

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Nishanth Menon
On 11/07/2013 07:32 AM, Daniel Mack wrote: On 11/07/2013 02:30 PM, Gururaja Hebbar wrote: On Wednesday 06 November 2013 11:06 PM, Joel Fernandes wrote: Hi Vaibhav, On 10/31/2013 05:25 PM, Vaibhav Bedia wrote: Hi Daniel, On Wed, Oct 30, 2013 at 4:21 PM, Daniel Mack zon...@gmail.com wrote:

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Nishanth Menon
On 10/30/2013 03:21 PM, Daniel Mack wrote: [...] diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 8e1a024..f15cdb9 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c [...] +static int edma_pm_suspend(struct device *dev) +{ + int j; + +

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Daniel Mack
On 11/07/2013 04:18 PM, Nishanth Menon wrote: Tested this on a vendor V3.12 tag based kernel: Test patch: http://pastebin.com/AmnktQ7B test: echo -n 1/sys/power/pm_print_times; rtcwake -d /dev/rtc0 -m mem -s 5 with the current patch: http://pastebin.com/RujarRLV suspend_late and

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Nishanth Menon
On 11/07/2013 09:36 AM, Daniel Mack wrote: On 11/07/2013 04:18 PM, Nishanth Menon wrote: Tested this on a vendor V3.12 tag based kernel: Test patch: http://pastebin.com/AmnktQ7B test: echo -n 1/sys/power/pm_print_times; rtcwake -d /dev/rtc0 -m mem -s 5 with the current patch:

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Grygorii Strashko
On 11/07/2013 05:34 PM, Nishanth Menon wrote: On 10/30/2013 03:21 PM, Daniel Mack wrote: [...] diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 8e1a024..f15cdb9 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c [...] +static int edma_pm_suspend(struct device

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Joel Fernandes
Hi Daniel, Thanks for your followup patch on this. It looks much better now using existing functions to save/restore the state. On 10/30/2013 03:21 PM, Daniel Mack wrote: This patch makes the edma driver resume correctly after suspend. Tested on an AM33xx platform with cyclic audio streams and

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Joel Fernandes
On 11/07/2013 10:34 AM, Joel Fernandes wrote: Hi Daniel, Thanks for your followup patch on this. It looks much better now using existing functions to save/restore the state. On 10/30/2013 03:21 PM, Daniel Mack wrote: This patch makes the edma driver resume correctly after suspend.

рассчитываете пребывать превосходнейшим полюбовником?

2013-11-07 Thread olenka_20yasko
Гарантированный путь встать наилучшим бойфрендом http://goo.gl/Y5IKnp

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Daniel Mack
Hi Joel, On 11/07/2013 05:34 PM, Joel Fernandes wrote: Thanks for your followup patch on this. It looks much better now using existing functions to save/restore the state. Yes, thanks for the suggesting it in the first place. On 10/30/2013 03:21 PM, Daniel Mack wrote: diff --git

Re: [PATCH v2] serial: omap: Add support for optional wake-up

2013-11-07 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: With the recent pinctrl-single changes, omaps can treat wake-up events from deeper idle states as interrupts. There's a separate io chain controller on most omaps that stays enabled when the device hits off-idle and the regular interrupt controller is

Re: [PATCH v2] serial: omap: Add support for optional wake-up

2013-11-07 Thread Tony Lindgren
* Kevin Hilman khil...@linaro.org [131107 10:53]: A bunch of DT boot failures on OMAP3 platforms with latest mainline were bisected down to this patch. Boot results here: http://lists.linaro.org/pipermail/kernel-build-reports/2013-November/000954.html This doesn't seem to properly handle

Re: [PATCH v2] serial: omap: Add support for optional wake-up

2013-11-07 Thread Olof Johansson
On Thu, Nov 7, 2013 at 11:45 AM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@linaro.org [131107 10:53]: A bunch of DT boot failures on OMAP3 platforms with latest mainline were bisected down to this patch. Boot results here:

Re: [PATCH v2] serial: omap: Add support for optional wake-up

2013-11-07 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [131107 11:48]: On Thu, Nov 7, 2013 at 11:45 AM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@linaro.org [131107 10:53]: A bunch of DT boot failures on OMAP3 platforms with latest mainline were bisected down to this patch. Boot results

Re: [PATCH v2] serial: omap: Add support for optional wake-up

2013-11-07 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: * Kevin Hilman khil...@linaro.org [131107 10:53]: A bunch of DT boot failures on OMAP3 platforms with latest mainline were bisected down to this patch. Boot results here: http://lists.linaro.org/pipermail/kernel-build-reports/2013-November/000954.html

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Vaibhav Bedia
Hi Joel, On Wed, Nov 6, 2013 at 12:36 PM, Joel Fernandes jo...@ti.com wrote: Hi Vaibhav, On 10/31/2013 05:25 PM, Vaibhav Bedia wrote: Hi Daniel, On Wed, Oct 30, 2013 at 4:21 PM, Daniel Mack zon...@gmail.com wrote: [...] + +static SIMPLE_DEV_PM_OPS(edma_pm_ops, edma_pm_suspend,

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Vaibhav Bedia
Hi Nishanth :) On Thu, Nov 7, 2013 at 10:48 AM, Nishanth Menon n...@ti.com wrote: On 11/07/2013 09:36 AM, Daniel Mack wrote: On 11/07/2013 04:18 PM, Nishanth Menon wrote: Tested this on a vendor V3.12 tag based kernel: Test patch: http://pastebin.com/AmnktQ7B test: echo -n

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Vaibhav Bedia
Hi Grygorii :) On Thu, Nov 7, 2013 at 11:27 AM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 11/07/2013 05:34 PM, Nishanth Menon wrote: On 10/30/2013 03:21 PM, Daniel Mack wrote: [...] diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 8e1a024..f15cdb9 100644 ---

[PATCH] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-07 Thread Nishanth Menon
as we suspended with. Reported-by: J Keerthy j-keer...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Rajendra Nayak rna...@ti.com --- patch baseline: V3.12 tag (also applies on linux-next next-20131107 tag) Logs from 3.12 based vendor kernel: Before: http://pastebin.com/m5KxnB7a

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Joel Fernandes
On 11/07/2013 11:37 AM, Daniel Mack wrote: [..] I know ti,edma-regions property is not currently being used, but we should future proof this by setting up DRAE for like done in probe: for (i = 0; i info[j]-n_region; i++) { edma_write_array2(j,

[PATCH v5] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Daniel Mack
This patch makes the edma driver resume correctly after suspend. Tested on an AM33xx platform with cyclic audio streams and omap_hsmmc. All information can be reconstructed by already known runtime information. As we now use some functions that were previously only used from __init context,

Re: [RFC PATCH 00/11] Embeddable Position Independent Executable

2013-11-07 Thread Kevin Hilman
On Tue, Sep 17, 2013 at 5:43 AM, Russ Dill russ.d...@ti.com wrote: This patch adds support for and demonstrates the usage of an embedded position independent executable (PIE). The goal is to allow the use of C code in situations where carefully written position independent assembly was

Re: [PATCH] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-07 Thread Kevin Hilman
disable_depth is 1). On resume, we restore the clocks and runtime status exactly as we suspended with. Reported-by: J Keerthy j-keer...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Rajendra Nayak rna...@ti.com --- patch baseline: V3.12 tag (also applies on linux-next next-20131107 tag

Re: [PATCH v5] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Kevin Hilman
Daniel Mack zon...@gmail.com writes: This patch makes the edma driver resume correctly after suspend. Tested on an AM33xx platform with cyclic audio streams and omap_hsmmc. All information can be reconstructed by already known runtime information. As we now use some functions that were

Re: [PATCH] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-07 Thread Nishanth Menon
-keer...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Rajendra Nayak rna...@ti.com --- patch baseline: V3.12 tag (also applies on linux-next next-20131107 tag) Logs from 3.12 based vendor kernel: Before: http://pastebin.com/m5KxnB7a After: http://pastebin.com/8AfX4e7r The discussion

[PATCH] doc: devicetree: Add bindings documentation for omap-des driver

2013-11-07 Thread Joel Fernandes
Add documentation for the generic OMAP DES crypto module describing the device tree bindings. Signed-off-by: Joel Fernandes jo...@ti.com --- .../devicetree/bindings/crypto/omap-des.txt| 28 ++ 1 file changed, 28 insertions(+) create mode 100644

Re: [PATCH] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-07 Thread Kevin Hilman
...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Rajendra Nayak rna...@ti.com --- patch baseline: V3.12 tag (also applies on linux-next next-20131107 tag) Logs from 3.12 based vendor kernel: Before: http://pastebin.com/m5KxnB7a After: http://pastebin.com/8AfX4e7r The discussion

Re: [PATCH] doc: devicetree: Add bindings documentation for omap-des driver

2013-11-07 Thread Santosh Shilimkar
On Thursday 07 November 2013 07:37 PM, Joel Fernandes wrote: Add documentation for the generic OMAP DES crypto module describing the device tree bindings. Signed-off-by: Joel Fernandes jo...@ti.com --- Thanks Joel for picking this up. FWIW, Acked-by: Santosh Shilimkar

[RESEND][PATCH] ARM: OMAP: devicetree: fix SPI node compatible property syntax items

2013-11-07 Thread Eric Witcher
Correct the SPI node compatible property items to match example code and match current DTS usage. Signed-off-by: Eric Witcher ewitc...@mindspring.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RESEND][PATCH] ARM: OMAP: devicetree: fix SPI node compatible property syntax items

2013-11-07 Thread Sourav Poddar
On Thursday 07 November 2013 07:15 PM, Eric Witcher wrote: Correct the SPI node compatible property items to match example code and match current DTS usage. Signed-off-by: Eric Witcherewitc...@mindspring.com --- Documentation/devicetree/bindings/spi/omap-spi.txt | 4 ++-- 1 file changed, 2

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Gururaja Hebbar
On Thursday 07 November 2013 11:07 PM, Daniel Mack wrote: Hi Joel, On 11/07/2013 05:34 PM, Joel Fernandes wrote: Thanks for your followup patch on this. It looks much better now using existing functions to save/restore the state. Yes, thanks for the suggesting it in the first place.

Re: [PATCH v5] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Joel Fernandes
Hi Kevin, On 11/07/2013 06:02 PM, Kevin Hilman wrote: Daniel Mack zon...@gmail.com writes: [..] +.resume_noirq = edma_pm_resume, +}; Also, I believe it was already suggested by Nishanth, but the late/early callbacks are probably more appropriate here than the noirq callbacks. Unless

[PATCH] ARM: dts: doc: Document missing compatible property for omap-sham driver

2013-11-07 Thread Lokesh Vutla
A new compatible property ti,omap5-sham is added to the omap-sham driver recently to support SHA/MD5 for OMAP5,DRA7 and AM43XX. Documenting the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- .../devicetree/bindings/crypto/omap-sham.txt |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v5] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Kevin Hilman
Hi Joel, On Thu, Nov 7, 2013 at 8:58 PM, Joel Fernandes jo...@ti.com wrote: On 11/07/2013 06:02 PM, Kevin Hilman wrote: Daniel Mack zon...@gmail.com writes: [..] +.resume_noirq = edma_pm_resume, +}; Also, I believe it was already suggested by Nishanth, but the late/early callbacks

Re: [PATCH v4] ARM: omap: edma: add suspend suspend/resume hooks

2013-11-07 Thread Daniel Mack
On 11/08/2013 05:07 AM, Gururaja Hebbar wrote: On Thursday 07 November 2013 11:07 PM, Daniel Mack wrote: I'm running long-time tests here on a device which has a mwifiex connected to omap_hsmmc. The test procedure includes: a) a script on the device that puts the device to sleep some seconds