Adds support for the Bosch BMP390 pressure sensors. This new series shares the regmap present on the BMP380 family of sensors. Changelog from v1: - Added patch 1 optimizing data type used to store device ids (from unsigned integer to unsigned 8-bit integer). - Enhanced implementation and fixed error string building on patch 2 pointed by Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>. - Reorder IDs definitions on shared sensor header file on patch 3. - Include a link to the datasheet for the bmp390 sensor in patch 3. Previous versions: v1: https://lore.kernel.org/all/cover.1692305434.git.ang.iglesiasg@xxxxxxxxx/ Angel Iglesias (3): iio: pressure: bmp280: Use uint8 to store chip ids iio: pressure: bmp280: Allow multiple chips id per family of devices iio: pressure: bmp280: Add support for BMP390 drivers/iio/pressure/bmp280-core.c | 54 ++++++++++++++++++++++++------ drivers/iio/pressure/bmp280.h | 4 ++- 2 files changed, 47 insertions(+), 11 deletions(-) base-commit: 14b7447cec15ee8dfdfe0da66ba1e280ded7e00a -- 2.42.0