From f8f7e29a413cd23f8199e13c24bb16376920822f Mon Sep 17 00:00:00 2001 From: wengjun1 Date: Fri, 11 Feb 2022 15:50:57 +0800 Subject: [PATCH] milanf: arm64/dts: Support for edge rejection - Because have user feedback that the edge area is sensitive in the landscape mode, so add support for the edge rejection function and set different rejection areas according to the rotation direction, which will works in the game mode. Change-Id: Ifd0d0442899215cb7701fa7d8adc06db3bf0dd18 Signed-off-by: wengjun1 Reviewed-on: https://gerrit.mot.com/2188908 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Zhihong Kang Reviewed-by: Hujun Liao Submit-Approved: Jira Key --- qcom/milanf-touchscreen.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/milanf-touchscreen.dtsi b/qcom/milanf-touchscreen.dtsi index a1a4aa1d59d5..02bc5dd7c72f 100755 --- a/qcom/milanf-touchscreen.dtsi +++ b/qcom/milanf-touchscreen.dtsi @@ -84,6 +84,7 @@ novatek,spi-rd-fast-addr = <0x03F310>; novatek,report_gesture_key; novatek,usb_charger; + novatek,edge_cmd = /bits/ 8 <0x72 0x01 0x00>; novatek,panel-supplier = "tianma","tm","csot"; panel = <&dsi_tianma_nt36672e_678_fhdp_120_video_v1 &dsi_tm_nt36672e_678_fhdp_120_video &dsi_csot_nt36672e_678_fhdp_120_video>; status = "ok";