From 30bbec2e7af7273b3b6438fa764029d0910a4b42 Mon Sep 17 00:00:00 2001 From: luozhq15 Date: Sat, 6 Nov 2021 21:43:35 +0800 Subject: [PATCH] rhode: rhode 4G ldo wl2868c config[1/3] Rhode 4G wl2868c ldo bringup modify ldo file Change-Id: I18efbe0f733ed99d7c2ab4a3c1ee07b4b93856f8 Signed-off-by: luozhq15 Reviewed-on: https://gerrit.mot.com/2109321 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Long Cheng Reviewed-by: PengFei Qiao Reviewed-by: Shuo Wang Reviewed-by: XiaoFeng Wang Reviewed-by: Xingyun Fu Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- qcom/khaje-rhode-common-overlay.dtsi | 78 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/qcom/khaje-rhode-common-overlay.dtsi b/qcom/khaje-rhode-common-overlay.dtsi index dd972eec517f..8fb16469b29e 100644 --- a/qcom/khaje-rhode-common-overlay.dtsi +++ b/qcom/khaje-rhode-common-overlay.dtsi @@ -101,3 +101,81 @@ aw9610x,firmware_name = "aw9610x_0"; }; }; +&tlmm{ + cam_pmic_en_default: cam_pmic_en_default { + mux { + pins = "gpio26"; + function = "gpio"; + }; + config { + pins = "gpio26"; + drive-strength = <2>; + bias-pull-up; + output-high; + }; + }; +}; +&qupv3_se1_i2c { + status = "ok"; + cam_pmic: wl2868c@2F{ + compatible = "semi,wl2868c"; + reg = <0x2F>; + + semi,cs-gpios = <&tlmm 26 1>; + + pinctrl-0 = <&cam_pmic_en_default>; + pinctrl-names = "default"; + + vin1-supply = <&S6A>; + + regulators { + cam_ldo1: ldo1 { + regulator-name = "ldo1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3787500>; + }; + + cam_ldo2: ldo2 { + regulator-name = "ldo2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <3787500>; + }; + + cam_ldo3: ldo3 { + regulator-name = "ldo3"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4387500>; + }; + + cam_ldo4: ldo4 { + regulator-name = "ldo4"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4387500>; + }; + + cam_ldo5: ldo5 { + regulator-name = "ldo5"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4387500>; + }; + + cam_ldo6: ldo6 { + regulator-name = "ldo6"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4387500>; + }; + + cam_ldo7: ldo7 { + regulator-name = "ldo7"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4387500>; + }; + }; + }; +}; +&pm8008_8 { + status = "disabled"; +}; +&pm8008_9 { + status = "disabled"; +}; \ No newline at end of file