This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: MMC CLK disable from userspace

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi All,

I want to control my mmc-3 clk pin which is connected with wifi.

Need to disable this pin from userspace to reduce noise.

Below is my DTS configuration :

        mmc3_pins: pinmux_mmc3_pins {
                pinctrl-single,pins = <
                        AM33XX_IOPAD(0x88C, PIN_INPUT | MUX_MODE3 | SLEWCTRL_SLOW) /* (T13) mmc2_clk */
                        AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE3 | SLEWCTRL_SLOW) /* (V12) mmc2_cmd */
                        AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE3 | SLEWCTRL_SLOW) /* (V14) mmc2_dat0 */
                        AM33XX_IOPAD(0x848, PIN_INPUT_PULLUP | MUX_MODE3 | SLEWCTRL_SLOW) /* (U14) mmc2_dat1 */
                        AM33XX_IOPAD(0x84C, PIN_INPUT_PULLUP | MUX_MODE3 | SLEWCTRL_SLOW) /* (T14) mmc2_dat2 */
                        AM33XX_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE3 | SLEWCTRL_SLOW) /* (U18) mmc2_dat3 */
                >;
        };

Is it possible to disable it from userspace? Or any possible way to disable the mmc-3 whole pins ?

Can you suggest me the possible way to do that.