AnsweredAssumed Answered

How to access SPI from kernel source

Question asked by Lalabhai Desai on Nov 30, 2017
Latest reply on Nov 30, 2017 by Lalabhai Desai


 I am using IMX6UL. We have access SPI from user-space using spidev and it is working fine. Now we wants to access SPI from the kernel(from reboot.c file) to give some data to attached slaves just before the kernel power off. So please guide me how to access SPI from this place. how to initialize , configure and send/receive data through SPI from reboot.c kernel file. We are using Linux kernel 4.1.15