Loading arch/arm64/boot/dts/qcom/sdm429w-pm660.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -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>; }; arch/arm64/boot/dts/qcom/sdm429w-regulator.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading @@ -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>; }; }; Loading
arch/arm64/boot/dts/qcom/sdm429w-pm660.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -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>; };
arch/arm64/boot/dts/qcom/sdm429w-regulator.dtsi +20 −0 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading @@ -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>; }; };