AnsweredAssumed Answered

i.MX6Q Sabre SD2 CD &WP pins are not used

Question asked by Nori Shinozaki on Jul 14, 2016
Latest reply on Jul 15, 2016 by igorpadykov

Hello Champs,


In the i.MX6Q Sabre SD, SD2 and SD3's CD and WP pins look able to be used as are the functions.


However these CD and SP are not used in Sabre BSP but GPIOs are used for the functions.

In 3.14.28 dbs:


        pinctrl-0 = <&pinctrl_usdhc3>;

        cd-gpios = <&gpio2 0 0>;

        wp-gpios = <&gpio2 1 0>;


Could you explain what is the reason?

Can we simply do like this ?


        .cd_gpio = SABRESD_SD2_CD,

        .wp_gpio = SABRESD_SD2_WP,