From 245482e4331ae25dd3fbc93b0d246f8ac5592f34 Mon Sep 17 00:00:00 2001 From: chenlj2 Date: Wed, 23 Dec 2020 17:56:27 +0800 Subject: [PATCH] arm64/dts:modify fps dts config for Ibiza FPS: 1. Change INT pin as pull disable to match HW. 2. modify reset &INT pin to match HW Change-Id: I87915cd7f93c720826bcb2bba0cbcd9c58dc598e Signed-off-by: chenlj2 Reviewed-on: https://gerrit.mot.com/1835477 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Weilong Wu Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/ibiza-fps-overlay.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qcom/ibiza-fps-overlay.dtsi b/qcom/ibiza-fps-overlay.dtsi index da55900ab2c4..2f6aa418a796 100644 --- a/qcom/ibiza-fps-overlay.dtsi +++ b/qcom/ibiza-fps-overlay.dtsi @@ -11,7 +11,7 @@ pins = "gpio17"; drive-strength = <2>; /* 2 MA */ input-enable; - bias-pull-up; + bias-disable; }; }; chipone_int_suspend: chipone_int_suspend { @@ -25,7 +25,7 @@ pins = "gpio17"; drive-strength = <2>; /* 2 MA */ input-enable; - bias-pull-up; + bias-disable; }; }; }; @@ -60,14 +60,14 @@ fps_int_active: fps_int_active { /* active state */ mux { - pins = "gpio18"; + pins = "gpio17"; function = "gpio"; }; config { - pins = "gpio18"; + pins = "gpio17"; drive-strength = <2>; /* 2 MA */ - bias-pull-down; + bias-disable; input-enable; }; }; @@ -82,7 +82,7 @@ config { pins = "gpio17"; drive-strength = <2>; /* 2 MA */ - bias-pull-down; + bias-disable; input-enable; }; }; @@ -102,8 +102,8 @@ reg = <0>; interrupt-parent = <&tlmm>; interrupts = <17 0x0>; - fp-gpio-int = <&tlmm 17 0x2>; - fp-gpio-reset = <&tlmm 18 0x2>; + fp-gpio-int = <&tlmm 17 0x0>; + fp-gpio-reset = <&tlmm 18 0x0>; pinctrl-names = "default", "suspend"; pinctrl-0 = <&chipone_int_active>; pinctrl-1 = <&chipone_int_suspend>;