• Peter Ujfalusi's avatar
    ASoC: TWL4030: Change APLL powering sequence · 7729cf74
    Peter Ujfalusi authored
    It seams that certain part of the twl4030 codec needs the APLL
    enabled before they are enabled.
    Paths which has any digital processing needs need the APLL
    enabled before they can function.
    For example the vibra output will have some random data after
    it is enabled and before the APLL also enabled.
    
    If only analog components are in use (analog bypass), than it
    seams, that the APLL does not need to be enabled. This lowers
    the power consumption with around ~0.005A.
    
    Adding DAPM_SUPPLY to the Digital playback route and also
    to the capture route to enable and disable the APLL.
    Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    7729cf74
twl4030.c 68.9 KB