From bd641e262ecf19fe988702af35477b06823f1e51 Mon Sep 17 00:00:00 2001 From: Mukund Madhusudan Atre Date: Fri, 6 Mar 2020 16:15:01 -0800 Subject: [PATCH] ARM: dts: msm: Add pinctrls for external regulaors in camera for Lahaina Add pinctrls for GPIO enabled regulators in camera for Lahaina. Change-Id: I74e28dddc1833ee2135d2c92cbd3e60bccb9c87d --- qcom/lahaina-pinctrl.dtsi | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/qcom/lahaina-pinctrl.dtsi b/qcom/lahaina-pinctrl.dtsi index 8335c306b71e..038c9f6be6cb 100644 --- a/qcom/lahaina-pinctrl.dtsi +++ b/qcom/lahaina-pinctrl.dtsi @@ -3391,6 +3391,64 @@ }; }; + cam_sensor_active_ext_regs0: cam_sensor_active_ext_regs0 { + /* EXT REGULATOR PIN 0 */ + mux { + pins = "gpio28"; + function = "gpio"; + }; + + config { + pins = "gpio28"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_ext_regs0: cam_sensor_suspend_ext_regs0 { + /* EXT REGULATOR PIN 0 */ + mux { + pins = "gpio28"; + function = "gpio"; + }; + + config { + pins = "gpio28"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; + + cam_sensor_active_ext_regs1: cam_sensor_active_ext_regs1 { + /* EXT REGULATOR PIN 1 */ + mux { + pins = "gpio29"; + function = "gpio"; + }; + + config { + pins = "gpio29"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_ext_regs1: cam_sensor_suspend_ext_regs1 { + /* EXT REGULATOR PIN 1 */ + mux { + pins = "gpio29"; + function = "gpio"; + }; + + config { + pins = "gpio29"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; + cci0_active: cci0_active { mux { /* CLK, DATA */