I'm using imx8m Mini eval kit with Yocto Linux on it. I'm working on a RFID ST25r3916 Discovery board for NFC communication. This task required platform.h file. To provides platform specific settings like GPIO assignment, system resources, locks and IRQs, which are required for correct operation of the RFAL.
can anyone guild me how can I get those files. Or in case I need to implement those files, is there any document to do it.
one can look at processor resource description in i.MX Linux Reference Manual
it shows files location in linux:
None of the source help me to find gpiochip mapping. I found the library that is build for Raspberry and it is working great with NXP. But I need gpiochip map to physical pin on imx8m mini eval. It would be great if you can tell me how these gpiochip map with the external physical pins. I'm also interested in any particular formula to calculate gpio number from gpiochip bank and line number.