pinctrl: msm: Add sleep pinctrl state transitions
authorEvan Green <evgreen@chromium.org>
Fri, 16 Nov 2018 18:58:53 +0000 (10:58 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Nov 2018 14:40:27 +0000 (15:40 +0100)
commit977d057ad3464c4698fd875ca6bf3f30e554cee2
tree370ee36958b841b336e612756940addf75065ab1
parent757bd6d536deeed200926d1d47cfd1a6369e9af6
pinctrl: msm: Add sleep pinctrl state transitions

Add PM suspend callbacks to the msm core driver that select the
sleep and default pinctrl states. Then wire those callbacks up
in the sdm845 driver, for those boards that may have GPIO hogs
that need to change state during suspend.

Signed-off-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-msm.c
drivers/pinctrl/qcom/pinctrl-msm.h
drivers/pinctrl/qcom/pinctrl-sdm845.c