Skip to main content
Visitor II
November 10, 2022
Solved

mmci-pl18x 58005000.mmc: no support for card's volts

  • November 10, 2022
  • 2 replies
  • 3092 views

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

    This topic has been closed for replies.
    Best answer by info

    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>

    .....

    }

    2 replies

    infoAnswer
    Visitor II
    November 15, 2022

    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>

    .....

    }

    Dat TranAuthor
    Visitor II
    December 2, 2022

    Thank you, yes that was it.