Set GPIO input pull-down

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Set GPIO input pull-down

1,034件の閲覧回数
wangtsungli
Contributor IV

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!

ラベル(5)
0 件の賞賛
返信
1 返信

715件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信