From: Irina Tirdea Date: Wed, 29 Apr 2015 18:16:37 +0000 (+0300) Subject: iio: magn: Add support for BMC150 magnetometer X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~628^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c91746a2361d;p=pandora-kernel.git iio: magn: Add support for BMC150 magnetometer Add support for the Bosh BMC150 Magnetometer. The specification can be downloaded from: http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf. The chip contains both an accelerometer and a magnetometer. This patch adds support only for the magnetometer part. The temperature compensation formulas are based on bmm050_api.c authored by contact@bosch.sensortec.com. Signed-off-by: Irina Tirdea Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed