public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add I2C driver for Bosch BMI270 IMU
@ 2024-09-09  4:32 Alex Lanzano
  2024-09-09  4:32 ` [PATCH v3 1/2] dt-bindings: iio: imu: add bmi270 bindings Alex Lanzano
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alex Lanzano @ 2024-09-09  4:32 UTC (permalink / raw)
  To: Alex Lanzano, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Ramona Gradinariu, Nuno Sa,
	Jagath Jog J
  Cc: skhan, Jonathan Cameron, linux-iio, devicetree, linux-kernel

Add basic I2C support for the Bosch BMI270 IMU.

References:
https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270/

Signed-off-by: Alex Lanzano <lanzano.alex@gmail.com>
---
Changes in v3:
- Remove code pertaining to buffer / triggered buffer
- Move register definitions from struct to defines
- Add bit mask defines for registers and replace hardcoded values
- Create macros for accel and gryo channels
- Code style cleanup

Changes in v2:
- Remove spi example in binding documentation
- Add more properties to i2c example in binding documentation
---

Alex Lanzano (2):
  dt-bindings: iio: imu: add bmi270 bindings
  iio: imu: Add i2c driver for bmi270 imu

 .../bindings/iio/imu/bosch,bmi270.yaml        |  77 ++++++
 MAINTAINERS                                   |   7 +
 drivers/iio/imu/Kconfig                       |   1 +
 drivers/iio/imu/Makefile                      |   1 +
 drivers/iio/imu/bmi270/Kconfig                |  21 ++
 drivers/iio/imu/bmi270/Makefile               |   6 +
 drivers/iio/imu/bmi270/bmi270.h               |  62 +++++
 drivers/iio/imu/bmi270/bmi270_core.c          | 251 ++++++++++++++++++
 drivers/iio/imu/bmi270/bmi270_i2c.c           |  48 ++++
 9 files changed, 474 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/bosch,bmi270.yaml
 create mode 100644 drivers/iio/imu/bmi270/Kconfig
 create mode 100644 drivers/iio/imu/bmi270/Makefile
 create mode 100644 drivers/iio/imu/bmi270/bmi270.h
 create mode 100644 drivers/iio/imu/bmi270/bmi270_core.c
 create mode 100644 drivers/iio/imu/bmi270/bmi270_i2c.c

-- 
2.46.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-09-14 11:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  4:32 [PATCH v3 0/2] Add I2C driver for Bosch BMI270 IMU Alex Lanzano
2024-09-09  4:32 ` [PATCH v3 1/2] dt-bindings: iio: imu: add bmi270 bindings Alex Lanzano
2024-09-09  4:32 ` [PATCH v3 2/2] iio: imu: Add i2c driver for bmi270 imu Alex Lanzano
2024-09-09 17:03   ` kernel test robot
2024-09-10  3:21     ` Alex Lanzano
2024-09-14 11:51       ` Jonathan Cameron
2024-09-09 22:13   ` kernel test robot
2024-09-10  3:24     ` Alex Lanzano
2024-09-10 22:22 ` [PATCH v3 0/2] Add I2C driver for Bosch BMI270 IMU Vasileios Amoiridis
2024-09-11 12:38   ` Alex Lanzano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox