]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/pinctrl/core.h
pinctrl/pinconfig: add debug interface
authorLaurent Meunier <laurent.meunier@st.com>
Wed, 6 Feb 2013 08:09:44 +0000 (09:09 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Feb 2013 20:11:54 +0000 (21:11 +0100)
commit6f9e41f4e673bf9ae6a5c0831b1524a91ea1c440
tree9cff86fdcbbefdbca5520cc1746163d7ad9534a6
parent007cd694332e6d5f57ef76431d2372c958b85a21
pinctrl/pinconfig: add debug interface

This update adds a debugfs interface to modify a pin configuration
for a given state in the pinctrl map. This allows to modify the
configuration for a non-active state, typically sleep state.
This configuration is not applied right away, but only when the state
will be entered.

This solution is mandated for us by HW validation: in order
to test and verify several pin configurations during sleep without
recompiling the software.

Signed-off-by: Laurent Meunier <laurent.meunier@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c
drivers/pinctrl/core.h
drivers/pinctrl/pinconf.c