zephyr,generic-emul-sensor

Description

Generic emulated sensor for use in testing other libraries

Properties

Properties not inherited from the base binding file.

Name

Type

Details

negated-init-rc

int

Value to return in init function (negated due to devicetree limitation to unsigned integers).

Default value: 0

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).