How to enable IIO driver in 3.18 kernel

Munagala Naresh munagala.nareshbabu at gmail.com
Tue May 31 22:49:20 EDT 2016


HI team,

We are integrating one sensor driver in to LE platform. After adding sensor
driver, it is creating device @ /sys/bus/iio/devices/iio:device0,1,2.


Sensor driver makes use of IIO subsystem framework. We are not seeing iio
device creation @ */dev/iio:device0*,1,2

I have enabled below configuration in the defconfing along with sensor
configuration.

CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
CONFIG_IIO_BUFFER_CB=y
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGERED_BUFFER=y
CONFIG_IIO_TRIGGER=y
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2

I'm able to see kernel prints from"iio_device_register" function.
Appreciate any pointers on this regard.

Kernel version: 3.18

-- 
Regards
Naresh Babu
09900139337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/a2ed58a2/attachment-0001.html 


More information about the Kernelnewbies mailing list