From 7112b5ab6f84f43be9185430a5f1ba89e2263878 Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Fri, 21 Aug 2020 11:04:01 +0530 Subject: [PATCH] pinctrl: qcom: Update reserved GPIOs for Shima Certain GPIOs are reserved for secure world and cannot be accessed by HLOS. Supply "reserved_gpios" to msm_pinctrl to mark these pins as invalid. Change-Id: I13df5f80bad3ab339aa1382f841796096c8ce748 Signed-off-by: Mukesh Ojha --- drivers/pinctrl/qcom/pinctrl-shima.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-shima.c b/drivers/pinctrl/qcom/pinctrl-shima.c index 4cd24a0c44db..9852a17f8910 100644 --- a/drivers/pinctrl/qcom/pinctrl-shima.c +++ b/drivers/pinctrl/qcom/pinctrl-shima.c @@ -1853,7 +1853,7 @@ static const struct msm_pingroup shima_groups[] = { }; static const int shima_reserved_gpios[] = { - 24, 25, 26, 27, 40, 41, 42, 43, -1 + 4, 5, 6, 7, 40, 41, 52, 53, 54, 55, 56, 57, 58, 59, -1 }; static struct pinctrl_qup shima_qup_regs[] = {