Skip to contentSkip to conversation

pinctrl: qcom: sc7280: Add PM suspend callbacks

PATCH Superseded Rajendra Nayak 1 participant 1 message Sep 23, 2021

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: qcom: sc7280: Add PM suspend callbacks

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

---
 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(-)
drivers/pinctrl/qcom/pinctrl-sc7280.c +1 -0
index afddf6d..9017ede 100644
@@ -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,
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation