mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
arm64/dts: miami: pmic wl2864c bring up
Change-Id: Ie426ea2dec599ab5044a193874e93ab6a953f55a Signed-off-by: chenlj26 <chenlj26@motorola.com> Reviewed-on: https://gerrit.mot.com/2226887 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Long Cheng <chengl1@motorola.com> Reviewed-by: Wang Liu <liuwang2@lenovo.com> Reviewed-by: Zhuoran Xu <xuzr3@motorola.com> Reviewed-by: <zhaoxy41@motorola.com> Reviewed-by: Zhichao Chen <chenzc2@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
555902b7d6
commit
f63a760c76
2 changed files with 75 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#include "miami-display.dtsi"
|
||||
#include "miami-touchscreen.dtsi"
|
||||
//#include "camera/blair-camera-sensor-mot-miami-overlay.dtsi"
|
||||
#include "miami-wl2868c.dtsi"
|
||||
#include "miami-wl2864c.dtsi"
|
||||
#include "tcpc_config.dtsi"
|
||||
#include "sgm7220.dtsi"
|
||||
#include "discrete_charging_miami.dtsi"
|
||||
|
|
|
|||
74
qcom/miami-wl2864c.dtsi
Normal file
74
qcom/miami-wl2864c.dtsi
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
&tlmm{
|
||||
pmic_en_default: pmic_en_default {
|
||||
mux {
|
||||
pins = "gpio33";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio33";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gcc {
|
||||
qcom,critical-devices = <&qupv3_se2_i2c>;
|
||||
};
|
||||
|
||||
&qupv3_se2_i2c {
|
||||
status = "ok"
|
||||
qcom,leica-used-i2c;
|
||||
cam_pmic: wl2864c@29{
|
||||
compatible = "semi,wl2864c";
|
||||
reg = <0x29>;
|
||||
semi,cs-gpios = <&tlmm 33 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_en_default>;
|
||||
vin1-supply = <&S6A>;
|
||||
|
||||
regulators {
|
||||
cam_pmic_ldo1: ldo1 {
|
||||
regulator-name = "ldo1";
|
||||
regulator-min-microvolt = <600000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo2: ldo2 {
|
||||
regulator-name = "ldo2";
|
||||
regulator-min-microvolt = <600000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo3: ldo3 {
|
||||
regulator-name = "ldo3";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo4: ldo4 {
|
||||
regulator-name = "ldo4";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo5: ldo5 {
|
||||
regulator-name = "ldo5";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo6: ldo6 {
|
||||
regulator-name = "ldo6";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
|
||||
cam_pmic_ldo7: ldo7 {
|
||||
regulator-name = "ldo7";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <4300000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue