[PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid checking them during runtime as the active and

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
* Tony Lindgren [130718 00:57]: > * Stephen Warren [130717 14:28]: > > > > Oh, I see you're trying to check that the set of pins in the active, > > sleep, and idle states are identical. > > Right, that's to avoid any further checking during runtime for runtime PM. > > > But I think that

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
* Stephen Warren [130717 14:28]: > On 07/16/2013 03:05 AM, Tony Lindgren wrote: > > We want to have static pin states handled separately from > > dynamic pin states, so let's add optional state_active. > > > > Then if state_active is defined, let's check and make sure > > state_idle and

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [130717 14:28]: On 07/16/2013 03:05 AM, Tony Lindgren wrote: We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130718 00:57]: * Stephen Warren swar...@wwwdotorg.org [130717 14:28]: Oh, I see you're trying to check that the set of pins in the active, sleep, and idle states are identical. Right, that's to avoid any further checking during runtime for runtime PM.

[PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-18 Thread Tony Lindgren
We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid checking them during runtime as the active and

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-17 Thread Stephen Warren
On 07/16/2013 03:05 AM, Tony Lindgren wrote: > We want to have static pin states handled separately from > dynamic pin states, so let's add optional state_active. > > Then if state_active is defined, let's check and make sure > state_idle and state_sleep match state_active for the > pin groups to

Re: [PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-17 Thread Stephen Warren
On 07/16/2013 03:05 AM, Tony Lindgren wrote: We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid

[PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-16 Thread Tony Lindgren
We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid checking them during runtime as the active and

[PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-16 Thread Tony Lindgren
We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid checking them during runtime as the active and