]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84cd216a2c8af407a4109283b554d08b092788e8
tree370ee36958b841b336e612756940addf75065ab1
parent40f349b93fb45303efa80c1722b5afbfc0902df6
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