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
[detail] add camera config for cypfr Change-Id: I6f2f17507c45a5c4166d6fed165d93d49ad44acb Signed-off-by: liuwang2 <liuwang2@lenovo.com> Reviewed-on: https://gerrit.mot.com/2039722 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Bolei Shang <shangbl1@lenovo.com> Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
285153bbca
commit
53ef4e8f5e
1 changed files with 82 additions and 5 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "holi-pmic-overlay-pm6125.dtsi"
|
||||
#include "holi-thermal-overlay-pm6125.dtsi"
|
||||
#include "display/holi-sde-display-mtp-pm6125.dtsi"
|
||||
#include "camera/holi-camera-pm6125-overlay.dtsi"
|
||||
#include "camera/blair-camera-sensor-mot-cypfr-overlay.dtsi"
|
||||
|
||||
&wcd937x_codec {
|
||||
cdc-vdd-rxtx-supply = <&L9A>;
|
||||
|
|
@ -100,6 +100,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 */
|
||||
|
|
@ -217,6 +230,74 @@
|
|||
};
|
||||
};
|
||||
|
||||
&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";
|
||||
|
|
@ -254,7 +335,3 @@
|
|||
&pm7250b_vib {
|
||||
qcom,vib-ldo-volt-uv = <3000000>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#include "camera/holi-camera-sensor-pm6125-mtp.dtsi"
|
||||
|
|
|
|||
Loading…
Reference in a new issue