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