sensor: add driver for BMA280 accelerometer
Add device driver for the BMA280 I2C-based triaxial accelerometer sensor, which supports reading data from the accel-x, accel-y, accel-z and temperature channels. The driver also has support for data-ready and any-motion triggers. Datasheet: http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMA280-DS000-11_published.pdf Origin: Original Change-Id: Iff7246d7dd4a9358ec7a71e8ffbcfcccd49e393c Signed-off-by: Bogdan Davidoaia <bogdan.m.davidoaia@intel.com> Signed-off-by: Teodora Baluta <teodora.baluta@intel.com>
This commit is contained in:
parent
ace49af6b0
commit
fe9c947fee
6 changed files with 854 additions and 0 deletions
|
@ -2,6 +2,8 @@ ccflags-y +=-I$(srctree)/drivers
|
|||
|
||||
obj-$(CONFIG_SENSOR_DELAYED_WORK) += sensor.o
|
||||
|
||||
obj-$(CONFIG_BMA280) += sensor_bma280.o
|
||||
obj-$(CONFIG_BMA280_TRIGGER) += sensor_bma280_trigger.o
|
||||
obj-$(CONFIG_MCP9808) += sensor_mcp9808.o
|
||||
obj-$(CONFIG_MCP9808_TRIGGER) += sensor_mcp9808_trigger.o
|
||||
obj-$(CONFIG_SX9500) += sensor_sx9500.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue