From 9b5059e666136eca6d8e3047e89cb06f204015b3 Mon Sep 17 00:00:00 2001 From: Amit Somani Date: Fri, 2 Apr 2021 15:43:39 +0530 Subject: ARM: dts: msm: Add Gpio settings for camera sensor Add new GPIO's for camera sensors Change-Id: I60c925509042540121cace12920a09efe19fe97e --- qcom/kona-pinctrl.dtsi | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'qcom') diff --git a/qcom/kona-pinctrl.dtsi b/qcom/kona-pinctrl.dtsi index b2aba43f..51c240c3 100644 --- a/qcom/kona-pinctrl.dtsi +++ b/qcom/kona-pinctrl.dtsi @@ -2510,6 +2510,64 @@ }; }; + cam_sensor_active_rst3: cam_sensor_active_rst3 { + /* RESET 2 */ + mux { + pins = "gpio144"; + function = "gpio"; + }; + + config { + pins = "gpio144"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_rst3: cam_sensor_suspend_rst3 { + /* RESET 2 */ + mux { + pins = "gpio144"; + function = "gpio"; + }; + + config { + pins = "gpio144"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; + + cam_sensor_active_rst4: cam_sensor_active_rst4 { + /* RESET 2 */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_rst4: cam_sensor_suspend_rst4 { + /* RESET 2 */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; + cam_sensor_active_3: cam_sensor_active_3 { /* RESET 3 */ mux { -- cgit v1.2.3