From 1ba3b8a8533deb2c03ed40a4359b73c6a57bcc51 Mon Sep 17 00:00:00 2001 From: Prasanna S Date: Wed, 30 Oct 2024 10:59:32 +0530 Subject: [PATCH] ARM: dts: msm: Add i2c gpio access to apps and adsp on Tuna 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. This flags in pinctrl file for respective GPIOs will help eGPIO to work for AON camera usecase. Also, increase TRE size from 64 to 1024 for camera usecase. Change-Id: Ibc65d9e61d55a3eaeffdf78aef3f8852687f576f Signed-off-by: Prasanna S --- qcom/tuna-pinctrl.dtsi | 3 +++ qcom/tuna-qupv3.dtsi | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/qcom/tuna-pinctrl.dtsi b/qcom/tuna-pinctrl.dtsi index 61496114..f64a2641 100644 --- a/qcom/tuna-pinctrl.dtsi +++ b/qcom/tuna-pinctrl.dtsi @@ -1096,6 +1096,7 @@ drive-strength = <2>; bias-pull-up; qcom,i2c_pull; + qcom,apps; }; }; @@ -1110,6 +1111,7 @@ drive-strength = <2>; bias-pull-up; qcom,i2c_pull; + qcom,apps; }; }; @@ -1122,6 +1124,7 @@ config { pins = "gpio0", "gpio1"; drive-strength = <2>; + qcom,remote; }; }; }; diff --git a/qcom/tuna-qupv3.dtsi b/qcom/tuna-qupv3.dtsi index 4ad94442..b1aad089 100644 --- a/qcom/tuna-qupv3.dtsi +++ b/qcom/tuna-qupv3.dtsi @@ -466,8 +466,8 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&qupv3_se8_i2c_sda_active>, <&qupv3_se8_i2c_scl_active>; pinctrl-1 = <&qupv3_se8_i2c_sleep>; - dmas = <&gpi_dma2 0 0 3 64 0>, - <&gpi_dma2 1 0 3 64 0>; + dmas = <&gpi_dma2 0 0 3 1024 0>, + <&gpi_dma2 1 0 3 1024 0>; dma-names = "tx", "rx"; status = "disabled"; };