Add goodix touch support for clarence RCM platform. Change-Id: I73d8d4523c3b07bbbccef4d41b4739a56655f338 Signed-off-by: quic_swarbu <quic_swarbu@quicinc.com>
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include "ravelin-idp.dtsi"
|
|
|
|
&soc {
|
|
};
|
|
|
|
&qupv3_se1_i2c {
|
|
status = "disabled";
|
|
};
|
|
|
|
&qupv3_se1_spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "ok";
|
|
qcom,touch-active = "goodix,gt9916S";
|
|
qcom,la-vm;
|
|
|
|
goodix-berlin@0 {
|
|
compatible = "goodix,gt9916S";
|
|
reg = <0>;
|
|
spi-max-frequency = <1000000>;
|
|
|
|
goodix,avdd-name = "avdd";
|
|
avdd-supply = <&L4E>;
|
|
|
|
interrupt-parent = <&tlmm>;
|
|
interrupts = <91 0x2008>;
|
|
goodix,reset-gpio = <&tlmm 90 0x00>;
|
|
goodix,irq-gpio = <&tlmm 91 0x2008>;
|
|
goodix,irq-flags = <2>;
|
|
goodix,panel-max-x = <1080>;
|
|
goodix,panel-max-y = <2400>;
|
|
goodix,panel-max-w = <255>;
|
|
goodix,panel-max-p = <4096>;
|
|
goodix,firmware-name = "goodix_firmware_spi.bin";
|
|
goodix,config-name = "goodix_cfg_group_spi.bin";
|
|
|
|
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", "pmx_ts_release";
|
|
pinctrl-0 = <&ts_spi_active>;
|
|
pinctrl-1 = <&ts_spi_int_suspend &ts_spi_reset_suspend>;
|
|
pinctrl-2 = <&ts_spi_release>;
|
|
goodix,touch-type = "primary";
|
|
goodix,qts_en;
|
|
qcom,touch-environment = "pvm";
|
|
};
|
|
};
|