mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
ARM: dts: msm: Add SD card regulator devices for sdxlemur
Add regulator devices for the external gpio-controlled regulators which power the SD Card slot on sdxlemur boards. Change-Id: I242680740f6f211ed25e70716fdb1c93512c70fe
This commit is contained in:
parent
2fc8e1a94f
commit
cb89c70067
1 changed files with 22 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/* RPMh regulators: */
|
||||
&apps_rsc {
|
||||
|
|
@ -490,4 +491,25 @@
|
|||
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
|
||||
};
|
||||
};
|
||||
|
||||
vreg_vddpx_2: vddpx2-gpio-regulator {
|
||||
compatible = "regulator-gpio";
|
||||
regulator-name = "vddpx_2";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2850000>;
|
||||
enable-gpio = <&tlmm 98 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
|
||||
states = <1800000 0>,
|
||||
<2850000 1>;
|
||||
startup-delay-us = <200000>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
vreg_sd_vdd: sd-vdd-fixed-regulator {
|
||||
compatible = "qcom,stub-regulator";
|
||||
regulator-name = "sd_vdd";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
parent-supply = <&vreg_vddpx_2>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue