diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-04 16:16:15 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-10 17:41:16 -0400 |
commit | a2797beadfcb5a0974a30929b613b4d1adb023d1 (patch) | |
tree | 4f3e62d1353bfbf2c05798d02d0dd2a06149e9fc /Documentation/devicetree/bindings | |
parent | 3513cdeccc647d41c4a9ff923af17deaaac04a66 (diff) |
gpio/omap: force restore if context loss is not detectable
When booting with device-tree the function pointer for detecting context
loss is not populated. Ideally, the pm_runtime framework should be
enhanced to allow a means for reporting context/state loss and we could
avoid populating such function pointers altogether. In the interim until
a generic non-device specific solution is in place, force a restore of
the gpio bank when enabling the gpio controller.
Adds a new device-tree property for the OMAP GPIO controller to indicate
if the GPIO controller is located in a power-domain that never loses
power and hence will always maintain its logic state.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-omap.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-omap.txt b/Documentation/devicetree/bindings/gpio/gpio-omap.txt index bff51a2fee1e..1b524c0c79fe 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-omap.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-omap.txt | |||
@@ -20,8 +20,11 @@ Required properties: | |||
20 | 8 = active low level-sensitive. | 20 | 8 = active low level-sensitive. |
21 | 21 | ||
22 | OMAP specific properties: | 22 | OMAP specific properties: |
23 | - ti,hwmods: Name of the hwmod associated to the GPIO: | 23 | - ti,hwmods: Name of the hwmod associated to the GPIO: |
24 | "gpio<X>", <X> being the 1-based instance number from the HW spec | 24 | "gpio<X>", <X> being the 1-based instance number |
25 | from the HW spec. | ||
26 | - ti,gpio-always-on: Indicates if a GPIO bank is always powered and | ||
27 | so will never lose its logic state. | ||
25 | 28 | ||
26 | 29 | ||
27 | Example: | 30 | Example: |