fogos: dts/kernel: add fogos display and touchscreen config

1. add fogos display config.
2. add tp single tap and double tap.
3. add icnl9916c 4x touch resolution.

Change-Id: Ic12e44549ccf63049bafc1395793950fead7934b
Signed-off-by: ontim52 <ontim52@motorola.com>
Reviewed-on: https://gerrit.mot.com/2688317
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dezhen Hou <houdz1@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
ontim52 2023-07-25 15:41:58 +08:00 • committed by panyq6
commit b563d8c234
2 changed files with 23 additions and 4 deletions

View file

@ -174,13 +174,14 @@
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];
qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";
qcom,mdss-dsi-panel-status-value = <0x9C>;
qcom,mdss-dsi-panel-status-read-length = <1>;
qcom,suspend-ulps-enabled;
qcom,mdss-dsi-panel-hbm-is-51cmd;
qcom,mdss-dsi-hbm-type = "lcd-dcs-wled";
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
@ -228,13 +229,14 @@
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];
qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";
qcom,mdss-dsi-panel-status-value = <0x9C>;
qcom,mdss-dsi-panel-status-read-length = <1>;
qcom,suspend-ulps-enabled;
qcom,mdss-dsi-panel-hbm-is-51cmd;
qcom,mdss-dsi-hbm-type = "lcd-dcs-wled";
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
@ -272,3 +274,11 @@
};
};
};
&qupv3_se10_i2c_sleep {
config {
/delete-property/ bias-disable;
bias-pull-up;
input-enable;
};
};

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"
};
};