From a8c5484da1746169536ba793f8612976876ea362 Mon Sep 17 00:00:00 2001 From: dengwei1 Date: Fri, 4 Sep 2020 18:39:02 +0800 Subject: [PATCH] arm64/dts guam touch ilitek add pinctrl PROPAGATED_from (CR) guam touch input ilitek add pinctrl Change-Id: Ic54803a0ab298cb028030e258d3e657b917f6c2f Signed-off-by: dengwei1 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key Signed-off-by: Robert Cabral Reviewed-on: https://gerrit.mot.com/1859208 Reviewed-by: Hua Tan --- qcom/bengal-guam-touchscreen-overlay.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/qcom/bengal-guam-touchscreen-overlay.dtsi b/qcom/bengal-guam-touchscreen-overlay.dtsi index 074f323e6810..38a54b56372a 100644 --- a/qcom/bengal-guam-touchscreen-overlay.dtsi +++ b/qcom/bengal-guam-touchscreen-overlay.dtsi @@ -28,6 +28,22 @@ }; }; }; + + pmx_ts_int_suspend_high { + ts_int_suspend_high: ts_int_suspend_high { + mux { + pins = "gpio67"; + function = "gpio"; + }; + + config { + pins = "gpio67"; + drive-strength = <2>; + bias-pull-up; + }; + }; + }; + pmx_ts_reset_active { ts_reset_active: ts_reset_active { mux { @@ -148,6 +164,9 @@ spi-cpol; touch,reset-gpio = <&tlmm 66 0x00>; touch,irq-gpio = <&tlmm 67 0x2008>; + pinctrl-names = "pmx_ts_int_active","pmx_ts_int_suspend_high"; + pinctrl-0 = <&ts_int_active>; + pinctrl-1 = <&ts_int_suspend_high>; panel = <&dsi_hlt_ili9882h_video>; panel2 = <&dsi_tm_ili9882n_video>; };