mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
camera: Decommonize active and suspend rst0 from waipio-camera
Change-Id: I6ed41f41b091963c5ca5d3d6d0a5b260098fa6c3
This commit is contained in:
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user