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,
BR,
N.S.
Solved! Go to Solution.
Hi Nori
that may be done due to board routing convenience, as for usage native
cd,wp - this is described in linux documentation
linux-2.6-imx.git - Freescale i.MX Linux Tree
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Nori
that may be done due to board routing convenience, as for usage native
cd,wp - this is described in linux documentation
linux-2.6-imx.git - Freescale i.MX Linux Tree
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Igor,
Thanks let me know the document!
BR,
N.Shinozaki
Hi Nori
it is in linux/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
Best regards
igor