From 4229d1bde2778b59b0cd117c6d6a2e8165b320b0 Mon Sep 17 00:00:00 2001 From: Shashank Babu Chinta Venkata Date: Wed, 18 Dec 2019 14:21:30 -0800 Subject: [PATCH] ARM: dts: msm: add pinctrl information for Lahaina target Add pinmux configuration for active and suspend state for reset and tear check (TE) GPIO. Change-Id: Ic1a08e570d12bdf291bc3c22b5096f1af4936e87 --- qcom/lahaina-pinctrl.dtsi | 55 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/qcom/lahaina-pinctrl.dtsi b/qcom/lahaina-pinctrl.dtsi index 904e717a828a..1cfeb6ff2c2b 100644 --- a/qcom/lahaina-pinctrl.dtsi +++ b/qcom/lahaina-pinctrl.dtsi @@ -1466,6 +1466,61 @@ }; }; }; + pmx_sde: pmx_sde { + sde_dsi_active: sde_dsi_active { + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + drive-strength = <8>; /* 8 mA */ + bias-disable = <0>; /* no pull */ + }; + }; + + sde_dsi_suspend: sde_dsi_suspend { + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + drive-strength = <2>; /* 2 mA */ + bias-pull-down; /* PULL DOWN */ + }; + }; + }; + + pmx_sde_te: pmx_sde_te { + sde_te_active: sde_te_active { + mux { + pins = "gpio82"; + function = "mdp_vsync"; + }; + + config { + pins = "gpio82"; + drive-strength = <2>; /* 2 mA */ + bias-pull-down; /* PULL DOWN */ + }; + }; + + sde_te_suspend: sde_te_suspend { + mux { + pins = "gpio82"; + function = "mdp_vsync"; + }; + + config { + pins = "gpio82"; + drive-strength = <2>; /* 2 mA */ + bias-pull-down; /* PULL DOWN */ + }; + }; + }; cam_sensor_mclk0_active: cam_sensor_mclk0_active { /* MCLK0 */