From mboxrd@z Thu Jan 1 00:00:00 1970 From: munagala.nareshbabu@gmail.com (Munagala Naresh) Date: Wed, 1 Jun 2016 08:19:20 +0530 Subject: How to enable IIO driver in 3.18 kernel Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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