Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 11:18:47PM +0100, Stefan Agner wrote: > On 2014-12-01 18:42, Guenter Roeck wrote: > > On Mon, Dec 01, 2014 at 09:38:09AM -0800, Feng Kan wrote: > >> On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner wrote: > >> > On 2014-12-01 18:15, Feng Kan wrote: > >> >> On Mon, Dec 1, 2014 a

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Stefan Agner
On 2014-12-01 18:42, Guenter Roeck wrote: > On Mon, Dec 01, 2014 at 09:38:09AM -0800, Feng Kan wrote: >> On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner wrote: >> > On 2014-12-01 18:15, Feng Kan wrote: >> >> On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner wrote: >> >>> This patch adds an optional prope

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Arnd Bergmann
On Monday 01 December 2014 17:41:00 Mark Rutland wrote: > Otherwise, I would imagine that most systems have a single preferred > mechanism with some possible fallback(s), for which a single > preferred-poweroff property might suffice, and has better interaction > w.r.t. priority (in that it should

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Mark Rutland
On Mon, Dec 01, 2014 at 06:12:55PM +, Guenter Roeck wrote: > On Mon, Dec 01, 2014 at 05:59:08PM +, Mark Rutland wrote: > > On Mon, Dec 01, 2014 at 05:51:34PM +, Guenter Roeck wrote: > > > On Mon, Dec 01, 2014 at 05:41:00PM +, Mark Rutland wrote: > > > > On Mon, Dec 01, 2014 at 05:24

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 05:59:08PM +, Mark Rutland wrote: > On Mon, Dec 01, 2014 at 05:51:34PM +, Guenter Roeck wrote: > > On Mon, Dec 01, 2014 at 05:41:00PM +, Mark Rutland wrote: > > > On Mon, Dec 01, 2014 at 05:24:37PM +, Stefan Agner wrote: > > > > On 2014-12-01 18:11, Mark Rutl

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Mark Rutland
On Mon, Dec 01, 2014 at 05:51:34PM +, Guenter Roeck wrote: > On Mon, Dec 01, 2014 at 05:41:00PM +, Mark Rutland wrote: > > On Mon, Dec 01, 2014 at 05:24:37PM +, Stefan Agner wrote: > > > On 2014-12-01 18:11, Mark Rutland wrote: > > > > On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Ag

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 05:41:00PM +, Mark Rutland wrote: > On Mon, Dec 01, 2014 at 05:24:37PM +, Stefan Agner wrote: > > On 2014-12-01 18:11, Mark Rutland wrote: > > > On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Agner wrote: > > >> This patch adds an optional property which allows to

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 09:38:09AM -0800, Feng Kan wrote: > On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner wrote: > > On 2014-12-01 18:15, Feng Kan wrote: > >> On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner wrote: > >>> This patch adds an optional property which allows to specify the > >>> reset sour

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Mark Rutland
On Mon, Dec 01, 2014 at 05:24:37PM +, Stefan Agner wrote: > On 2014-12-01 18:11, Mark Rutland wrote: > > On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Agner wrote: > >> This patch adds an optional property which allows to specify the > >> reset source priority. This priority is used by the k

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Feng Kan
On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner wrote: > On 2014-12-01 18:15, Feng Kan wrote: >> On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner wrote: >>> This patch adds an optional property which allows to specify the >>> reset source priority. This priority is used by the kernel restart >>> handler

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Stefan Agner
On 2014-12-01 18:15, Feng Kan wrote: > On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner wrote: >> This patch adds an optional property which allows to specify the >> reset source priority. This priority is used by the kernel restart >> handler call chain to sort out the proper reset/restart method. >>

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 05:11:26PM +, Mark Rutland wrote: > On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Agner wrote: > > This patch adds an optional property which allows to specify the > > reset source priority. This priority is used by the kernel restart > > handler call chain to sort ou

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Stefan Agner
On 2014-12-01 18:11, Mark Rutland wrote: > On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Agner wrote: >> This patch adds an optional property which allows to specify the >> reset source priority. This priority is used by the kernel restart >> handler call chain to sort out the proper reset/resta

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Feng Kan
On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner wrote: > This patch adds an optional property which allows to specify the > reset source priority. This priority is used by the kernel restart > handler call chain to sort out the proper reset/restart method. > Depending on the power design of a board o

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Mark Rutland
On Mon, Dec 01, 2014 at 05:03:07PM +, Stefan Agner wrote: > This patch adds an optional property which allows to specify the > reset source priority. This priority is used by the kernel restart > handler call chain to sort out the proper reset/restart method. > Depending on the power design of