Re: [PATCH 1a/3] watchdog: omap: clearify device tree documentation

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 10:20:50PM +0200, Uwe Kleine-König wrote: > ti,hwmods doesn't belong into the compatible section but is a property > on it's own. Also reformat the section of required properties to match the > usual style of dt binding documents. > > Signed-off-by: Uwe Kleine-König looks

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Suman Anna
Hi Jack, > On 24/04/15 19:34, Nishanth Menon wrote: >> On 04/24/2015 11:21 AM, Jack Mitchell wrote: >>> I've been fighting for a week with trying to get the IPU booted over >>> remoteproc on an OMAP4470. I feel like I've got most of the way there >> we do not have support for OMAP4470 on git.kerne

[PATCH 1a/3] watchdog: omap: clearify device tree documentation

2015-04-24 Thread Uwe Kleine-König
ti,hwmods doesn't belong into the compatible section but is a property on it's own. Also reformat the section of required properties to match the usual style of dt binding documents. Signed-off-by: Uwe Kleine-König --- Hello Felipe, what about this patch before the previously sent patch 1? Best

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On 04/24/2015 02:54 PM, Suman Anna wrote: > On 04/24/2015 02:38 PM, Nishanth Menon wrote: >> On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna wrote: >>> On 04/24/2015 01:33 PM, Nishanth Menon wrote: On 04/24/2015 12:54 PM, Suman Anna wrote: >> >> ... > -static struct l3_target_data omap_l3_tar

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
On 04/24/2015 02:38 PM, Nishanth Menon wrote: > On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna wrote: >> On 04/24/2015 01:33 PM, Nishanth Menon wrote: >>> On 04/24/2015 12:54 PM, Suman Anna wrote: > > ... -static struct l3_target_data omap_l3_target_data_clk3[] = { -{0x0100, "EMUSS",},

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus wrote on Fri [2015-Apr-24 22:49:33 +0300]: > Hi Benoit, > > On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: > > Sakari Ailus wrote on Thu [2015-Mar-26 00:57:36 > > +0200]: > > > Add lane-polarity property to endpoint nodes. This essentially tells that > > > the order

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Sakari Ailus
Hi Benoit, On Fri, Apr 24, 2015 at 02:41:00PM -0500, Benoit Parrot wrote: > Sakari Ailus wrote on Thu [2015-Mar-26 00:57:36 +0200]: > > Add lane-polarity property to endpoint nodes. This essentially tells that > > the order of the differential signal wires is inverted. > > > > Signed-off-by: Sak

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
On 24/04/15 19:34, Nishanth Menon wrote: On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are i

Re: [PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-04-24 Thread Benoit Parrot
Sakari Ailus wrote on Thu [2015-Mar-26 00:57:36 +0200]: > Add lane-polarity property to endpoint nodes. This essentially tells that > the order of the differential signal wires is inverted. > > Signed-off-by: Sakari Ailus > Acked-by: Laurent Pinchart > --- > Documentation/devicetree/bindings/m

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On Fri, Apr 24, 2015 at 2:10 PM, Suman Anna wrote: > On 04/24/2015 01:33 PM, Nishanth Menon wrote: >> On 04/24/2015 12:54 PM, Suman Anna wrote: ... >>> -static struct l3_target_data omap_l3_target_data_clk3[] = { >>> -{0x0100, "EMUSS",}, >>> -{0x0300, "DEBUG SOURCE",}, >>> -{0x0, "H

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
On 24/04/15 19:34, Nishanth Menon wrote: On 04/24/2015 11:21 AM, Jack Mitchell wrote: I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are i

Re: [PATCH 2/3] watchdog: omap: put struct watchdog_device into driver data

2015-04-24 Thread Uwe Kleine-König
Hello Felipe, On Fri, Apr 24, 2015 at 09:44:48AM -0500, Felipe Balbi wrote: > On Fri, Apr 24, 2015 at 11:48:32AM +0200, Uwe Kleine-König wrote: > > This way only a single allocation is needed (per device). Also this > > stops making use of watchdog_{set,get}_drvdata. > > And this is better becaus

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
On 04/24/2015 01:33 PM, Nishanth Menon wrote: > On 04/24/2015 12:54 PM, Suman Anna wrote: >> The L3 Error handling on OMAP5 for the most part is very similar >> to that of OMAP4, and had leveraged common data structures and >> register layout definitions so far. Upon closer inspection, there >> are

Re: [PATCH 1/3] watchdog: omap: use watchdog_init_timeout

2015-04-24 Thread Uwe Kleine-König
On Fri, Apr 24, 2015 at 09:42:59AM -0500, Felipe Balbi wrote: > Hi, > > On Fri, Apr 24, 2015 at 11:48:31AM +0200, Uwe Kleine-König wrote: > > Instead of (partly) open coding it use the core function. As a side > > effect the "timeout-sec" devicetree property is used now. > > > > Signed-off-by: Uw

Re: Enabling IPU on OMAP44xx

2015-04-24 Thread Nishanth Menon
On 04/24/2015 11:21 AM, Jack Mitchell wrote: > I've been fighting for a week with trying to get the IPU booted over > remoteproc on an OMAP4470. I feel like I've got most of the way there we do not have support for OMAP4470 on git.kernel.org. If you are interested in TI vendor kernel support, ple

Re: [PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Nishanth Menon
On 04/24/2015 12:54 PM, Suman Anna wrote: > The L3 Error handling on OMAP5 for the most part is very similar > to that of OMAP4, and had leveraged common data structures and > register layout definitions so far. Upon closer inspection, there > are a few minor differences causing an incorrect decodi

[PATCH] bus: omap_l3_noc: Fix master id address decoding for OMAP5

2015-04-24 Thread Suman Anna
The L3 Error handling on OMAP5 for the most part is very similar to that of OMAP4, and had leveraged common data structures and register layout definitions so far. Upon closer inspection, there are a few minor differences causing an incorrect decoding and reporting of the master NIU upon an error:

Enabling IPU on OMAP44xx

2015-04-24 Thread Jack Mitchell
I've been fighting for a week with trying to get the IPU booted over remoteproc on an OMAP4470. I feel like I've got most of the way there but I don't get a response from the first kick after boot. Has anyone ever had the IPU booted on mainline? Dmesg from remoteproce boot is as below: [ 47

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread Tony Lindgren
* Felipe Balbi [150424 09:14]: > On Thu, Apr 23, 2015 at 04:56:22PM -0700, Tony Lindgren wrote: > > We currently get all kinds of errors building the omap gpio driver > > as a module starting with: > > > > undefined reference to `omap2_gpio_resume_after_idle' > > undefined reference to `omap2_gpi

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread Felipe Balbi
On Thu, Apr 23, 2015 at 04:54:17PM -0700, Tony Lindgren wrote: > At some point with all the GPIO clean-up we've broken the > MPUIO interrupts. Those are just a little bit different from > the GPIO interrupts, so we can fix it up just by setting > different irqchip functions for it. And then we can

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread Felipe Balbi
On Thu, Apr 23, 2015 at 04:56:22PM -0700, Tony Lindgren wrote: > We currently get all kinds of errors building the omap gpio driver > as a module starting with: > > undefined reference to `omap2_gpio_resume_after_idle' > undefined reference to `omap2_gpio_prepare_for_idle' > ... > > Let's fix the

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread santosh shilimkar
On 4/23/2015 4:56 PM, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to `omap2_gpio_prepare_for_idle' ... Let's fix the issue by adding inline functions

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread santosh shilimkar
On 4/24/2015 7:41 AM, Rafael J. Wysocki wrote: On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: Most users of PM clocks do the exact same thing in runtime callbacks. Provide default callbacks and cleanup the existing users (keystone/davinci /omap1/sh) Rajendra Nayak (5): PM / cl

Re: [PATCH 3/5] arm: omap1: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS

2015-04-24 Thread Tony Lindgren
* Rajendra Nayak [150423 01:34]: > USE_PM_CLK_RUNTIME_OPS is introduced so we don't repeat the same code > to do runtime_suspend and runtime_resume across users of PM clocks. > Use it to remove the boilerplate code. > > Signed-off-by: Rajendra Nayak > Reviewed-by: Kevin Hilman > Acked-by: Santo

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread santosh shilimkar
On 4/23/2015 4:54 PM, Tony Lindgren wrote: At some point with all the GPIO clean-up we've broken the MPUIO interrupts. Those are just a little bit different from the GPIO interrupts, so we can fix it up just by setting different irqchip functions for it. And then we can just remove all old code t

Re: [PATCH] gpio: omap: Allow building as a loadable module

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/24/2015 02:56 AM, Tony Lindgren wrote: We currently get all kinds of errors building the omap gpio driver as a module starting with: undefined reference to `omap2_gpio_resume_after_idle' undefined reference to `omap2_gpio_prepare_for_idle' ... Let's fix the issue by adding inline function

Re: [PATCH] gpio: omap: Fix regression for MPUIO interrupts

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/24/2015 02:54 AM, Tony Lindgren wrote: At some point with all the GPIO clean-up we've broken the MPUIO interrupts. Those are just a little bit different from the GPIO interrupts, so we can fix it up just by setting different irqchip functions for it. And then we can just remove all old code

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Geert Uytterhoeven
On Fri, Apr 24, 2015 at 4:41 PM, Rafael J. Wysocki wrote: > On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: >> Most users of PM clocks do the exact same thing in runtime callbacks. >> Provide default callbacks and cleanup the existing users (keystone/davinci >> /omap1/sh) >> >> Rajen

Re: [PATCH 3/3] watchdog: omap: simplify assignment of bootstatus

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 11:48:33AM +0200, Uwe Kleine-König wrote: > Instead of using an over-long expression involving the ?: operator use > an if and intead of an else branch rely on the fact that the data > structure was allocated using devm_kzalloc. This also allows to put the > used helper vari

Re: [PATCH 2/3] watchdog: omap: put struct watchdog_device into driver data

2015-04-24 Thread Felipe Balbi
On Fri, Apr 24, 2015 at 11:48:32AM +0200, Uwe Kleine-König wrote: > This way only a single allocation is needed (per device). Also this > stops making use of watchdog_{set,get}_drvdata. And this is better because ... ? Nothing against it, just feels like this commit log needs a little more verbos

Re: [PATCH 1/3] watchdog: omap: use watchdog_init_timeout

2015-04-24 Thread Felipe Balbi
Hi, On Fri, Apr 24, 2015 at 11:48:31AM +0200, Uwe Kleine-König wrote: > Instead of (partly) open coding it use the core function. As a side > effect the "timeout-sec" devicetree property is used now. > > Signed-off-by: Uwe Kleine-König > --- > Documentation/devicetree/bindings/watchdog/omap-wdt

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Rafael J. Wysocki
On Thursday, April 23, 2015 02:03:08 PM Rajendra Nayak wrote: > Most users of PM clocks do the exact same thing in runtime callbacks. > Provide default callbacks and cleanup the existing users (keystone/davinci > /omap1/sh) > > Rajendra Nayak (5): > PM / clock_ops: Provide default runtime ops to

Re: [PATCH] mmc: core: add missing pm event in mmc_pm_notify to fix hib restore

2015-04-24 Thread grygorii.stras...@linaro.org
On 04/23/2015 04:19 PM, Ulf Hansson wrote: > On 23 April 2015 at 12:43, wrote: >> From: Grygorii Strashko >> >> The PM_RESTORE_PREPARE is not handled now in mmc_pm_notify(), >> as result mmc_rescan() could be scheduled and executed at >> late hibernation restore stages when MMC device is suspend

Re: [PATCH V2] drivers/rtc/rtc-ds1307.c: Enable the mcp794xx alarm after programming time

2015-04-24 Thread Alexandre Belloni
On 22/04/2015 at 19:04:52 -0500, Nishanth Menon wrote : > > I fully agree that your patch doesn't change the behaviour for the other > > cases you presented and further clean up is to be done in a separate set > > of patches. > > > Sure, Acked-by: Alexandre Belloni -- Alexandre Belloni, Free

Re: ARM errata 430973 on multi platform kernels

2015-04-24 Thread Matthijs van Duin
On 23 April 2015 at 12:25, Russell King - ARM Linux wrote: > And you can't detect whether you're running in secure mode or not. If not, you get an undefined instruction exception, which you could trap. This may not be convenient, but "can't detect" is an overstatement. Matthijs -- To unsubscrib

Re: [PATCH 0/5] PM / clock_ops: provide default runtime ops and cleanup users

2015-04-24 Thread Ulf Hansson
On 23 April 2015 at 10:33, Rajendra Nayak wrote: > Most users of PM clocks do the exact same thing in runtime callbacks. > Provide default callbacks and cleanup the existing users (keystone/davinci > /omap1/sh) > > Rajendra Nayak (5): > PM / clock_ops: Provide default runtime ops to users > ar