Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22e3f2cc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Update regulator handles for SDM429w"

parents 83e20fa2 6bb1a03d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -708,3 +708,13 @@
	vdd-io-supply = <&L13A>;
	qcom,vdd-io-current-level = <0 60000>;
};

&sdhc_2 {
       /* device core power supply */
	vdd-supply = <&vreg_sd_vdd>;
	qcom,vdd-current-level = <0 800000>;

	/* device communication power supply */
	vdd-io-supply = <&vreg_sd_pad>;
	qcom,vdd-io-current-level = <0 10000>;
};
+20 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpm-smd-regulator.h>
#include <dt-bindings/gpio/gpio.h>

&rpm_bus {
	/* PM660 S1 - VDD_CX supply */
@@ -338,4 +339,23 @@
	regulator@b018000 {
		vdd-apc-supply = <&pm660_s3>;
	};

	vreg_sd_pad: vreg_sd_pad {
		compatible = "regulator-gpio";
		retulator-name = "vreg_sd_pad";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <2950000>;
		enable-gpio = <&tlmm 63 GPIO_ACTIVE_HIGH>;
		gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
		states = <1800000 0>, <2950000 1>;
		startup-delay-us = <200000>;
		enable-active-high;
	};

	vreg_sd_vdd: sd-vdd-fixed-regulator {
		compatible = "regulator-fixed";
		regulator-name = "sd_vdd";
		regulator-min-microvolt = <2950000>;
		regulator-max-microvolt = <2950000>;
	};
};