Skip to content

Commit 424246e

Browse files
joelselvarajandersson
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Joel Selvaraj <[email protected]> Link: https://lore.kernel.org/r/20250506-pocof1-touchscreen-support-v4-2-bfb53da52945@joelselvaraj.com Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0614025 commit 424246e

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@
239239
<GCC_LPASS_SWAY_CLK>;
240240
};
241241

242+
&gpi_dma1 {
243+
status = "okay";
244+
};
245+
242246
&gpu {
243247
status = "okay";
244248

@@ -404,6 +408,10 @@
404408
status = "okay";
405409
};
406410

411+
&qupv3_id_1 {
412+
status = "okay";
413+
};
414+
407415
&sdhc_2 {
408416
status = "okay";
409417

@@ -509,6 +517,37 @@
509517
function = "gpio";
510518
bias-pull-up;
511519
};
520+
521+
ts_int_default: ts-int-default-state {
522+
pins = "gpio31";
523+
function = "gpio";
524+
drive-strength = <16>;
525+
bias-pull-down;
526+
output-disable;
527+
};
528+
529+
ts_reset_default: ts-reset-default-state {
530+
pins = "gpio32";
531+
function = "gpio";
532+
drive-strength = <16>;
533+
output-high;
534+
};
535+
536+
ts_int_sleep: ts-int-sleep-state {
537+
pins = "gpio31";
538+
function = "gpio";
539+
drive-strength = <2>;
540+
bias-pull-down;
541+
output-disable;
542+
};
543+
544+
ts_reset_sleep: ts-reset-sleep-state {
545+
pins = "gpio32";
546+
function = "gpio";
547+
drive-strength = <2>;
548+
bias-disable;
549+
output-low;
550+
};
512551
};
513552

514553
&uart6 {

0 commit comments

Comments
 (0)