]> git.baikalelectronics.ru Git - kernel.git/commit
iio: srf08: add triggered buffer support
authorAndreas Klinger <ak@it-klinger.de>
Wed, 16 Aug 2017 19:34:06 +0000 (21:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Aug 2017 07:00:17 +0000 (08:00 +0100)
commit56c01429cb4bc01d628bca1970fbf25fe2ae54ea
tree3a5ad9fcd88a5a3fae1dfa3bf3095a84b28cf121
parent21f1a7e90737cbfb08ba8110649796e297d5582c
iio: srf08: add triggered buffer support

Add support for triggered buffers.

Data format is quite simple:
  distance     16 Bit
  alignment    48 Bit
  timestamp    64 Bit

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/srf08.c