iio: pressure: bmp280: Allow multiple chips id per family of devices
authorAngel Iglesias <ang.iglesiasg@gmail.com>
Sun, 22 Oct 2023 17:22:20 +0000 (19:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 16 Nov 2023 19:10:27 +0000 (19:10 +0000)
commit33564435c8084ff29837c9ed9bb9574ec957751d
tree59091ceadbdc272f02249d08c09871270a1e2a20
parent48245f4a8c093f0c06f82b235a9e0dd766dc20df
iio: pressure: bmp280: Allow multiple chips id per family of devices

Improve device detection in certain chip families known to have
various chip IDs. When no ID matches, give a warning but follow
along what device said on the firmware side and try to configure
it.

Signed-off-by: Angel Iglesias <ang.iglesiasg@gmail.com>
Link: https://lore.kernel.org/r/eade22d11e9de4405ea19fdaa5a8249143ae94df.1697994521.git.ang.iglesiasg@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/bmp280-core.c
drivers/iio/pressure/bmp280.h