mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
ARM: dts: qcom: Add flash pinctrl gpio for holi Pro
Configure the sensor strobe, torch, hwen, tx gpios for camera. CRs-Fixed: 2938922 Change-Id: I5409878ada998eff886ec05e6a726e62a72896c5
This commit is contained in:
parent
da219ba7d1
commit
fde362e28b
1 changed files with 116 additions and 0 deletions
|
|
@ -1094,6 +1094,122 @@
|
|||
};
|
||||
};
|
||||
|
||||
cam_flash_strobe_active: cam_flash_strobe_active {
|
||||
/* STROBE */
|
||||
mux {
|
||||
pins = "gpio51";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio51";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_strobe_suspend: cam_flash_strobe_suspend {
|
||||
/* STROBE */
|
||||
mux {
|
||||
pins = "gpio51";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio51";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_torch_active: cam_flash_torch_active {
|
||||
/* TORCH */
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio27";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_torch_suspend: cam_flash_torch_suspend {
|
||||
/* TORCH */
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio27";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_hwen_active: cam_flash_hwen_active {
|
||||
/* HWEN */
|
||||
mux {
|
||||
pins = "gpio52";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio52";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_hwen_suspend: cam_flash_hwen_suspend {
|
||||
/* HWEN */
|
||||
mux {
|
||||
pins = "gpio52";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio52";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_tx_active: cam_flash_tx_active {
|
||||
/* TX */
|
||||
mux {
|
||||
pins = "gpio119";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio119";
|
||||
bias-disable; /* No PULL */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
cam_flash_tx_suspend: cam_flash_tx_suspend {
|
||||
/* TX */
|
||||
mux {
|
||||
pins = "gpio119";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio119";
|
||||
bias-pull-down; /* PULL DOWN */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
pm8008_active: pm8008_active {
|
||||
mux {
|
||||
pins = "gpio58";
|
||||
|
|
|
|||
Loading…
Reference in a new issue