lkml.org 
[lkml]   [2013]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] ARM: OMAP2+: omap_device: add pinctrl handling
* Grygorii Strashko <grygorii.strashko@ti.com> [130627 07:12]:
>
> As you can see, from 12 pins only 3 pins need to be reconfigured
> while switching from "active"->"idle" states and back (and as I
> mentioned above for OMAP "idle" == "sleep" now).
>
> Regarding "OFF" state:
> OMAP mux HW defines special state for unused pins which is selected
> by default after reset and need to be selected when device isn't
> used, for example:
> _MUXMODE - Functional multiplexing selection for pad
> 0x0: Select usbb1_hsic_data
> 0x3: Select gpio_96
> 0x7: Select safe_mode <<--- pin unused

The off mode bits can be enabled continuously, the mux hardware
automatically sets them. So sounds like you don't need any
separate "idle" "sleep" and "off" states, the following should
do:

"default" (or "static") static pins that don't need to be touched
after consumer driver probe

"active" dynamic pins that are not a subset of
"default" needed for runtime; these pins
are the same as "idle" below, but with
different muxing or pinconf device
runtime

"idle" dynamic pins that are not a subset of
"default" needed for various idle modes;
these pins are the same as "active" above,
but with different muxing or pinconf for
various idle states

Can you please confirm that these named modes are enough for
your needs?

If your hardware does not have specific off mode bits, then
I can understand that you may need one mor state "off".

Regards,

Tony


\
 
 \ /
  Last update: 2013-06-27 17:21    [W:0.527 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site