AnsweredAssumed Answered

Accessing IMX6 spi in kernel space

Question asked by kiruthika varadarajan on Apr 21, 2015
Latest reply on Apr 23, 2015 by igorpadykov

Hi All,

  Currently IMX6 spi master is working with spidev driver and user application.


  How can I access the driver in kernel space itself?? I want to send some commands for system halt through SPI.

  Where can I obtain spi_device pointer?? Can I use  to_spi_device(dev) with dev information from platform_data.


  Suggest me the way to get spi_device pointer in kernel.