Re: [PATCH v4 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2015-12-02 Thread Mark Brown
On Tue, Dec 01, 2015 at 06:17:54PM -0800, Simran Rai wrote: > On 11/22/2015 5:44 AM, Mark Brown wrote: > >I would expect any initialisationn of clocks beyond the ones that the > >device directly interacts with to be handled within the clock API > >configuration rather than in a specific driver, th

Re: [PATCH v4 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2015-12-01 Thread Simran Rai
On 11/22/2015 5:44 AM, Mark Brown wrote: On Mon, Nov 09, 2015 at 04:17:43PM -0800, Simran Rai wrote: +#ifdef CONFIG_PM_SLEEP +static int cygnus_ssp_suspend(struct snd_soc_dai *cpu_dai) +{ + struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(cpu_dai); + struct cygnus_audio *cyga

Re: [PATCH v4 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2015-11-22 Thread Mark Brown
On Mon, Nov 09, 2015 at 04:17:43PM -0800, Simran Rai wrote: > +#ifdef CONFIG_PM_SLEEP > +static int cygnus_ssp_suspend(struct snd_soc_dai *cpu_dai) > +{ > + struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(cpu_dai); > + struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(cpu_dai); >

[PATCH v4 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2015-11-09 Thread Simran Rai
This patch adds Cygnus audio DAI driver. It supports I2S, TDM and SPDIF modes and uses three clocks derived from PLL. This patchset has been tested on Cygnus wireless audio bcm958305K board. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Arun Parameswar