diff --git a/qcom/camera/waipio-camera-sensor-cdp.dtsi b/qcom/camera/waipio-camera-sensor-cdp.dtsi index f43b51d9..383e509f 100644 --- a/qcom/camera/waipio-camera-sensor-cdp.dtsi +++ b/qcom/camera/waipio-camera-sensor-cdp.dtsi @@ -35,6 +35,37 @@ }; }; +&tlmm { + cam_sensor_active_rst0: cam_sensor_active_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_rst0: cam_sensor_suspend_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; +}; + &cam_cci0 { actuator_triple_uw: qcom,actuator0 { cell-index = <0>; diff --git a/qcom/camera/waipio-camera-sensor-mtp.dtsi b/qcom/camera/waipio-camera-sensor-mtp.dtsi index 2b5cd8fb..67389095 100644 --- a/qcom/camera/waipio-camera-sensor-mtp.dtsi +++ b/qcom/camera/waipio-camera-sensor-mtp.dtsi @@ -35,6 +35,37 @@ }; }; +&tlmm { + cam_sensor_active_rst0: cam_sensor_active_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_rst0: cam_sensor_suspend_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; +}; + &cam_cci0 { actuator_triple_uw: qcom,actuator0 { cell-index = <0>; diff --git a/qcom/camera/waipio-camera-sensor-qrd.dtsi b/qcom/camera/waipio-camera-sensor-qrd.dtsi index c902f214..e2639bb2 100644 --- a/qcom/camera/waipio-camera-sensor-qrd.dtsi +++ b/qcom/camera/waipio-camera-sensor-qrd.dtsi @@ -35,6 +35,37 @@ }; }; +&tlmm { + cam_sensor_active_rst0: cam_sensor_active_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-disable; /* No PULL */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cam_sensor_suspend_rst0: cam_sensor_suspend_rst0 { + /* RESET REAR */ + mux { + pins = "gpio25"; + function = "gpio"; + }; + + config { + pins = "gpio25"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + output-low; + }; + }; +}; + &cam_cci0 { actuator_triple_uw: qcom,actuator0 { cell-index = <0>; diff --git a/qcom/camera/waipio-camera.dtsi b/qcom/camera/waipio-camera.dtsi index aa51b9a2..6602bf10 100644 --- a/qcom/camera/waipio-camera.dtsi +++ b/qcom/camera/waipio-camera.dtsi @@ -312,35 +312,6 @@ }; }; - cam_sensor_active_rst0: cam_sensor_active_rst0 { - /* RESET REAR */ - mux { - pins = "gpio25"; - function = "gpio"; - }; - - config { - pins = "gpio25"; - bias-disable; /* No PULL */ - drive-strength = <2>; /* 2 MA */ - }; - }; - - cam_sensor_suspend_rst0: cam_sensor_suspend_rst0 { - /* RESET REAR */ - mux { - pins = "gpio25"; - function = "gpio"; - }; - - config { - pins = "gpio25"; - bias-pull-down; /* PULL DOWN */ - drive-strength = <2>; /* 2 MA */ - output-low; - }; - }; - cam_sensor_active_rst1: cam_sensor_active_rst1 { /* RESET REARAUX */ mux {