Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207299
b: refs/heads/master
c: 5bf1d29
h: refs/heads/master
i:
  207297: 48c8297
  207295: ad42920
v: v3
  • Loading branch information
Christoph Mair authored and Linus Torvalds committed Aug 10, 2010
1 parent c8ee28b commit 2c7083c
Show file tree
Hide file tree
Showing 5 changed files with 525 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cdf8afca2417c5ae2a940a2ff2d36af986a3cf1d
refs/heads/master: 5bf1d290b57e392eaf4bfb15c67f315fce4140be
31 changes: 31 additions & 0 deletions trunk/Documentation/ABI/testing/sysfs-i2c-bmp085
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
What: /sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input
Date: June 2010
Contact: Christoph Mair <christoph.mair@gmail.com>
Description: Start a pressure measurement and read the result. Values
represent the ambient air pressure in pascal (0.01 millibar).

Reading: returns the current air pressure.


What: /sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input
Date: June 2010
Contact: Christoph Mair <christoph.mair@gmail.com>
Description: Measure the ambient temperature. The returned value represents
the ambient temperature in units of 0.1 degree celsius.

Reading: returns the current temperature.


What: /sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling
Date: June 2010
Contact: Christoph Mair <christoph.mair@gmail.com>
Description: Tell the bmp085 to use more samples to calculate a pressure
value. When writing to this file the chip will use 2^x samples
to calculate the next pressure value with x being the value
written. Using this feature will decrease RMS noise and
increase the measurement time.

Reading: returns the current oversampling setting.

Writing: sets a new oversampling setting.
Accepted values: 0..3.
10 changes: 10 additions & 0 deletions trunk/drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,16 @@ config ARM_CHARLCD
line and the Linux version on the second line, but that's
still useful.

config BMP085
tristate "BMP085 digital pressure sensor"
depends on I2C && SYSFS
help
If you say yes here you get support for the Bosch Sensortec
BMP086 digital pressure sensor.

To compile this driver as a module, choose M here: the
module will be called bmp085.

source "drivers/misc/c2port/Kconfig"
source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ obj-$(CONFIG_AD525X_DPOT_SPI) += ad525x_dpot-spi.o
obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o
obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
obj-$(CONFIG_BMP085) += bmp085.o
obj-$(CONFIG_ICS932S401) += ics932s401.o
obj-$(CONFIG_LKDTM) += lkdtm.o
obj-$(CONFIG_TIFM_CORE) += tifm_core.o
Expand Down
Loading

0 comments on commit 2c7083c

Please sign in to comment.