Hi,all
Now we are in Android 5.0 on MX6DL, Before this ,we can read somes values in some specific addr by readl(). But now I dont know how to access into some specific addr to read the values. Because I cannot find the file conaining the addr macros. So should we get the value by DTS? Can you help me?
Thank you ~
Hi tony
in mach-imx directory, mach-imx6q.c, cpu.c files one can find examples: readl_relaxed, __raw_read
https://www.kernel.org/doc/htmldocs/deviceiobook/accessing_the_device.html
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------