iio: pressure: mprls0025pa add triplet property
authorPetre Rodan <petre.rodan@subdimension.ro>
Fri, 29 Dec 2023 09:24:37 +0000 (11:24 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 23 Jan 2024 22:06:54 +0000 (22:06 +0000)
commitd8fd0449e2208407a2f4b191b6d4161203c50f0c
treebd08ec734be907b7da5dfd477afcc326bba52b93
parent63cd31d320b50b7e004964c04ce3e73935cd3873
iio: pressure: mprls0025pa add triplet property

Add honeywell,pressure-triplet property that automatically initializes
pmin-pascal, pmax-pascal so that the user is not required to look-up
the chip in the datasheet and convert various units to pascals himself.

Co-developed-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Link: https://lore.kernel.org/r/20231229092445.30180-10-petre.rodan@subdimension.ro
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/mprls0025pa.c