[alsa-devel] [PATCH V0] ASoC: pxa-ssp: add TISSP mode support

Mark Brown broonie at kernel.org
Wed Nov 6 12:24:21 CET 2013


On Tue, Nov 05, 2013 at 04:30:08PM +0800, Qiao Zhou wrote:
> add TISSP mode support. with this mode enabled, ssp controller
> works in TI-ssp protocol automatically and doesn't need to
> configure sspsp register to set the timing for tx/rx.

What is TISSP mode in an audio context?

> +	/*
> +	 * add TISSP protocol support. setting to this mode, ssp controller
> +	 * works in TI-ssp mode, and need not set psp register to conf
> +	 * detailed timing.
> +	 */
> +	case SND_SOC_DAIFMT_SSP:
> +		sscr0 |= SSCR0_TISSP;
> +		sscr1 |= SSCR1_RWOT;
>  
>  	default:
>  		return -EINVAL;

I don't think this code has been tested...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131106/cd00b500/attachment.sig>


More information about the Alsa-devel mailing list