How to enable IIO driver in 3.18 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux