Re: [PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Felipe Balbi
On Thu, Jul 03, 2014 at 10:13:06AM -0500, Dan Murphy wrote: > Hi > > On 07/03/2014 10:06 AM, Felipe Balbi wrote: > > Hi, > > > > On Thu, Jul 03, 2014 at 09:57:39AM -0500, Dan Murphy wrote: > >> On 07/03/2014 09:52 AM, Felipe Balbi wrote: > >>> Hi, > >>> > >>> On Thu, Jul 03, 2014 at 09:39:53AM -05

Re: [PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Dan Murphy
Hi On 07/03/2014 10:06 AM, Felipe Balbi wrote: > Hi, > > On Thu, Jul 03, 2014 at 09:57:39AM -0500, Dan Murphy wrote: >> On 07/03/2014 09:52 AM, Felipe Balbi wrote: >>> Hi, >>> >>> On Thu, Jul 03, 2014 at 09:39:53AM -0500, Dan Murphy wrote: +static int tas2552_set_dai_fmt(struct snd_soc_dai *d

Re: [PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Felipe Balbi
Hi, On Thu, Jul 03, 2014 at 09:57:39AM -0500, Dan Murphy wrote: > On 07/03/2014 09:52 AM, Felipe Balbi wrote: > > Hi, > > > > On Thu, Jul 03, 2014 at 09:39:53AM -0500, Dan Murphy wrote: > >> +static int tas2552_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) > >> +{ > >> + u8 serial_format

Re: [PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Dan Murphy
On 07/03/2014 09:52 AM, Felipe Balbi wrote: > Hi, > > On Thu, Jul 03, 2014 at 09:39:53AM -0500, Dan Murphy wrote: >> +static int tas2552_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) >> +{ >> +u8 serial_format; >> +struct snd_soc_codec *codec = dai->codec; >> + >> +switch (fmt

Re: [PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Felipe Balbi
Hi, On Thu, Jul 03, 2014 at 09:39:53AM -0500, Dan Murphy wrote: > +static int tas2552_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) > +{ > + u8 serial_format; > + struct snd_soc_codec *codec = dai->codec; > + > + switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { > + case SND_SOC

[PATCH v4] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-03 Thread Dan Murphy
Support the TI TAS2552 Class D amplifier. The TAS2552 is a high efficiency Class-D audio power amplifier with advanced battery current management and an integrated Class-G boost The device constantly measures the current and voltage across the load and provides a digital stream of this information