Hi Igor,
Thanks for the response.
Indeed I followed the linux documentation. [As I mentioned in my initial post]. But still I dont see wp enabled when the GPIO is set to high through hardware.
I configured the register MX6UL_PAD_CSI_DATA04__USDHC1_WP
[#define MX6UL_PAD_CSI_DATA04__USDHC1_WP 0x01F4 0x0480 0x0000 8 0] in DTB set to 0x17059.

& modified usdhc1 node as mentioned below.
&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";
};
Even polarity is checked - GPIO value toggles when pin input toggles. But WP functionality is not working as expected. [it allows file/folder creation still to the mmc]. Can you please let me know if I miss any further setting?
Thanks in advance for your support.
BR,
Anantha R