Hi Community,
I'm working on i.MX6 Dual Lite sabre-SD.
I'm trying to set gpio to input pull-down.
Here is my settings in dtsi.
MX6QDL_PAD_SD2_CMD__GPIO1_IO11 0x80000000
But this settings will set gpio input pull-high.
How can I set it to input pull-down?
Thanks in advanced!
Hi tsung
"8" means that pin does not need config according to documentation :
linux/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt
fsl,imx-pinctrl.txt\pinctrl\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel
so one can remove it and set appropriate pull bits as described in sect.36.4.460 Pad Control Register
(IOMUXC_SW_PAD_CTL_PAD_SD2_CMD) i.MX6DQ Reference Manual
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------