Skip to contentSkip to conversation

ii - add support for bmp085 barometer

RFC In review Matthias Brugger 1 participant 1 message Oct 14, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

RFC 2/2 ii - add support for bmp085 barometer

This patch adds support for the bmp085 digital barometer.
It is not yet complete for merge, as it has loads of comments and a define statement.

---
 drivers/staging/iio/barometer/Kconfig  |    7 +
 drivers/staging/iio/barometer/Makefile |    1 +
 drivers/staging/iio/barometer/bmp085.c |  448 ++++++++++++++++++++++++++++++++
 drivers/staging/iio/barometer/bmp085.h |   78 ++++++
 4 files changed, 534 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/iio/barometer/bmp085.c
 create mode 100644 drivers/staging/iio/barometer/bmp085.h
drivers/staging/iio/barometer/Kconfig +7 -0
index 588325c..d5942e9 100644
@@ -3,3 +3,10 @@
 #
 comment "Digital barometer sensors"
 
+config BMP085
+
+	tristate "BMP085 Barometer Sensor I2C driver"
+	depends on I2C
+	help
+	  Say yes here to build support for Bosch Sensortec BMP085,
+	  digital barometer sensor.
drivers/staging/iio/barometer/Makefile +1 -0
index 2963d72..6f20b29 100644
@@ -2,3 +2,4 @@
 # Makefile for digital gyroscope sensor drivers
 #
 
+obj-$(CONFIG_BMP085) += bmp085.o
drivers/staging/iio/barometer/bmp085.c new file +448 -0

448 lines not on this page · raw message

drivers/staging/iio/barometer/bmp085.h new file +78 -0

78 lines not on this page · raw message

Signature · 1 line
1.5.6.5