2022-11-10 07:51 AM
We don't use PMIC so we remove vmmc-supply = <&v3v3>; in device tree.
what should be in vmmc-supply if we connect SD_VDD constantly to 3.3V, no pmic?
Many thanks
Solved! Go to Solution.
2022-11-15 02:38 AM
I have done the same - no STPMIC chip.
You need to declare a fixed voltage power supply in your device tree and use it with the MMC. If you do not do that the MMC driver will not initialize.
You will have to do similar with USB if you plan on using that.
Add to your root node (or where ever suitable}
vmmc: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "vmmc";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
&sdmm1 ( //choose your mmc (1,2,3) here
.....
vmmc-supply = <&vmmc>
.....
}
2022-11-15 02:38 AM
I have done the same - no STPMIC chip.
You need to declare a fixed voltage power supply in your device tree and use it with the MMC. If you do not do that the MMC driver will not initialize.
You will have to do similar with USB if you plan on using that.
Add to your root node (or where ever suitable}
vmmc: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "vmmc";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
&sdmm1 ( //choose your mmc (1,2,3) here
.....
vmmc-supply = <&vmmc>
.....
}
2022-12-02 06:56 AM
Thank you, yes that was it.