Dear Supporter,
We want to know how can enable sdmmc3.
Some similar problems were found from forums, but none of them can solve the problem of not being able to catch SDCard
this is my change:
tegra194-p3668-common.dtsi :
265 sdhci_sd3: sdhci@3440000 {
266 mmc-ocr-mask = <0x0>;
267 cd-inverted;
268 cd-gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(O, 5) 0>;
269 nvidia,cd-wakeup-capable;
270 mmc-ocr-mask = <0>;
271 cd-inverted;
272 vmmc-supply = <&p3668_vdd_sdmmc3_sw>;
273 status = “okay”;
274 };
sorry, it’s my fault.
In the previous , i have not use gpio in sdmmc3.
37 p3668_vdd_sdmmc3_sw: regulator@106 {
38 compatible = “regulator-fixed”;
39 reg = <106>;
40 regulator-name = “vdd-sdmmc3-sw”;
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
43 // gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 2) 0>;
44 regulator-always-on;
45 enable-active-high;
46 };
Can i use it, the same config as sdmmc1
May be it’s to hard to me, thanks for your reply.
Just a personal suggestion. Can you stop putting your comment inside the grey box…?
This is really not very good to read when you put code and your comments in the same grey box together.
You can use that to put the code or log, but please do not put the comment in it…
Also, pin G,2 does not have module pin out on jetson NX at all… thus I am not sure why you put it in your regulator…
What is the dmesg result after you remove it? The gpio here needs to match the hardware design… if it does not exist on your design, then you don’t have to write it.
Your log still shows no sdmmc3 activity so far.
And, there are also lots of sdmmc3 case on this forum… you can refer to their dts too.
Dear maintainer,
Pin G.2 is contained in sdmmc1 itself, and sdmmc3 did not exist before.I copied the content in sdmmc1 as sdmmc3 to use.Since I don’t know the usage of regulator GPIO, I commented it out.
In addition, I have tried the two modifications you mentioned but it still doesn’t work.
Looking forward to your reply.