]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: mpl3115: add support for sampling frequency
authorAntoni Pokusinski <apokusinski01@gmail.com>
Thu, 2 Oct 2025 20:02:06 +0000 (22:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:17 +0000 (11:59 +0100)
commit1d09cf18cc91d29f650ad9811ed4868d9304d6c7
tree621fda5a7433a62ba4514634131b1f343943da2b
parent8464f61099c2a6a434a995fecd565f12cdec21d5
iio: mpl3115: add support for sampling frequency

When the device is in ACTIVE mode the temperature and pressure measurements
are collected with a frequency determined by the ST[3:0] bits of CTRL_REG2
register.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/mpl3115.c