• Vaibhav Agarwal's avatar
    greybus: audio: Add topology parser for GB codec · 6339d232
    Vaibhav Agarwal authored
    For each GB codec module inserted, DAPM widgets, kcontrols, routes
    and DAIs can be fetched through greybus in a binary chunk and parsed
    locally to create & populate DAPM graph for the specific module.
    
    It is required by each codec module to populate a minimum set of
    kcontrols with fixed names to support basic audio usecase.
    To support advanced features of codec module, the same can be polpulated
    with existing topology parser. However, to use them for different usecase
    separate mechanism (may be via MSP) is required to inform userspace about
    their configuration value & enable/disable sequence.
    
    ToDos:
    Currently, support for enumerated kcontrol/dapm control is hardcoded.
    Need to add complete logic within the parser.
    Signed-off-by: default avatarVaibhav Agarwal <vaibhav.agarwal@linaro.org>
    Signed-off-by: default avatarMark Greer <mgreer@animalcreek.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
    6339d232
Makefile 3.27 KB