linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Mair <christoph.mair@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Jonathan Cameron <kernel@jic23.retrosnub.co.uk>,
	Stefan Schmidt <stefan@datenfreihafen.org>,
	Datta Shubhrajyoti <shubhrajyoti@ti.com>,
	Christoph Mair <christoph.mair@gmail.com>
Subject: [PATCH 1/2] Add ABI documentation for the bmp085 digital pressure sensor.
Date: Sat, 26 Jun 2010 13:10:23 +0200	[thread overview]
Message-ID: <1277550624-13879-2-git-send-email-christoph.mair@gmail.com> (raw)
In-Reply-To: <20100621144958.d5fc694e.akpm@linux-foundation.org>

Signed-off-by: Christoph Mair <christoph.mair@gmail.com>
---
 Documentation/ABI/testing/sysfs-i2c-bmp085 |   31 ++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-i2c-bmp085

diff --git a/Documentation/ABI/testing/sysfs-i2c-bmp085 b/Documentation/ABI/testing/sysfs-i2c-bmp085
new file mode 100644
index 0000000..585962a
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-i2c-bmp085
@@ -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.
-- 
1.7.1


  parent reply	other threads:[~2010-06-26 11:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-19  1:58 [PATCH] Support for the pressure sensor BMP085 from Bosch Sensortec Christoph Mair
2010-06-19 10:29 ` Jonathan Cameron
2010-06-20  0:27   ` Christoph Mair
2010-06-20 11:00     ` Jonathan Cameron
2010-06-20 20:50       ` Christoph Mair
2010-06-21  6:45         ` Datta, Shubhrajyoti
2010-06-21  8:52         ` Datta, Shubhrajyoti
2010-06-21 21:49         ` Andrew Morton
2010-06-22 23:26           ` Christoph Mair
2010-06-23 11:41             ` Jonathan Cameron
2010-06-26 11:10           ` bmp085: add inline and ABI documentation Christoph Mair
2010-06-26 11:10           ` Christoph Mair [this message]
2010-06-26 11:10           ` [PATCH 2/2] bmp085: Add interface documentation and link to datasheet Christoph Mair

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1277550624-13879-2-git-send-email-christoph.mair@gmail.com \
    --to=christoph.mair@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=kernel@jic23.retrosnub.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shubhrajyoti@ti.com \
    --cc=stefan@datenfreihafen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).