ti,drv2605 (on i2c bus)

Vendor: Texas Instruments

Description

DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop
architecture.

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.

actuator-mode

string

This property is required.

Legal values: 'ERM', 'LRA'

feedback-brake-factor

string

Selects the feedback gain ratio between braking gain and driving gain.
According to the datasheet, a value of 2 ("3X") is valid for most
actuators.

Default value: 3X

Legal values: '1X', '2X', '3X', '4X', '6X', '8X', '16X', 'DISABLED'

loop-gain

string

Selects a loop gain for the feedback control. According to the datasheet,
a value of 2 ("HIGH") is valid for most actuators.

Default value: HIGH

Legal values: 'LOW', 'MEDIUM', 'HIGH', 'VERY_HIGH'

vib-rated-mv

int

Sets the reference voltage for full-scale output during closed-loop
operation. The default value is inherited from ti,drv260x.yaml in Linux.

Default value: 3200

vib-overdrive-mv

int

Sets a clamp so that the automatic overdrive is bounded. The default
value is inherited from ti,drv260x.yaml in Linux.

Default value: 3200

en-gpios

phandle-array

GPIO to enable and disable the device.

in-trig-gpios

phandle-array

GPIO to trigger ROM waveforms or drive an input signal.