Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-25 Thread Linus Walleij
On Wed, Mar 18, 2015 at 2:21 PM, Kishon Vijay Abraham I kis...@ti.com wrote: [Me] Specify exactly what stuff may happen after the reboot notifier. okay, it's assumed the device may be used (active) till the shutdown handler of that particular device is called. In this particular case we are

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-18 Thread Kishon Vijay Abraham I
Hi, On Wednesday 18 March 2015 05:51 PM, Linus Walleij wrote: On Mon, Mar 16, 2015 at 9:46 AM, Kishon Vijay Abraham I kis...@ti.com wrote: On Wednesday 14 January 2015 05:28 PM, Linus Walleij wrote: #include linux/reboot.h static int foo_reboot_handler(struct notifier_block *this,

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-18 Thread Linus Walleij
On Mon, Mar 16, 2015 at 9:46 AM, Kishon Vijay Abraham I kis...@ti.com wrote: On Wednesday 14 January 2015 05:28 PM, Linus Walleij wrote: #include linux/reboot.h static int foo_reboot_handler(struct notifier_block *this, unsigned long code,

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-16 Thread Kishon Vijay Abraham I
Hi, On Wednesday 14 January 2015 05:28 PM, Linus Walleij wrote: On Mon, Jan 5, 2015 at 7:26 AM, Kishon Vijay Abraham I kis...@ti.com wrote: On Thursday 18 December 2014 07:41 PM, Nishanth Menon wrote: On 12/18/2014 12:18 AM, Kishon Vijay Abraham I wrote: On Tuesday 16 December 2014 02:20

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-01-14 Thread Linus Walleij
On Mon, Jan 5, 2015 at 7:26 AM, Kishon Vijay Abraham I kis...@ti.com wrote: On Thursday 18 December 2014 07:41 PM, Nishanth Menon wrote: On 12/18/2014 12:18 AM, Kishon Vijay Abraham I wrote: On Tuesday 16 December 2014 02:20 AM, Nishanth Menon wrote: On 12/12/2014 02:06 AM, Kishon Vijay

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-01-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 18 December 2014 07:41 PM, Nishanth Menon wrote: On 12/18/2014 12:18 AM, Kishon Vijay Abraham I wrote: On Tuesday 16 December 2014 02:20 AM, Nishanth Menon wrote: On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: The reset values for all the PCF lines are high and hence

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2014-12-18 Thread Nishanth Menon
On 12/18/2014 12:18 AM, Kishon Vijay Abraham I wrote: On Tuesday 16 December 2014 02:20 AM, Nishanth Menon wrote: On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: The reset values for all the PCF lines are high and hence on shutdown we should drive all the lines high in order to bring

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2014-12-17 Thread Kishon Vijay Abraham I
On Tuesday 16 December 2014 02:20 AM, Nishanth Menon wrote: On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: The reset values for all the PCF lines are high and hence on shutdown we should drive all the lines high in order to bring it to the reset state. This is actually required since

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2014-12-15 Thread Nishanth Menon
On 12/12/2014 02:06 AM, Kishon Vijay Abraham I wrote: The reset values for all the PCF lines are high and hence on shutdown we should drive all the lines high in order to bring it to the reset state. This is actually required since pcf doesn't have a reset line and even after warm reset (by