invensense,icm45686 (on i2c bus)

Vendor: InvenSense Inc.

Note

An implementation of a driver matching this compatible is available in drivers/sensor/tdk/icm45686/icm45686.c.

Description

ICM45686 High-precision 6-axis motion tracking device
When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
gyro-odr properties in a .dts or .dtsi file you may include icm45686.h
and use the macros defined there.

Example:
#include <zephyr/dt-bindings/sensor/icm45686.h>

&i2c0 {
  ...

  icm42688: icm45686@68 {
    ...

    accel-pwr-mode = <ICM45686_DT_ACCEL_LN>;
    accel-fs = <ICM45686_DT_ACCEL_FS_32>;
    accel-odr = <ICM45686_DT_ACCEL_ODR_800>;
    gyro-pwr-mode= <ICM45686_DT_GYRO_LN>;
    gyro-fs = <ICM45686_DT_GYRO_FS_4000>;
    gyro-odr = <ICM45686_DT_GYRO_ODR_800>;
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.

int-gpios

phandle-array

The INT signal default configuration is active-high. The
property value should ensure the flags properly describe the
signal that is presented to the driver.

accel-pwr-mode

int

Specify the default accelerometer power mode.
Default is power-up configuration.

Legal values: 0, 2, 3

accel-odr

int

Specify the default accelerometer output data rate expressed in samples per second (Hz).
Default is power-up configuration.

Default value: 6

Legal values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

accel-fs

int

Specify the accelerometer range in g.
Default is power-up configuration.

Legal values: 0, 1, 2, 3, 4

accel-lpf

int

Specify the accelerometer low pass filter cut-off frequency
as a fraction of the output data rate.
Default is power-up configuration.

Legal values: 0, 1, 2, 3, 4, 5, 6

gyro-pwr-mode

int

Specify the default gyro power mode.
Default is power-up configuration.

Legal values: 0, 1, 2, 3

gyro-odr

int

Specify the default gyro output data rate expressed in samples per second (Hz).
Default is power-up configuration.

Default value: 6

Legal values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

gyro-fs

int

Specify the gyro range in degrees per second.
Default is power-up configuration.

Legal values: 0, 1, 2, 3, 4, 5, 6, 7, 8

gyro-lpf

int

Specify the gyro low pass filter cut-off frequency
as a fraction of the output data rate.
Default is power-up configuration.

Legal values: 0, 1, 2, 3, 4, 5, 6

fifo-watermark

int

Specify the FIFO watermark level in frame count.
Default is power-up configuration (disabled).
Valid range: 0 - 104

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).