summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/ms5611.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iio: pressure: ms5611: switch to SPDX identifierTomasz Duszynski2018-09-081-4/+1
| | | | | | | Drop boilerplate license text and use SPDX identifier instead. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
* iio:pressure:ms5611: Fix coding style in probe functionrodrigosiqueira2018-02-171-1/+1
| | | | | | | | | | | This patch fixes the checkpatch.pl warning and error: iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
* iio:pressure:ms5611: fix missing regulator_disableGregor Boirie2016-03-201-0/+3
| | | | | | | | Ensure optional regulator is properly disabled when present. Fixes: 3145229f9191 ("iio:pressure:ms5611: power regulator support") Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:pressure:ms5611: oversampling rate supportGregor Boirie2016-03-051-6/+14
| | | | | | | | | | | | | | | Add support for setting and retrieving OverSampling Rate independently for each of the temperature and pressure channels. This allows userspace to fine tune hardware sampling process according to the following tradeoffs : * the higher the OSR, the finer the resolution ; * the higher the OSR, the lower the noise ; BUT: * the higher the OSR, the larger the drift ; * the higher the OSR, the longer the response time, i.e. less samples per unit of time. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:pressure:ms5611: use probed device nameGrégor Boirie2016-02-241-1/+2
| | | | | | | Use name of probed device instead of driver's one when registering device. Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: pressure: ms5611: Add triggered buffer supportDaniel Baluta2016-02-061-0/+1
| | | | | | | | This will be used together with an external trigger (e.g hrtimer based software trigger). Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: pressure: ms5611: add support for MS5607 temperature and pressure sensorTomasz Duszynski2015-07-051-2/+14
| | | | | | | | | MS5607 is temperature and pressure sensor which hardware is similar to MS5611. Both sensors share command protocol and support both I2C and SPI serial protocols. They only differ in compensation algorithms. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: pressure: add support for MS5611 pressure and temperature sensorTomasz Duszynski2015-03-151-0/+44
Add support for Measurement Specialities MS5611 pressure and temperature sensor. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>