fogor: touch: add ist icnl9916c and 2nd ili9883c demands dts config

1. add tp state check.
2. add 1st icnl9916c 4x touch resolution.

Change-Id: Ia291f52aaa5591ab5f3b9b84b2e44c7b6de45cf5
Signed-off-by: ontim52 <ontim52@motorola.com>
Reviewed-on: https://gerrit.mot.com/2667438
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
ontim52 2023-07-06 15:24:08 +08:00 • committed by panyq6
commit a9f1fb7c6a
2 changed files with 13 additions and 2 deletions

View file

@ -174,6 +174,7 @@
qcom,mdss-dsi-panel-peak-brightness = <5000000>;
qcom,mdss-dsi-panel-blackness-level = <100>;
*/
qcom,tp_state_check_enable;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0A];
@ -228,6 +229,7 @@
qcom,mdss-dsi-panel-peak-brightness = <5000000>;
qcom,mdss-dsi-panel-blackness-level = <100>;
*/
qcom,tp_state_check_enable;
qcom,esd-check-enabled;
qcom,mdss-dsi-panel-status-check-mode = "reg_read";
qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0A];

View file

@ -175,8 +175,8 @@
spi-cpol;
chipone,rst-gpio = <&tlmm 21 0x00>;
chipone,irq-gpio = <&tlmm 22 0x2001>;
chipone,x-res = <720>;
chipone,y-res = <1600>;
chipone,x-res = <2880>;
chipone,y-res = <6400>;
chipone,def-build-id = <0x0101>;
chipone,def-config-id = <0x0001>;
pinctrl-names = "pmx_ts_int_active","pmx_ts_int_suspend_high";
@ -184,6 +184,13 @@
pinctrl-4 = <&ts_int_suspend_high>;
panel = <&dsi_icnl9916c_hd_plus_120_video>;
mmi,status = "/chosen","mmi,panel_name","contains","icnl9916c"
chipone,supported_gesture_type = <0x06>;
chipone,rst-pull-flag;
chipone,touch-charger-detect-enable;
chipone,touch-charger-detect-type = "notify";
chipone,touch-charger-detect-psy-name = "charger";
chipone,touch-charger-detect-psp = "POWER_SUPPLY_PROP_ONLINE";
chipone,touch-charger-detect-psp-poll-interval = <1000>;
status = "ok"
};
ilitek@1 {
@ -200,6 +207,8 @@
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend_high>;
ilitek,report_gesture_key;
ilitek,supported_gesture_type = <0x06>;
ilitek,rst-pull-flag;
status = "ok"
};
};