From 386d8936039649c936032ae1745a000cd4bb5b6e Mon Sep 17 00:00:00 2001 From: Anil Veshala Veshala Date: Wed, 8 Nov 2023 01:25:29 -0800 Subject: [PATCH] ARM: dts: msm: add i2c/i3c gpio access to apps and adsp To access gpios from apps and adsp, we have added apps and remote flag in dtsi. To identify apps is busy or not, added qcom-apps flag during active state and added qcom-remote flag during suspend state, so other SS can use gpios during apps in suspend state. with this flags in pinctrl file for respective GPIOs will help eGPIO to work for AON camera usecase. Change-Id: I621ae6be653fe89034245d80b650afd8893c7e41 Signed-off-by: Anil Veshala Veshala --- qcom/sun-pinctrl.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/sun-pinctrl.dtsi b/qcom/sun-pinctrl.dtsi index 6bfde5c7..96e75e0a 100644 --- a/qcom/sun-pinctrl.dtsi +++ b/qcom/sun-pinctrl.dtsi @@ -1697,6 +1697,7 @@ pins = "gpio0"; drive-strength = <16>; bias-pull-up; + qcom,apps; }; }; @@ -1710,6 +1711,7 @@ pins = "gpio1"; drive-strength = <16>; bias-pull-up; + qcom,apps; }; }; @@ -1723,6 +1725,7 @@ pins = "gpio0"; drive-strength = <16>; bias-pull-up; + qcom,remote; }; }; @@ -1736,6 +1739,7 @@ pins = "gpio1"; drive-strength = <16>; bias-pull-up; + qcom,remote; }; }; @@ -1765,6 +1769,7 @@ drive-strength = <2>; bias-pull-up; qcom,i2c_pull; + qcom,apps; }; }; @@ -1779,6 +1784,7 @@ drive-strength = <2>; bias-pull-up; qcom,i2c_pull; + qcom,apps; }; }; @@ -1791,6 +1797,7 @@ config { pins = "gpio4", "gpio5"; drive-strength = <2>; + qcom,remote; }; }; };