[PATCH 0/2] Add support for bosch bmi120

Barnabás Czémán
2024-05-03T23:46:03Z

Add support for bosch bmi120.
BMI120 is an energy-efficient version of BMI160. Despite having a different
CHIPID value, this variant seems to be fully compatible with BMI160.
It could be find in many phones like xiaomi-vince or xiaomi-tissot.

Signed-off-by: Barnabás Czémán <trabarni@gmail.com>
---
Danila Tikhonov (2):
iio: imu: bmi160: add support for bmi120
dt-bindings: iio: imu: bmi160: add bmi120

.../devicetree/bindings/iio/imu/bosch,bmi160.yaml | 4 +++-
drivers/iio/imu/bmi160/bmi160_core.c | 24 ++++++++++++++++++----
drivers/iio/imu/bmi160/bmi160_i2c.c | 3 +++
drivers/iio/imu/bmi160/bmi160_spi.c | 3 +++
4 files changed, 29 insertions(+), 5 deletions(-)
---
base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29
change-id: 20240504-bmi120-d3c88dcb3073

Best regards,
--
Barnabás Czémán <trabarni@gmail.com>