OMAP4 Audio Vibra

= Audio Vibra Driver =

Phoenix (TWL6040) supports the integration of two vibra transducers usually placed at 90 degree angles from each other.



Vibra duty cycle is controlled through internal PWM generator. PWM can be driven through PDM or PCM data:
 * PDM : PDM DL 5th channel
 * PCM : PDM Ctrl channel or I2C

Assumptions

 * For INC1 work, only supporting I2C path
 * Based on TWL6040 MFD (resource requirement)/TWL core / I2C driver
 * Fixed Duty cycle
 * Supported effects:
 * Sine Vibration
 * Constant Force
 * Spring Condition
 * Damping Condition
 * Strong Rumble
 * Weak Rumble

Configuration
Configuration of the vibra effect is accomplished using the  structure from input.h

When defining an effect, the id should be set to -1. the kernel will reset the id to be a unique identifier that can later be used to update or delete the effect.