• Jarkko Nikula's avatar
    ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI · d2c0bdaa
    Jarkko Nikula authored
    The McBSP1 port in OMAP3 processors (I believe OMAP2 too but I don't have
    specifications to check it) have additional CLKR and FSR pins for McBSP1
    receiver. Reset default is that receiver is using bit clock and frame
    sync signal from those pins but it is possible to configure to use
    also CLKX and FSX pins as well. In fact, other McBSP ports are doing that
    internally that transmitter and receiver share the CLKX and FSX.
    
    Add functionaly that machine drivers can set the CLKR and FSR sources by
    using the snd_soc_dai_set_sysclk.
    
    Thanks to "Aggarwal, Anuj" <anuj.aggarwal@ti.com> for reporting the issue.
    Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    d2c0bdaa
omap-mcbsp.h 1.82 KB