1*c66ec88fSEmmanuel Vadot* Texas Instruments - drv260x Haptics driver family 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible - One of: 5*c66ec88fSEmmanuel Vadot "ti,drv2604" - DRV2604 6*c66ec88fSEmmanuel Vadot "ti,drv2605" - DRV2605 7*c66ec88fSEmmanuel Vadot "ti,drv2605l" - DRV2605L 8*c66ec88fSEmmanuel Vadot - reg - I2C slave address 9*c66ec88fSEmmanuel Vadot - vbat-supply - Required supply regulator 10*c66ec88fSEmmanuel Vadot - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h) 11*c66ec88fSEmmanuel Vadot DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric) 12*c66ec88fSEmmanuel Vadot DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration 13*c66ec88fSEmmanuel Vadot sequence during init. And the device is configured for real 14*c66ec88fSEmmanuel Vadot time playback mode (RTP mode). 15*c66ec88fSEmmanuel Vadot DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator) 16*c66ec88fSEmmanuel Vadot - library-sel - These are ROM based waveforms pre-programmed into the IC. 17*c66ec88fSEmmanuel Vadot This should be set to set the library to use at power up. 18*c66ec88fSEmmanuel Vadot (defined in include/dt-bindings/input/ti-drv260x.h) 19*c66ec88fSEmmanuel Vadot DRV260X_LIB_EMPTY - Do not use a pre-programmed library 20*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_A - Pre-programmed Library 21*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_B - Pre-programmed Library 22*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_C - Pre-programmed Library 23*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_D - Pre-programmed Library 24*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_E - Pre-programmed Library 25*c66ec88fSEmmanuel Vadot DRV260X_ERM_LIB_F - Pre-programmed Library 26*c66ec88fSEmmanuel Vadot DRV260X_LIB_LRA - Pre-programmed LRA Library 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel VadotOptional properties: 29*c66ec88fSEmmanuel Vadot - enable-gpio - gpio pin to enable/disable the device. 30*c66ec88fSEmmanuel Vadot - vib-rated-mv - The rated voltage of the actuator in millivolts. 31*c66ec88fSEmmanuel Vadot If this is not set then the value will be defaulted to 32*c66ec88fSEmmanuel Vadot 3.2 v. 33*c66ec88fSEmmanuel Vadot - vib-overdrive-mv - The overdrive voltage of the actuator in millivolts. 34*c66ec88fSEmmanuel Vadot If this is not set then the value will be defaulted to 35*c66ec88fSEmmanuel Vadot 3.2 v. 36*c66ec88fSEmmanuel VadotExample: 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadothaptics: haptics@5a { 39*c66ec88fSEmmanuel Vadot compatible = "ti,drv2605l"; 40*c66ec88fSEmmanuel Vadot reg = <0x5a>; 41*c66ec88fSEmmanuel Vadot vbat-supply = <&vbat>; 42*c66ec88fSEmmanuel Vadot enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; 43*c66ec88fSEmmanuel Vadot mode = <DRV260X_LRA_MODE>; 44*c66ec88fSEmmanuel Vadot library-sel = <DRV260X_LIB_LRA>; 45*c66ec88fSEmmanuel Vadot vib-rated-mv = <3200>; 46*c66ec88fSEmmanuel Vadot vib-overdrive-mv = <3200>; 47*c66ec88fSEmmanuel Vadot} 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel VadotFor more product information please see the link below: 50*c66ec88fSEmmanuel Vadothttp://www.ti.com/product/drv2605 51