iio: dps310: Add pressure sensing capability
authorEddie James <eajames@linux.ibm.com>
Tue, 21 May 2019 02:13:34 +0000 (21:13 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 8 Jun 2019 11:33:32 +0000 (12:33 +0100)
commitd711a3c7dc829c91048276db09b2794ad84498af
tree8476d8d45dd860cf4c0c2ee5de38862763370275
parentcc8baffe176197645ed674b38cef1d8548769a69
iio: dps310: Add pressure sensing capability

The DPS310 supports measurement of pressure, so support that in the
driver. Use background measurement like the temperature sensing and
default to lowest precision and lowest measurement rate.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/dps310.c