According to Sun HDK HW design, the logic level of cd-gpio is HIGH with card and is LOW without card. Set cd-gpio flag to GPIO_ACTIVE_HIGH for high active card installed interruption. Change-Id: Ia70a08df70119dafea8dd7b75e68fc50fd2b76d2 Signed-off-by: Jun Li <quic_liju@quicinc.com>
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include "sun-qrd-sku1-v8.dtsi"
|
|
|
|
&sdhc_2 {
|
|
cd-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&qupv3_se4_spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "ok";
|
|
qcom,touch-active = "goodix,gt9916S";
|
|
qcom,la-vm;
|
|
|
|
st_fts@0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
goodix-berlin@0 {
|
|
compatible = "goodix,gt9916S";
|
|
reg = <0>;
|
|
spi-max-frequency = <1000000>;
|
|
|
|
goodix,avdd-name = "avdd";
|
|
avdd-supply = <&L14B>;
|
|
|
|
interrupt-parent = <&tlmm>;
|
|
interrupts = <162 0x2008>;
|
|
goodix,reset-gpio = <&tlmm 161 0x00>;
|
|
goodix,irq-gpio = <&tlmm 162 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_active>;
|
|
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
|
|
pinctrl-2 = <&ts_release>;
|
|
|
|
goodix,touch-type = "primary";
|
|
goodix,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>;
|
|
};
|
|
};
|