[PATCH 0/2] staging: iio: imu: Add CEVA BNO08x through the staging tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
   this series adds support for the CEVA BNO08x Sensor Hub through the staging
tree.

The driver currently only support reading a rotation vector in quaternion, which
is just one of the many features supported by the device.

What's relevant here is the protocol handling part, which is used to exposed a
triggered buffer and direct access IIO interfaces. The BNO08x family implements
a packed-based protocol which requires parsing on the driver side. This driver
implements such parsing routine by copying the full received packets and
synchronize the possible multiple consumers which might want to access the data.

Sent through the staging tree as the HW platform I used to test is not available
anymore and I cannot guarantee maintainership of the driver.

However I hope the driver can serve as a useful reference for future
developments.

Thanks
  j

Jacopo Mondi (2):
  dt-bindings: staging: iio: imu: Document CEVA BNO08x
  staging: iio: imu: Add CEVA BNO08x driver

 .../bindings/staging/iio/imu/ceva,bno08x.yaml |  63 ++
 MAINTAINERS                                   |   7 +
 drivers/staging/iio/Kconfig                   |   1 +
 drivers/staging/iio/Makefile                  |   1 +
 drivers/staging/iio/imu/bno08x/Kconfig        |  11 +
 drivers/staging/iio/imu/bno08x/Makefile       |   3 +
 drivers/staging/iio/imu/bno08x/bno08x.c       | 618 ++++++++++++++++++
 7 files changed, 704 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/staging/iio/imu/ceva,bno08x.yaml
 create mode 100644 drivers/staging/iio/imu/bno08x/Kconfig
 create mode 100644 drivers/staging/iio/imu/bno08x/Makefile
 create mode 100644 drivers/staging/iio/imu/bno08x/bno08x.c

--
2.35.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux