Pad register value for i.mx6

cancel
Showing results for 
Search instead for 
Did you mean: 

Pad register value for i.mx6

681 Views
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 Replies

250 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

250 Views
deexithamba
Contributor III

Hii igorpadykov,

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

Kind regards,

Deexith

0 Kudos

250 Views
igorpadykov
NXP TechSupport
NXP TechSupport

 0x1b0b0 value=

pastedImage_1.jpg

Best regards
igor

0 Kudos

250 Views
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 Kudos