• Mark Brown's avatar
    ASoC: Provide CODEC clocking operations and API calls · ec4ee52a
    Mark Brown authored
    When multi component systems use DAIless amplifiers which require clocking
    configuration it is at best hard to use the current clocking API as this
    requires a DAI even though the device may not even have one. Address this
    by adding set_sysclk() and set_pll() operations and APIs for CODECs.
    
    In order to avoid issues with devices which could be used either with or
    without DAIs make the DAI variants call through to their CODEC counterparts
    if there is no DAI specific operation. Converting over entirely would create
    problems for multi-DAI devices which offer per-DAI clocking setup.
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: default avatarLiam Girdwood <lrg@ti.com>
    ec4ee52a
soc-core.c 97.8 KB