• Mark Brown's avatar
    mfd: Support multiple active WM831x AUXADC conversions · 78bb3688
    Mark Brown authored
    The WM831x AUXADC hardware can schedule multiple conversions at once,
    allowing higher performance when more than one source is in use as we
    can have the hardware start new conversions without having to wait for
    a register write.
    
    Take advantage of this in the interrupt driven case, maintaining a list of
    callers that are waiting for AUXADC conversions and completing them all
    simultaneously. The external interface of the AUXADC is not changed so
    there will be limited use of the feature immediately.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    78bb3688
wm831x-auxadc.c 6.65 KB