iio: pressure: driver for Honeywell HSC/SSC series
authorPetre Rodan <petre.rodan@subdimension.ro>
Thu, 7 Dec 2023 16:46:29 +0000 (18:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 11 Dec 2023 19:16:35 +0000 (19:16 +0000)
commit6362d96585e35b433981b3833a9e2737cec33774
tree871fba94c675d451276210b573ff216b45a8b34e
parent5fc0a980cca0b0d98558abbc7691b5f24d573b1a
iio: pressure: driver for Honeywell HSC/SSC series

Adds driver for digital Honeywell TruStability HSC and SSC series
pressure and temperature sensors.
Communication is one way. The sensor only requires 4 bytes worth of
clock pulses on both i2c and spi in order to push the data out.
The i2c address is hardcoded and depends on the part number.
There is no additional GPIO control.
code is now based on iio/togreg

Datasheet:
https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/trustability-hsc-series/documents/sps-siot-trustability-hsc-series-high-accuracy-board-mount-pressure-sensors-50099148-a-en-ciid-151133.pdf [HSC]
Datasheet:
https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/trustability-ssc-series/documents/sps-siot-trustability-ssc-series-standard-accuracy-board-mount-pressure-sensors-50099533-a-en-ciid-151134.pdf [SSC]

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231207164634.11998-2-petre.rodan@subdimension.ro
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/pressure/Kconfig
drivers/iio/pressure/Makefile
drivers/iio/pressure/hsc030pa.c [new file with mode: 0644]
drivers/iio/pressure/hsc030pa.h [new file with mode: 0644]
drivers/iio/pressure/hsc030pa_i2c.c [new file with mode: 0644]
drivers/iio/pressure/hsc030pa_spi.c [new file with mode: 0644]