diff --git a/qcom/sun-vm-mtp.dtsi b/qcom/sun-vm-mtp.dtsi index 9d0bfe90..72a4ff8f 100644 --- a/qcom/sun-vm-mtp.dtsi +++ b/qcom/sun-vm-mtp.dtsi @@ -1,6 +1,27 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ &soc { }; + +&qupv3_se4_i2c { + status = "ok"; + qcom,touch-active = "st,fts"; + + st_fts@49 { + compatible = "st,fts"; + reg = <0x49>; + + st,touch-type = "primary"; + st,qts_en; + qts,trusted-touch-mode = "vm_mode"; + qts,touch-environment = "pvm"; + qts,trusted-touch-type = "primary"; + qts,trusted-touch-spi-irq = <652>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 48 0 &tlmm 49 0 &tlmm 50 0 + &tlmm 51 0 &tlmm 161 0 &tlmm 162 0x2008>; + }; +}; diff --git a/qcom/sun-vm-qrd.dts b/qcom/sun-vm-qrd.dts index 2a483354..92621f8c 100644 --- a/qcom/sun-vm-qrd.dts +++ b/qcom/sun-vm-qrd.dts @@ -5,7 +5,7 @@ /dts-v1/; #include "sun-vm.dtsi" -#include "sun-vm-mtp.dtsi" +#include "sun-vm-qrd.dtsi" / { model = "Qualcomm Technologies, Inc. Sun SVM QRD"; diff --git a/qcom/sun-vm-qrd.dtsi b/qcom/sun-vm-qrd.dtsi index 9d0bfe90..e4960fd8 100644 --- a/qcom/sun-vm-qrd.dtsi +++ b/qcom/sun-vm-qrd.dtsi @@ -1,6 +1,30 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ &soc { }; + + +&qupv3_se4_spi { + status = "ok"; + qcom,touch-active = "st,fts"; + + st_fts@0 { + compatible = "st,fts"; + reg = <0x0>; + spi-max-frequency = <1000000>; + + st,touch-type = "primary"; + st,qts_en; + qts,trusted-touch-mode = "vm_mode"; + qts,touch-environment = "pvm"; + qts,trusted-touch-type = "primary"; + qts,trusted-touch-spi-irq = <652>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 48 0 &tlmm 49 0 &tlmm 50 0 + &tlmm 51 0 &tlmm 161 0 &tlmm 162 0x2008>; + + }; +};