Hi,

Hoping that someone could give some ideas as to why my setup gives a "fatal err update clk timeout" in dmesg when enabling mmc1 with the latest sunxi-next kernel. (not saying that it has ever worked on any previous version, just that I am just the latest sunxi-next from git).

The device is an A33 tablet using the GA10H-v1.1 board with an RDA5990P SDIO wifi chip connected to what I believe is mmc1. My intention is to bring up the mmc1 bus enough so that a probe of the sdio wifi chip can occur. I have managed to compile a RDA5990P driver and want to try it out.

I am using the mainline u-boot ga10h_v1_1.defconfig.

For the kernel dts I am using the sun8i-a33-ga10h-v1.1.dts with the addition of below to enable the mmc1

&mmc1 {
       pinctrl-names = "default";
       pinctrl-0 = <&mmc1_pins_a>;
       vmmc-supply = <&reg_vcc3v0>;
       bus-width = <4>;
       non-removable;
       status = "okay";
};

I have also confirmed from probing the tablet while it is running that the pullups for the mmc1 SDIO bus are active and at 3.3V after the tablet has finished booting. Not sure if the pullups have the correct voltage when the error occurs.

The relevant parts of the dmesg output for mmc1 are

[    0.229284] sunxi-mmc 1c10000.mmc: No vqmmc regulator found
[    0.268748] sunxi-mmc 1c10000.mmc: base:0xf009a000 irq:24
[    2.018724] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[    2.768727] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[    3.518794] sunxi-mmc 1c10000.mmc: fatal err update clk timeout

and mmc0 works fine because I am booting off of a sdcard in mmc0.

Any ideas or suggestions on things to try to get this working would be appreciated. If anyone could point to more detailed documentation of the sdcard controller, that would be great too.

Is the error saying that the SDCARD_CLK line couldn't start oscillating possibly because the sdio wifi chip is pulling it low because the chip is possibly not powered up?


Thanks!

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to