we,wsen-itds-2533020201601 (on i2c bus)

Vendor: Würth Elektronik GmbH.

Note

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

Description

Würth Elektronik WSEN-ITDS-2533020201601 acceleration sensor with
integrated temperature sensor (I2C bus)

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.

events-interrupt-gpios

phandle-array

Events Interrupt pin (Tap, Freefall, .. etc) (INT0 Pin).
Interrupts are active high by default.

drdy-interrupt-gpios

phandle-array

DRDY Interrupt pin (INT1 Pin).
Interrupts are active high by default.

odr

string

Output data rate in Hz Note that the available output data rates depend on the selected operating mode. In high performance mode the output data rate of the sensor can be configured between 12.5 Hz and 1600 Hz. In normal/low power mode the output data rate of the sensor can be configured between 1.6 Hz and 200 Hz. Consult the ITDS user manual for more information. Also note that the minimum ODR required for using the tap recognition functionality is 400 Hz.

This property is required.

Legal values: '1.6', '12.5', '25', '50', '100', '200', '400', '800', '1600'

op-mode

string

Operating mode of the sensor.

This property is required.

Legal values: 'low-power/normal', 'high-perf', 'single-conversion'

power-mode

string

Power mode of the sensor.

This property is required.

Legal values: 'low-power', 'normal'

range

int

Range (full scale) in g. Defaults to 2, which is the configuration at power-up.

Default value: 2

Legal values: 16, 8, 4, 2

low-noise

boolean

Enables low-noise mode.

tap-mode

int

Tap mode (only single tap or single and double tap). Defaults to 0, which is the configuration at power-up.

Legal values: 0, 1

tap-threshold

array

Tap X/Y/Z axis thresholds (unsigned 5-bit, ranging from 0x00 to 0x1F).
Defaults to "<0>, <0>, <0>", which is the configuration at power-up.

Thresholds for tap recognition on the X/Y/Z axes corresponding to a
2g full-scale range. Setting a threshold to zero disables tap
detection on the corresponding axis.

Example:

    tap-threshold = <0>, <6>, <10>

This disables tap recognition on X axis and sets thresholds for Y and Z
as follows: Y = 6 \* 2g/32 = 375mg and Z = 10 \* 2g/32 = 625mg.

Default value: [0, 0, 0]

tap-shock

int

Maximum duration of over-threshold event when detecting taps (unsigned
2-bit, ranging from 0x0 to 0x3). Defaults to zero, which is the
configuration at power-up.

A value of 0 corresponds to 4 \* 1/ODR and 1 LSB = 8 \* 1/ODR.

tap-latency

int

Maximum duration time gap for double-tap recognition (unsigned 4-bit,
ranging from 0x0 to 0xF). Defaults to zero, which is the
configuration at power-up.

A value of 0 corresponds to 16 \* 1/ODR and 1 LSB = 32 \* 1/ODR.

tap-quiet

int

Expected quiet time for double-tap recognition (unsigned 2-bit, ranging
from 0x0 to 0x3). This defines the time after the first detected tap in
which there must not be any over-threshold event. Defaults to zero, which
is the configuration at power-up.

A value of 0 corresponds to 2 \* 1/ODR and 1 LSB = 4 \* 1/ODR.

freefall-duration

int

Minimum duration of free-fall event (unsigned 6-bit, ranging from 0x0
to 0x3F). Defaults to 0, which is the configuration at power-up.

1 LSB = 1 \* 1/ODR.

freefall-threshold

int

Free-fall threshold (amplitude of the "free-fall zone" around zero-g
level where the accelerations of all axes are small enough to generate
the free-fall interrupt). Defaults to 0x5, which is the configuration
at power-up.

Multiply by 31.25mg to get the used threshold.

Default value: 5

Legal values: 5, 7, 8, 10, 11, 13, 15, 16

delta-duration

int

Wake-up duration, i.e. minimum duration of wake-up event to be
recognized (unsigned 2-bit, ranging from 0x0 to 0x3).
Defaults to 0, which is the configuration at power-up.

1 LSB = 1 \* 1/ODR

Legal values: 0, 1, 2, 3

delta-threshold

int

Wake-up threshold (unsigned 6-bit, ranging from 0x0 to 0x3F).
The threshold value is applicable to both positive and negative
acceleration data. A wake-up event is recognized, if at least
one of the acceleration axis values exceeds the threshold value.

Defaults to 0, which is the configuration at power-up.

1 LSB = 1/64 of measurement range (full scale).

delta-offsets

array

Wake-up X/Y/Z axis offsets (signed 8-bit, ranging from -128 to 127).
Defaults to "<0>, <0>, <0>", which is the configuration at power-up.

The weight of the offsets depends on the delta-offset-weight property.
E.g. for delta-offset-weight=<1>, an offset value of 0x40 corresponds
to approximately 1g.

Default value: [0, 0, 0]

delta-offset-weight

int

Wake-up offset weight (0 or 1).
Weight of the offsets specified in the delta-offsets property.
Defaults to 0, which is the configuration at power-up.

A value of 0 corresponds to 0.977 mg/LSB, a value of 1
corresponds to 15.6 mg/LSB.

Legal values: 0, 1