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 <quic_prass@quicinc.com>
This commit is contained in:
Prasanna S
2024-10-30 10:59:32 +05:30
committed by Niranjan Reddy Dumbala
parent b9bc6af5a6
commit 3f60a27d21
2 changed files with 5 additions and 2 deletions

View File

@@ -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;
};
};
};

View File

@@ -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";
};