All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: qcom: sc7280: Add PM suspend callbacks
@ 2021-09-23  9:26 Rajendra Nayak
  0 siblings, 0 replies; only message in thread
From: Rajendra Nayak @ 2021-09-23  9:26 UTC (permalink / raw)
  To: agross, bjorn.andersson, linus.walleij
  Cc: linux-arm-msm, linux-gpio, linux-kernel, Rajendra Nayak

Use PM suspend callbacks from msm core, without this the hog_sleep
pins don't change state in suspend.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 6 ++++--
 drivers/char/mem.c                       | 2 +-
 drivers/pinctrl/core.c                   | 9 +++++++--
 drivers/pinctrl/qcom/pinctrl-sc7280.c    | 1 +
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280.c b/drivers/pinctrl/qcom/pinctrl-sc7280.c
index afddf6d..9017ede 100644
--- a/drivers/pinctrl/qcom/pinctrl-sc7280.c
+++ b/drivers/pinctrl/qcom/pinctrl-sc7280.c
@@ -1496,6 +1496,7 @@ static const struct of_device_id sc7280_pinctrl_of_match[] = {
 static struct platform_driver sc7280_pinctrl_driver = {
 	.driver = {
 		.name = "sc7280-pinctrl",
+		.pm = &msm_pinctrl_dev_pm_ops,
 		.of_match_table = sc7280_pinctrl_of_match,
 	},
 	.probe = sc7280_pinctrl_probe,
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-23  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  9:26 [PATCH] pinctrl: qcom: sc7280: Add PM suspend callbacks Rajendra Nayak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.