]> git.karo-electronics.de Git - linux-beck.git/commit
iio: gyro: bmi055 gyro sensor driver
authorIrina Tirdea <irina.tirdea@intel.com>
Sun, 9 Feb 2014 11:59:00 +0000 (11:59 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Sep 2014 17:40:42 +0000 (18:40 +0100)
commit3a0888edcffd9406f1cbbe240f4533e35db67e81
treed5771be76c81b68ecfa4e14f93cda3fb5735fbe2
parentc9bf2373da2144dec511503cebf5f8a63b0dcff3
iio: gyro: bmi055 gyro sensor driver

Add support for the BMI055 gyroscope sensor. BMI055 is a package
consisting of an acceleration sensor and a gyroscope. This patch
adds support for the gyroscope only.

Spec downloaded from:
http://ae-bst.resource.bosch.com/media/products/dokumente/bmi055/BST-BMI055-DS000-06.pdf

The BMI055 gyroscope uses the same register definition as BMG160,
but does not specify a temp register. However, the temp register
seems to be working in the same way as for BMG160, so this patch
does not remove the temp channel for BMI055.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/Kconfig
drivers/iio/gyro/bmg160.c