mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
ARM: dts: msm: Add pin controls for camera GPIOs
Add pin controls for camera and camera sensor GPIOs. Change-Id: If5eeed86b16735a227159553a78bda867f775295
This commit is contained in:
parent
765ba612ab
commit
f0a396fdb7
1 changed files with 170 additions and 0 deletions
|
|
@ -778,6 +778,176 @@
|
|||
};
|
||||
};
|
||||
|
||||
cci0_suspend: cci0_suspend {
|
||||
mux {
|
||||
/* CLK, DATA*/
|
||||
pins = "gpio38", "gpio37";
|
||||
function = "cci_i2c";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio38", "gpio37";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cci0_active: cci0_active {
|
||||
mux {
|
||||
/* CLK, DATA*/
|
||||
pins = "gpio38", "gpio37";
|
||||
function = "cci_i2c";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio38", "gpio37";
|
||||
bias-pull-up; /* PULL UP*/
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cci1_suspend: cci1_suspend {
|
||||
mux {
|
||||
/* CLK, DATA*/
|
||||
pins = "gpio40", "gpio39";
|
||||
function = "cci_i2c";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio40", "gpio39";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cci1_active: cci1_active {
|
||||
mux {
|
||||
/* CLK, DATA*/
|
||||
pins = "gpio40", "gpio39";
|
||||
function = "cci_i2c";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio40", "gpio39";
|
||||
bias-pull-up; /* PULL UP*/
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_mclk0_active: cam_sensor_mclk0_active {
|
||||
/* MCLK 0*/
|
||||
mux {
|
||||
pins = "gpio32";
|
||||
function = "cam_mclk";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio32";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_mclk0_suspend: cam_sensor_mclk0_suspend {
|
||||
/* MCLK 0*/
|
||||
mux {
|
||||
pins = "gpio32";
|
||||
function = "cam_mclk";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio32";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_mclk1_active: cam_sensor_mclk1_active {
|
||||
/* MCLK 1*/
|
||||
mux {
|
||||
pins = "gpio33";
|
||||
function = "cam_mclk";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio33";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_mclk1_suspend: cam_sensor_mclk1_suspend {
|
||||
/* MCLK 1*/
|
||||
mux {
|
||||
pins = "gpio33";
|
||||
function = "cam_mclk";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio33";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_rear0_reset_active: cam_sensor_rear0_reset_active {
|
||||
/* RESET0 */
|
||||
mux {
|
||||
pins = "gpio35";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio35";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_rear0_reset_suspend: cam_sensor_rear0_reset_suspend {
|
||||
/* RESET0 */
|
||||
mux {
|
||||
pins = "gpio35";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio35";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_front0_reset_active: cam_sensor_front0_reset_active {
|
||||
/* RESET0 */
|
||||
mux {
|
||||
pins = "gpio36";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio36";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_sensor_front0_reset_suspend: cam_sensor_front0_reset_suspend {
|
||||
/* RESET0 */
|
||||
mux {
|
||||
pins = "gpio36";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio36";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
/* SDC pin type */
|
||||
sdc1_on: sdc1_on {
|
||||
clk {
|
||||
|
|
|
|||
Loading…
Reference in a new issue