18c2ecf20Sopenharmony_ci* Texas Instruments - drv260x Haptics driver family 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible - One of: 58c2ecf20Sopenharmony_ci "ti,drv2604" - DRV2604 68c2ecf20Sopenharmony_ci "ti,drv2605" - DRV2605 78c2ecf20Sopenharmony_ci "ti,drv2605l" - DRV2605L 88c2ecf20Sopenharmony_ci - reg - I2C slave address 98c2ecf20Sopenharmony_ci - vbat-supply - Required supply regulator 108c2ecf20Sopenharmony_ci - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h) 118c2ecf20Sopenharmony_ci DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric) 128c2ecf20Sopenharmony_ci DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration 138c2ecf20Sopenharmony_ci sequence during init. And the device is configured for real 148c2ecf20Sopenharmony_ci time playback mode (RTP mode). 158c2ecf20Sopenharmony_ci DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator) 168c2ecf20Sopenharmony_ci - library-sel - These are ROM based waveforms pre-programmed into the IC. 178c2ecf20Sopenharmony_ci This should be set to set the library to use at power up. 188c2ecf20Sopenharmony_ci (defined in include/dt-bindings/input/ti-drv260x.h) 198c2ecf20Sopenharmony_ci DRV260X_LIB_EMPTY - Do not use a pre-programmed library 208c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_A - Pre-programmed Library 218c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_B - Pre-programmed Library 228c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_C - Pre-programmed Library 238c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_D - Pre-programmed Library 248c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_E - Pre-programmed Library 258c2ecf20Sopenharmony_ci DRV260X_ERM_LIB_F - Pre-programmed Library 268c2ecf20Sopenharmony_ci DRV260X_LIB_LRA - Pre-programmed LRA Library 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciOptional properties: 298c2ecf20Sopenharmony_ci - enable-gpio - gpio pin to enable/disable the device. 308c2ecf20Sopenharmony_ci - vib-rated-mv - The rated voltage of the actuator in millivolts. 318c2ecf20Sopenharmony_ci If this is not set then the value will be defaulted to 328c2ecf20Sopenharmony_ci 3.2 v. 338c2ecf20Sopenharmony_ci - vib-overdrive-mv - The overdrive voltage of the actuator in millivolts. 348c2ecf20Sopenharmony_ci If this is not set then the value will be defaulted to 358c2ecf20Sopenharmony_ci 3.2 v. 368c2ecf20Sopenharmony_ciExample: 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_cihaptics: haptics@5a { 398c2ecf20Sopenharmony_ci compatible = "ti,drv2605l"; 408c2ecf20Sopenharmony_ci reg = <0x5a>; 418c2ecf20Sopenharmony_ci vbat-supply = <&vbat>; 428c2ecf20Sopenharmony_ci enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; 438c2ecf20Sopenharmony_ci mode = <DRV260X_LRA_MODE>; 448c2ecf20Sopenharmony_ci library-sel = <DRV260X_LIB_LRA>; 458c2ecf20Sopenharmony_ci vib-rated-mv = <3200>; 468c2ecf20Sopenharmony_ci vib-overdrive-mv = <3200>; 478c2ecf20Sopenharmony_ci} 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciFor more product information please see the link below: 508c2ecf20Sopenharmony_cihttp://www.ti.com/product/drv2605 51