iio: common: ssp_sensors: Add sensorhub driver
authorKarol Wrona <k.wrona@samsung.com>
Wed, 28 Jan 2015 14:05:50 +0000 (15:05 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 29 Jan 2015 18:49:05 +0000 (18:49 +0000)
commit50dd64d57eee8aed1a86e875ce77d078e44fad00
tree9ff907c4488b35999f28c8d1fa55fc1c46e8e628
parent1664f6a5b0c85a006126c398988d06a0059a50a4
iio: common: ssp_sensors: Add sensorhub driver

Sensorhub  is MCU dedicated to collect data and manage several sensors.
Sensorhub is a spi device which provides a layer for IIO devices. It provides
some data parsing and common mechanism for sensorhub sensors.

Adds common sensorhub library for sensorhub driver and iio drivers
which uses sensorhub MCU to communicate with sensors.

Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/Kconfig
drivers/iio/common/Makefile
drivers/iio/common/ssp_sensors/Kconfig [new file with mode: 0644]
drivers/iio/common/ssp_sensors/Makefile [new file with mode: 0644]
drivers/iio/common/ssp_sensors/ssp.h [new file with mode: 0644]
drivers/iio/common/ssp_sensors/ssp_dev.c [new file with mode: 0644]
drivers/iio/common/ssp_sensors/ssp_spi.c [new file with mode: 0644]
include/linux/iio/common/ssp_sensors.h [new file with mode: 0644]