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
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!
-----------------------------------------------------------------------------------------------------------------------
Hii igorpadykov,
Can u please elaborate and explain this with any pad as an example??!!
Kind regards,
Deexith
0x1b0b0 value=
Best regards
igor
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.