Re: [PATCH V2 2/4] misc: ti-st: use of_get_named_gpio_flags for nshutdown

2015-04-27 Thread Peter Hurley
On 04/27/2015 03:27 PM, Eric Nelson wrote: Use of_get_named_gpio_flags to retrieve the nshutdown gpio connected to the BT_EN pin of the device when retrieving platform data from device tree. This breaks all existing DTs wrt the 'nshutdown_gpio' key. I suggest using a different, optional key in

Re: [PATCH V2 2/4] misc: ti-st: use of_get_named_gpio_flags for nshutdown

2015-04-27 Thread Eric Nelson
Hi Peter, On 04/27/2015 01:11 PM, Peter Hurley wrote: On 04/27/2015 03:27 PM, Eric Nelson wrote: Use of_get_named_gpio_flags to retrieve the nshutdown gpio connected to the BT_EN pin of the device when retrieving platform data from device tree. This breaks all existing DTs wrt the

Re: [PATCH V2 2/4] misc: ti-st: use of_get_named_gpio_flags for nshutdown

2015-04-27 Thread Peter Hurley
Hi Eric, On 04/27/2015 04:18 PM, Eric Nelson wrote: Hi Peter, On 04/27/2015 01:11 PM, Peter Hurley wrote: On 04/27/2015 03:27 PM, Eric Nelson wrote: Use of_get_named_gpio_flags to retrieve the nshutdown gpio connected to the BT_EN pin of the device when retrieving platform data from device

[PATCH V2 2/4] misc: ti-st: use of_get_named_gpio_flags for nshutdown

2015-04-27 Thread Eric Nelson
Use of_get_named_gpio_flags to retrieve the nshutdown gpio connected to the BT_EN pin of the device when retrieving platform data from device tree. This allows the polarity to be specified using GPIO_ACTIVE_HIGH/LOW in device tree. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com ---