Forcing to configure my sdio device in high speed mode instead of SDR50

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Forcing to configure my sdio device in high speed mode instead of SDR50

ソリューションへジャンプ
2,163件の閲覧回数
jtobias
Contributor III

Hi,

My wireless device is running SDR50 on iMX6SL. For some reason, I need to test the device in high speed mode.

I would like to know how to force the sdhci-esdhc-imx.c to configure the device in high speed mode

instead of SDR50?.


Regards,

john

ラベル(1)
0 件の賞賛
返信
1 解決策
1,904件の閲覧回数
DongAisheng
NXP Employee
NXP Employee

Hi John,

If you're using FSL release L3.10 kernel or latest upstream kernel,

there're two ways to disble USH mode for the card.

1. you can simply disable USH mode by adding no-1-8-v property under the device node.

e.g.

&usdhc1 {

        pinctrl-names = "default", "state_100mhz", "state_200mhz";

        pinctrl-0 = <&pinctrl_usdhc1_1>;

        pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>;

        pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>;

        bus-width = <8>;

        cd-gpios = <&gpio4 7 0>;

        wp-gpios = <&gpio4 6 0>;

        no-1-8-v;

        keep-power-in-suspend;

        enable-sdio-wakeup;

        status = "okay";

};

2. Do not define uhs pinctrl state, then driver will also automatically fall back to non-uhs mode

for the card.

e.g.

&usdhc1 {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_usdhc1_1>;

        bus-width = <8>;

        cd-gpios = <&gpio4 7 0>;

        wp-gpios = <&gpio4 6 0>;

        keep-power-in-suspend;

        enable-sdio-wakeup;

        status = "okay";

};

Regards

Dong Aisheng

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,905件の閲覧回数
DongAisheng
NXP Employee
NXP Employee

Hi John,

If you're using FSL release L3.10 kernel or latest upstream kernel,

there're two ways to disble USH mode for the card.

1. you can simply disable USH mode by adding no-1-8-v property under the device node.

e.g.

&usdhc1 {

        pinctrl-names = "default", "state_100mhz", "state_200mhz";

        pinctrl-0 = <&pinctrl_usdhc1_1>;

        pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>;

        pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>;

        bus-width = <8>;

        cd-gpios = <&gpio4 7 0>;

        wp-gpios = <&gpio4 6 0>;

        no-1-8-v;

        keep-power-in-suspend;

        enable-sdio-wakeup;

        status = "okay";

};

2. Do not define uhs pinctrl state, then driver will also automatically fall back to non-uhs mode

for the card.

e.g.

&usdhc1 {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_usdhc1_1>;

        bus-width = <8>;

        cd-gpios = <&gpio4 7 0>;

        wp-gpios = <&gpio4 6 0>;

        keep-power-in-suspend;

        enable-sdio-wakeup;

        status = "okay";

};

Regards

Dong Aisheng

0 件の賞賛
返信
1,904件の閲覧回数
jtobias
Contributor III

Hi Dong,

Thanks for the info.

Regards,

john

0 件の賞賛
返信
1,904件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi John,

If you have solved your problem, please help  click the Correct Answer button. Thank you very much~~

Have a nice day.

Best Regards

Dan

0 件の賞賛
返信