Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-26 Thread Romain Perier
Johan, You convinced me. I will add an helper function "of_is_system_power_controller(node)" which is compatible with both properties: with or without the vendor prefix (until everything switch to the new one). In this case , we can adapt all drivers without break compatibility and in few months i

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-26 Thread Heiko Stübner
Am Samstag, 25. Oktober 2014, 10:37:33 schrieb Johan Hovold: > [+CC: Felipe ] > > On Sat, Oct 25, 2014 at 09:28:36AM +0200, Romain Perier wrote: > > Hi Johan, > > > > If that's still possible to do these changes, I am opened to suggestions. > > Before v3.18 comes out, we can always change it wit

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-25 Thread Johan Hovold
[+CC: Felipe ] On Sat, Oct 25, 2014 at 09:28:36AM +0200, Romain Perier wrote: > Hi Johan, > > If that's still possible to do these changes, I am opened to suggestions. Before v3.18 comes out, we can always change it with a follow-up patch. > 2014-10-23 11:53 GMT+02:00 Johan Hovold : > > [ +CC:

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-25 Thread Romain Perier
Hi Johan, If that's still possible to do these changes, I am opened to suggestions. 2014-10-23 11:53 GMT+02:00 Johan Hovold : > [ +CC: Guenter, Lee, linux-pm ] > > On Tue, Oct 14, 2014 at 06:31:09AM +, Romain Perier wrote: >> Several drivers create their own devicetree property when they regi

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-23 Thread Johan Hovold
[ +CC: Guenter, Lee, linux-pm ] On Tue, Oct 14, 2014 at 06:31:09AM +, Romain Perier wrote: > Several drivers create their own devicetree property when they register > poweroff capabilities. This is for example the case for mfd, regulator > or power drivers which define "vendor,system-power-con

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-22 Thread Mark Brown
On Tue, Oct 14, 2014 at 06:31:09AM +, Romain Perier wrote: > Several drivers create their own devicetree property when they register > poweroff capabilities. This is for example the case for mfd, regulator > or power drivers which define "vendor,system-power-controller" property. > This patch a

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-21 Thread PERIER Romain
Hi all, Do I need to rebase my patches onto the regulator tree or it's okay ? Have a nice day, Romain 2014-10-17 9:23 GMT+02:00 PERIER Romain : > Hi Heiko, > > Oh sure, no problem. It was just to understand better how things will happen > ;) > If my patches needs to be rebased, will do, of cour

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-17 Thread PERIER Romain
Hi Heiko, Oh sure, no problem. It was just to understand better how things will happen ;) If my patches needs to be rebased, will do, of course. Have a nice day, Romain 2014-10-17 8:06 GMT+02:00 Heiko Stübner : > Hi Romain, > > Am Freitag, 17. Oktober 2014, 08:01:31 schrieb PERIER Romain: >> Hi

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-16 Thread Heiko Stübner
Hi Romain, Am Freitag, 17. Oktober 2014, 08:01:31 schrieb PERIER Romain: > Hi all, > > I am just curious but where do you plan to merge this serie ? in > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git ? The single dts patch will be going into my dts branch and the rest will

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-16 Thread PERIER Romain
Hi all, I am just curious but where do you plan to merge this serie ? in git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git ? You have conflicts because I use linux-next as base repository. Thanks for your feebacks (all of you). Romain 2014-10-15 16:03 GMT+02:00 Mark Brown : >

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-15 Thread Mark Brown
On Wed, Oct 15, 2014 at 03:56:03PM +0200, Heiko Stübner wrote: > Am Mittwoch, 15. Oktober 2014, 15:42:45 schrieb Mark Brown: > > I guess I should apply these (except the DTS update) since the first > > user that's being added is a regulator driver? > I'd think so. > In any case, I'll take the "AR

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-15 Thread Heiko Stübner
Am Mittwoch, 15. Oktober 2014, 15:42:45 schrieb Mark Brown: > On Wed, Oct 15, 2014 at 02:41:42PM +0200, Grant Likely wrote: > > , Romain Perier > > > > wrote: > > > Several drivers create their own devicetree property when they register > > > poweroff capabilities. This is for example the case f

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-15 Thread Mark Brown
On Wed, Oct 15, 2014 at 02:41:42PM +0200, Grant Likely wrote: > , Romain Perier > wrote: > > Several drivers create their own devicetree property when they register > > poweroff capabilities. This is for example the case for mfd, regulator > > or power drivers which define "vendor,system-power-co

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-15 Thread Grant Likely
On Tue, 14 Oct 2014 06:31:09 + , Romain Perier wrote: > Several drivers create their own devicetree property when they register > poweroff capabilities. This is for example the case for mfd, regulator > or power drivers which define "vendor,system-power-controller" property. > This patch adds