summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/bmc150_magn_i2c.c
Commit message (Collapse)AuthorAgeFilesLines
* iio: magn: Add support for BMM150 magnetometerDaniel Baluta2016-05-211-0/+3
| | | | | | | | | | | BMM150 is register compatible with magnetometer part of BMC156. Datasheet is at: http://www.mouser.com/ds/2/783/BST-BMM150-DS001-01-786480.pdf Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: magn: Split bmc150 driver in common/i2c partsDaniel Baluta2016-04-181-0/+77
This is useful for easily adding SPI support in later patches. Now bmc150_magn exports core functions to be used by I2C/SPI drivers instances. For the moment only I2C driver is supported. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Acked-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
OpenPOWER on IntegriCloud