From 8f97afe355688e8321d70dfd9f61e96eda8747ec Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Mon, 6 Jul 2020 15:26:27 +0800 Subject: [PATCH] arm/dt: borneo: add touch int pinctrl status arm/dt: Add touch int pinctrl status for Borneo ilitek touch panel. Set it to pull up as default. Change-Id: I79c498396c2573406613b2f852b463fb16d05af9 Signed-off-by: wangyq13 Reviewed-on: https://gerrit.mot.com/1664280 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Reviewed-by: Jun Weng Submit-Approved: Jira Key --- qcom/bengal-borneo-touchscreen-overlay.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qcom/bengal-borneo-touchscreen-overlay.dtsi b/qcom/bengal-borneo-touchscreen-overlay.dtsi index ff3ded0860b3..d3a5dba00014 100644 --- a/qcom/bengal-borneo-touchscreen-overlay.dtsi +++ b/qcom/bengal-borneo-touchscreen-overlay.dtsi @@ -75,6 +75,18 @@ }; }; }; + ts_int_pull_up: ts_int_pull_up { + mux { + pins = "gpio67"; + function = "gpio"; + }; + config { + pins = "gpio67"; + drive-strength = <6>; + input-enable; + bias-pull-up; + }; + }; }; &qupv3_se2_spi_pins { @@ -115,6 +127,8 @@ spi-max-frequency = <12000000>; touch,reset-gpio = <&tlmm 66 0x00>; touch,irq-gpio = <&tlmm 67 0x2002>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_pull_up>; ilitek,report_gesture_key; panel = <&dsi_tm_ili9881x_video>; };