0001 * Texas Instruments - drv260x Haptics driver family
0002
0003 Required properties:
0004 - compatible - One of:
0005 "ti,drv2604" - DRV2604
0006 "ti,drv2605" - DRV2605
0007 "ti,drv2605l" - DRV2605L
0008 - reg - I2C slave address
0009 - vbat-supply - Required supply regulator
0010 - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h)
0011 DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric)
0012 DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration
0013 sequence during init. And the device is configured for real
0014 time playback mode (RTP mode).
0015 DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator)
0016 - library-sel - These are ROM based waveforms pre-programmed into the IC.
0017 This should be set to set the library to use at power up.
0018 (defined in include/dt-bindings/input/ti-drv260x.h)
0019 DRV260X_LIB_EMPTY - Do not use a pre-programmed library
0020 DRV260X_ERM_LIB_A - Pre-programmed Library
0021 DRV260X_ERM_LIB_B - Pre-programmed Library
0022 DRV260X_ERM_LIB_C - Pre-programmed Library
0023 DRV260X_ERM_LIB_D - Pre-programmed Library
0024 DRV260X_ERM_LIB_E - Pre-programmed Library
0025 DRV260X_ERM_LIB_F - Pre-programmed Library
0026 DRV260X_LIB_LRA - Pre-programmed LRA Library
0027
0028 Optional properties:
0029 - enable-gpio - gpio pin to enable/disable the device.
0030 - vib-rated-mv - The rated voltage of the actuator in millivolts.
0031 If this is not set then the value will be defaulted to
0032 3.2 v.
0033 - vib-overdrive-mv - The overdrive voltage of the actuator in millivolts.
0034 If this is not set then the value will be defaulted to
0035 3.2 v.
0036 Example:
0037
0038 haptics: haptics@5a {
0039 compatible = "ti,drv2605l";
0040 reg = <0x5a>;
0041 vbat-supply = <&vbat>;
0042 enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
0043 mode = <DRV260X_LRA_MODE>;
0044 library-sel = <DRV260X_LIB_LRA>;
0045 vib-rated-mv = <3200>;
0046 vib-overdrive-mv = <3200>;
0047 }
0048
0049 For more product information please see the link below:
0050 http://www.ti.com/product/drv2605