imx6UL mmc wp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6UL mmc wp

356 Views
anantharamachan
Contributor III

Hi,

I'm using i.MX6UL processor. I want to enable write protection for the usdhc1 [mmc].

But setting the register MX6UL_PAD_CSI_DATA04__USDHC1_WP to proper value. but still seeing write protection is not enabled for the sd card connected.

I even tried adding following line to DTS file:

&usdhc1 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usdhc1>;
    cd-gpios = <&gpio2 21 0>;
    wp-gpios = <&gpio4 25 0>;
    no-1-8-v;
    keep-power-in-suspend;
    enable-sdio-wakeup;
    status = "okay";
};

But still it didnt work.

Am I missing any setting further? Can you please help me out.

BR,

Anantha R

Tags (1)
0 Kudos
0 Replies