Need platform file for GPIO setting etc.

cancel
Showing results for 
Search instead for 
Did you mean: 

Need platform file for GPIO setting etc.

156 Views
hsiddiquee
Contributor II

Hello All, 

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.

Thank you

0 Kudos
2 Replies

152 Views
igorpadykov
NXP TechSupport
NXP TechSupport
0 Kudos

130 Views
hsiddiquee
Contributor II

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.

 

Thank you

0 Kudos