1*a980e046SJonathan Cameron# 2*a980e046SJonathan Cameron# Industrial I/O subsytem configuration 3*a980e046SJonathan Cameron# 4*a980e046SJonathan Cameron 5*a980e046SJonathan Cameronmenuconfig IIO 6*a980e046SJonathan Cameron tristate "Industrial I/O support" 7*a980e046SJonathan Cameron depends on GENERIC_HARDIRQS 8*a980e046SJonathan Cameron help 9*a980e046SJonathan Cameron The industrial I/O subsystem provides a unified framework for 10*a980e046SJonathan Cameron drivers for many different types of embedded sensors using a 11*a980e046SJonathan Cameron number of different physical interfaces (i2c, spi, etc). See 12*a980e046SJonathan Cameron Documentation/iio for more information. 13*a980e046SJonathan Cameron 14*a980e046SJonathan Cameronif IIO 15*a980e046SJonathan Cameron 16*a980e046SJonathan Cameronconfig IIO_BUFFER 17*a980e046SJonathan Cameron bool "Enable buffer support within IIO" 18*a980e046SJonathan Cameron help 19*a980e046SJonathan Cameron Provide core support for various buffer based data 20*a980e046SJonathan Cameron acquisition methods. 21*a980e046SJonathan Cameron 22*a980e046SJonathan Cameronif IIO_BUFFER 23*a980e046SJonathan Cameron 24*a980e046SJonathan Cameronconfig IIO_KFIFO_BUF 25*a980e046SJonathan Cameron select IIO_TRIGGER 26*a980e046SJonathan Cameron tristate "Industrial I/O buffering based on kfifo" 27*a980e046SJonathan Cameron help 28*a980e046SJonathan Cameron A simple fifo based on kfifo. Use this if you want a fifo 29*a980e046SJonathan Cameron rather than a ring buffer. Note that this currently provides 30*a980e046SJonathan Cameron no buffer events so it is up to userspace to work out how 31*a980e046SJonathan Cameron often to read from the buffer. 32*a980e046SJonathan Cameron 33*a980e046SJonathan Cameronendif # IIO_BUFFER 34*a980e046SJonathan Cameron 35*a980e046SJonathan Cameronconfig IIO_TRIGGER 36*a980e046SJonathan Cameron boolean "Enable triggered sampling support" 37*a980e046SJonathan Cameron help 38*a980e046SJonathan Cameron Provides IIO core support for triggers. Currently these 39*a980e046SJonathan Cameron are used to initialize capture of samples to push into 40*a980e046SJonathan Cameron ring buffers. The triggers are effectively a 'capture 41*a980e046SJonathan Cameron data now' interrupt. 42*a980e046SJonathan Cameron 43*a980e046SJonathan Cameronconfig IIO_CONSUMERS_PER_TRIGGER 44*a980e046SJonathan Cameron int "Maximum number of consumers per trigger" 45*a980e046SJonathan Cameron depends on IIO_TRIGGER 46*a980e046SJonathan Cameron default "2" 47*a980e046SJonathan Cameron help 48*a980e046SJonathan Cameron This value controls the maximum number of consumers that a 49*a980e046SJonathan Cameron given trigger may handle. Default is 2. 50*a980e046SJonathan Cameron 51*a980e046SJonathan Cameronendif # IIO 52