Hi, community!
I am using i.MX 6UltraLite chip development board, want to use IOMUX in the device tree to add GPT GPIO,
"#define MX6UL_PAD_UART2_TX_DATA__GPT1_CAPTURE1 0x0094 0x0320 0x058C 41". i am not sure how to add the above parts.by the way, if only need the CAPTURE function, how to write the drive. it seems that it has to be changed.
Thank you!
Hi zhujun
regarding linux gpt driver please refer to sect.3.3 Timer attached
Linux Manual. Availabe dts properties are described in
Linux/Documentation/../fsl,imxgpt.txt
linux-2.6-imx.git - Freescale i.MX Linux Tree
Tutorial for writing linux driver can be found on web, for example
http://www.tldp.org/LDP/lkmpg/2.6/lkmpg.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------