[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240504-bmi120-v2-0-3b3ce6e1c3c6@gmail.com>
Date: Sat, 04 May 2024 14:59:47 +0200
From: Barnabás Czémán <trabarni@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Barnabás Czémán <trabarni@...il.com>,
Danila Tikhonov <danila@...xyga.com>
Subject: [PATCH v2 0/2] Add support for bosch bmi120
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@...il.com>
---
Changes in v2:
- Add bosch,bmi120 as a fallback compatible.
- Remove error path if chipid is not found.
- Link to v1: https://lore.kernel.org/r/20240504-bmi120-v1-0-478470a85058@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 | 6 ++++-
drivers/iio/imu/bmi160/bmi160_core.c | 26 +++++++++++++++++-----
drivers/iio/imu/bmi160/bmi160_i2c.c | 3 +++
drivers/iio/imu/bmi160/bmi160_spi.c | 3 +++
4 files changed, 31 insertions(+), 7 deletions(-)
---
base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29
change-id: 20240504-bmi120-d3c88dcb3073
Best regards,
--
Barnabás Czémán <trabarni@...il.com>
Powered by blists - more mailing lists