Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
Felipe, On 22/01/15 22:29, Felipe Balbi wrote: > On Thu, Jan 22, 2015 at 04:57:56PM +0200, Roger Quadros wrote: >> >> On 22/01/15 15:32, Roger Quadros wrote: >>> Felipe, >>> >>> On 20/01/15 21:02, Felipe Balbi wrote: On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: > Hi, >>>

Re: [PATCH v12 4/6] clk: Add rate constraints to clocks

2015-01-22 Thread Stephen Boyd
On 01/22, Tomeu Vizoso wrote: > Adds a way for clock consumers to set maximum and minimum rates. This > can be used for thermal drivers to set minimum rates, or by misc. > drivers to set maximum rates to assure a minimum performance level. > > Changes the signature of the determine_rate callback b

Re: [PATCH v12 3/6] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Stephen Boyd
On 01/22, Tomeu Vizoso wrote: > Moves clock state to struct clk_core, but takes care to change as little API > as > possible. > > struct clk_hw still has a pointer to a struct clk, which is the > implementation's per-user clk instance, for backwards compatibility. > > The struct clk that clk_get

Re: [PATCH v3 0/2] couple of generic remoteproc enhancements

2015-01-22 Thread Suman Anna
Hi Ohad, On 01/09/2015 03:21 PM, Suman Anna wrote: > Hi Ohad, > > The following is an updated patchset addressing the previous pending comments > from v1 & v2, and are rebased onto the latest 3.19-rc3 (are rc independent > actually). > > The patches are mainly developed to support the WkupM3 re

Re: [RFC PATCH 1/3] of/device: manage resources similar to platform_device_add

2015-01-22 Thread Suman Anna
Hi Grant, On 01/13/2015 05:04 PM, Suman Anna wrote: > On 01/13/2015 04:00 PM, Rob Herring wrote: >> On Tue, Jan 13, 2015 at 3:25 PM, Suman Anna wrote: >>> Hi Rob, >>> >>> On 01/13/2015 02:38 PM, Rob Herring wrote: On Wed, Jan 7, 2015 at 11:30 AM, Suman Anna wrote: > Drivers can use of_p

Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it "disabled"

2015-01-22 Thread Tony Lindgren
* Marek Belisko [150122 12:42]: > From: NeilBrown > > Signed-off-by: NeilBrown > --- > arch/arm/boot/dts/omap3-gta04.dtsi | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi > b/arch/arm/boot/dts/omap3-gta04.dtsi > index 228e79b..8d2b0a1 100644 > -

Re: [PATCH 06/13] ARM: dts: omap3-gta04: Enable power-off using twl4030

2015-01-22 Thread Tony Lindgren
* Marek Belisko [150122 12:42]: > From: "H. Nikolaus Schaller" > > Enabled poweroff through PMIC on GTA04. > > Signed-off-by: H. Nikolaus Schaller > --- > arch/arm/boot/dts/omap3-gta04.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi > b/

[PATCH 06/13] ARM: dts: omap3-gta04: Enable power-off using twl4030

2015-01-22 Thread Marek Belisko
From: "H. Nikolaus Schaller" Enabled poweroff through PMIC on GTA04. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 0265474..b56c8

[PATCH 03/13] ARM: dts: omap3-gta04: Enable mcbps2 necessary for audio

2015-01-22 Thread Marek Belisko
From: "H. Nikolaus Schaller" mcbsp2 is used in gta04 soundcard config and by default is disabled so enable it for gta04. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch

[PATCH 00/13] ARM: dts: omap3-gta04: Various DT fixes

2015-01-22 Thread Marek Belisko
This series contains fixes for gta04 devicetree. I collected patches from H. Nikolaus Schaller + NeilBrown and myself. Patches contains mostly fixes + adding new nodes and comments. All changes tested on gta04a4 board. H. Nikolaus Schaller (5): ARM: dts: omap3-gta04: Fix backup-battery charging

[PATCH 05/13] ARM: dts: omap3-gta04: Fix a GPIO line for bma180 node

2015-01-22 Thread Marek Belisko
GPIO_115 used as irq is in &gpio4, not &gpio3. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index fd6ac80..0265474 100644 --- a/arch

[PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it "disabled"

2015-01-22 Thread Marek Belisko
From: NeilBrown Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 228e79b..8d2b0a1 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/

[PATCH 07/13] ARM: dts: omap3-gta04: Add ramp value for twl4030 audio

2015-01-22 Thread Marek Belisko
Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index b56c85b..6f5fcbb 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta

[PATCH 01/13] ARM: dts: omap3-gta04: Fix backup-battery charging in devicetree file.

2015-01-22 Thread Marek Belisko
From: "H. Nikolaus Schaller" Fix attribute names. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 655d6e9..fa39232 1

[PATCH 08/13] ARM: dts: omap3-gta04: add comments about gpios

2015-01-22 Thread Marek Belisko
From: NeilBrown Add comments to state which GPIO is used for some interrupts. Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 02/13] ARM: dts: omap3-gta04: Fix audio node malformatting

2015-01-22 Thread Marek Belisko
From: "H. Nikolaus Schaller" Audio should be child of twl node. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index

[PATCH 09/13] ARM: dts: omap3-gta04: enable power-off for wifi card.

2015-01-22 Thread Marek Belisko
From: NeilBrown Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index b65b5ed..ab5dd98 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot

[PATCH 04/13] ARM: dts: omap3-gta04: Enable twl audio vibra support

2015-01-22 Thread Marek Belisko
From: "H. Nikolaus Schaller" Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index 7272591..fd6ac80 100644 --- a/arch/arm/boot/dts/omap3-gta04.

[PATCH 11/13] ARM: dts: omap3-gta04: only power DSS when necessary.

2015-01-22 Thread Marek Belisko
From: NeilBrown i.e. configure vpll2 as a supply for the dss rather than being always-on. Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04

[PATCH 13/13] ARM: dts: omap3-gta04: Disable keypad

2015-01-22 Thread Marek Belisko
From: NeilBrown The twl4030 keypad is not wired up in the gta04, so mark it disabled to avoid pointless initialization. Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dt

[PATCH 10/13] ARM: dts: omap3-gta04: add gyroscope

2015-01-22 Thread Marek Belisko
From: NeilBrown Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index ab5dd98..08f0b25 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Felipe Balbi
On Thu, Jan 22, 2015 at 04:57:56PM +0200, Roger Quadros wrote: > > On 22/01/15 15:32, Roger Quadros wrote: > > Felipe, > > > > On 20/01/15 21:02, Felipe Balbi wrote: > >> On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: > >>> Hi, > >>> > >>> On DRA7 EVMs the USB ID pin is connected

Re: [PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Stephen Boyd
On 01/22, Tomeu Vizoso wrote: > On 01/22/2015 02:01 AM, Stephen Boyd wrote: > > BTW, please try and fixup checkpatch warnings. > > What were you thinking of specifically? I'm running it with > --max-line-length=106 and the other warnings are in clk-test.c that I > still have to polish when I get s

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-01-22 Thread Mark Rutland
On Wed, Jan 21, 2015 at 05:56:37PM +, Suman Anna wrote: > On 01/21/2015 06:41 AM, Ohad Ben-Cohen wrote: > > On Tue, Jan 20, 2015 at 8:05 PM, Tony Lindgren wrote: > >> How about default to Linux id space and allow overriding that with > >> a module param option if needed? > > > > I'm not sure

[PATCH v12 3/6] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller, bu

[PATCH v12 4/6] clk: Add rate constraints to clocks

2015-01-22 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set minimum rates, or by misc. drivers to set maximum rates to assure a minimum performance level. Changes the signature of the determine_rate callback by adding the parameters min_rate and max

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
On 22/01/15 15:32, Roger Quadros wrote: > Felipe, > > On 20/01/15 21:02, Felipe Balbi wrote: >> On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: >>> Hi, >>> >>> On DRA7 EVMs the USB ID pin is connected to a GPIO line. The USB drivers >>> (dwc3 + dwc3-omap) depend on extcon framework

Re: [PATCH v11 3/4] clk: Add rate constraints to clocks

2015-01-22 Thread Tomeu Vizoso
On 01/22/2015 02:46 AM, Stephen Boyd wrote: > On 01/21, Tomeu Vizoso wrote: >> Adds a way for clock consumers to set maximum and minimum rates. This >> can be used for thermal drivers to set minimum rates, or by misc. >> drivers to set maximum rates to assure a minimum performance level. >> >> Chan

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
Felipe, On 20/01/15 21:02, Felipe Balbi wrote: > On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: >> Hi, >> >> On DRA7 EVMs the USB ID pin is connected to a GPIO line. The USB drivers >> (dwc3 + dwc3-omap) depend on extcon framework to get the USB cable state >> (USB or USB-Host) to

Re: [PATCH 1/5] extcon: gpio-usb: Introduce gpio usb extcon driver

2015-01-22 Thread Roger Quadros
Hi Chanwoo, On 21/01/15 07:28, Chanwoo Choi wrote: > Hi Roger, > > On 01/20/2015 02:52 AM, Roger Quadros wrote: >> This driver observes the USB ID pin connected over a GPIO and >> updates the USB cable extcon states accordingly. >> >> The existing GPIO extcon driver is not suitable for this purpo

Re: [PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Tomeu Vizoso
On 01/22/2015 02:01 AM, Stephen Boyd wrote: > On 01/21, Tomeu Vizoso wrote: >> @@ -2075,10 +2210,12 @@ struct clk *clk_register(struct device *dev, struct >> clk_hw *hw) >> } >> } >> >> -ret = __clk_init(dev, clk); >> +hw->clk = __clk_create_clk(hw, NULL, NULL); >> +

Re: [PATCH] treewide: Convert clockevents_notify to use int cpu

2015-01-22 Thread Thomas Gleixner
On Wed, 10 Dec 2014, Joe Perches wrote: > As far as I can tell, there's no value indirecting > the cpu passed to this function via a void *. > > Update all the callers and called functions from within > clockevents_notify. Aside of that there is no value for this 'notification' function at all. T