mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
arm/dt: cypfq: add camera dts
[detail] add camera dts Change-Id: I43496b0b2b39006ea5d2deaed8d8cb520ea65b45 Signed-off-by: liuwang2 <liuwang2@lenovo.com> Reviewed-on: https://gerrit.mot.com/2004229 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Qiang Guo <guoq8@motorola.com> Reviewed-by: XiaoFeng Wang <wangxf32@lenovo.com> Reviewed-by: Shuo Wang <wangsh18@motorola.com> Reviewed-by: Zhenxin Xi <xizx@motorola.com> Reviewed-by: Long Cheng <chengl1@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
bbe198dbc3
commit
7de4228bd6
1 changed files with 82 additions and 3 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/holi-camera-sensor-mot-cypfq-overlay.dtsi"
|
||||
#include "cypfq-display.dtsi"
|
||||
#include "cypfg-touchscreen.dtsi"
|
||||
|
||||
|
|
@ -106,6 +106,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 */
|
||||
|
|
@ -223,6 +236,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";
|
||||
|
|
@ -296,5 +377,3 @@
|
|||
&pm7250b_qg {
|
||||
qcom,qg-iterm-ma = <500>;
|
||||
};
|
||||
|
||||
#include "camera/holi-camera-sensor-pm6125-mtp.dtsi"
|
||||
|
|
|
|||
Loading…
Reference in a new issue