mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
arm/dt: cypfr: add camera config
add camera config for cypfr cypfr add 2864 pmic config Change-Id: Ia4c331509b14cfb4753605b8f12655a370336b86 Signed-off-by: tinno10 <jiacheng.wu@tinno.com> Reviewed-on: https://gerrit.mot.com/2067317 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Liu <liuwang2@lenovo.com> Reviewed-by: Ji Zhao <zhaoji1@lenovo.com> Reviewed-by: Bolei Shang <shangbl1@lenovo.com> Reviewed-by: Xingyun Fu <fuxy7@motorola.com> Reviewed-by: XiaoFeng Wang <wangxf32@lenovo.com> Reviewed-by: Shuo Wang <wangsh18@motorola.com> Reviewed-by: Shanghui Zhang <zhangsh@motorola.com> Reviewed-by: Chunhui Li <lich26@lenovo.com> Reviewed-by: Zhuoran Xu <xuzr3@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
47029d85d9
commit
e448c702df
1 changed files with 82 additions and 1 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#include "cypfr-fps-overlay.dtsi"
|
||||
#include "cypfr-display.dtsi"
|
||||
#include "cypfr-touchscreen.dtsi"
|
||||
#include "camera/blair-camera-sensor-mot-cypfr-overlay.dtsi"
|
||||
|
||||
&wcd937x_codec {
|
||||
cdc-vdd-rxtx-supply = <&L9A>;
|
||||
|
|
@ -36,6 +37,19 @@
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
cam_pmic_en_default: cam_pmic_en_default {
|
||||
mux {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio38";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
nfc {
|
||||
nfc_int_active: nfc_int_active {
|
||||
/* active state */
|
||||
|
|
@ -222,6 +236,74 @@
|
|||
status = "ok"
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
status = "ok"
|
||||
|
||||
cam_pmic: wl2864c@29{
|
||||
compatible = "semi,wl2864c";
|
||||
reg = <0x29>;
|
||||
|
||||
semi,cs-gpios = <&tlmm 38 0>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_pmic_en_default>;
|
||||
|
||||
vin1-supply = <&S6A>;
|
||||
|
||||
regulators {
|
||||
cam_ldo1: ldo1 {
|
||||
regulator-name = "ldo1";
|
||||
regulator-min-microvolt = <600000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
cam_ldo2: ldo2 {
|
||||
regulator-name = "ldo2";
|
||||
regulator-min-microvolt = <600000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
cam_ldo3: ldo3 {
|
||||
regulator-name = "ldo3";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_ldo4: ldo4 {
|
||||
regulator-name = "ldo4";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_ldo5: ldo5 {
|
||||
regulator-name = "ldo5";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_ldo6: ldo6 {
|
||||
regulator-name = "ldo6";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_ldo7: ldo7 {
|
||||
regulator-name = "ldo7";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8008_8 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pm8008_9 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&soc {
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
|
|
@ -273,5 +355,4 @@
|
|||
};
|
||||
};
|
||||
|
||||
#include "camera/blair-camera-sensor-mtp.dtsi"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue