diff options
author | Andy Duan <fugang.duan@nxp.com> | 2018-12-20 17:08:20 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 17:10:57 +0800 |
commit | b76f72f11b76b0450d61094031557cffe1472bb4 (patch) | |
tree | 42169c046a2eb9bd46b6352a90bc90e90e5da80e /Documentation/devicetree/bindings/reset | |
parent | d85f7c8412edf76d2fefe045f44780bda0086f4f (diff) |
MLK-20682 reset: gpio-reset: add suspend/resume callback
The reset PIN may loss its state when system suspend due to GPIO
controller power off. Set pinctrl as "sleep" state to keep PIN
voltage during system suspend, and configurate pinctrl as "default"
state after system resume back. Because GPIO resume back earlier
than gpio-reset, then GPIO signal can control the PIN voltage again.
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
(cherry picked from commit ea5a9cdc1941afc36fd0f5a223ea762b85512130)
Diffstat (limited to 'Documentation/devicetree/bindings/reset')
0 files changed, 0 insertions, 0 deletions