arm64: dts: qcom: sdm845-xiaomi-beryllium-common: add touchscreen related nodes

Enable qupv3_id_1 and gpi_dma1 as they are required for configuring
touchscreen. Also add pinctrl configurations needed for touchscreen.
These are common for both the tianma and ebbg touchscreen variant.
In the subsequent patches, we will enable support for the Novatek NT36672a
touchscreen and FocalTech FT8719 touchscreen that are used in the Poco F1
Tianma and EBBG panel variant respectively. This is done in preparation
for that.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Joel Selvaraj <foss@joelselvaraj.com>
Link: https://lore.kernel.org/r/20250506-pocof1-touchscreen-support-v4-2-bfb53da52945@joelselvaraj.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
pull/1253/head
Joel Selvaraj 2025-05-06 13:18:39 -05:00 committed by Bjorn Andersson
parent 061402552e
commit 424246ed3e
1 changed files with 39 additions and 0 deletions

View File

@ -239,6 +239,10 @@
<GCC_LPASS_SWAY_CLK>;
};
&gpi_dma1 {
status = "okay";
};
&gpu {
status = "okay";
@ -404,6 +408,10 @@
status = "okay";
};
&qupv3_id_1 {
status = "okay";
};
&sdhc_2 {
status = "okay";
@ -509,6 +517,37 @@
function = "gpio";
bias-pull-up;
};
ts_int_default: ts-int-default-state {
pins = "gpio31";
function = "gpio";
drive-strength = <16>;
bias-pull-down;
output-disable;
};
ts_reset_default: ts-reset-default-state {
pins = "gpio32";
function = "gpio";
drive-strength = <16>;
output-high;
};
ts_int_sleep: ts-int-sleep-state {
pins = "gpio31";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
output-disable;
};
ts_reset_sleep: ts-reset-sleep-state {
pins = "gpio32";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-low;
};
};
&uart6 {