Pad register value for i.mx6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Pad register value for i.mx6

1,840 次查看
deexithamba
Contributor III

Hii,

How do we determine/set the value of pad register value in dtsi file?? I mean how do we calculate it exactly??

For example, 

MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX    0x1b0b0,

On which factor is the 0x1b0b0 value set ??

Can anyone explain this with one example!!

Regards,

Deexith

4 回复数

1,409 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Deexith

one can check linux documentation:

linux/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt

fsl,imx6q-pinctrl.txt\pinctrl\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel 

and sect.36.4.370 Pad Control Register (IOMUXC_SW_PAD_CTL_PAD_KEY_COL2)

i.MX6DQ Reference Manual

http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,409 次查看
deexithamba
Contributor III

Hii igorpadykov,

Can u please elaborate and explain this with any pad as an example??!!

Kind regards,

Deexith

0 项奖励

1,409 次查看
igorpadykov
NXP Employee
NXP Employee

 0x1b0b0 value=

pastedImage_1.jpg

Best regards
igor

0 项奖励

1,409 次查看
turker
Contributor IV

Have you read the IOMUX Controller chapter in the reference manual? It explains the meaning of each field in the pad control register. For your example you can search for IOMUXC_SW_PAD_CTL_PAD_KEY_COL2.

0 项奖励