Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbcDZRiG (ORCPT ); Tue, 26 Apr 2016 13:38:06 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:59307 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbcDZRiE (ORCPT ); Tue, 26 Apr 2016 13:38:04 -0400 Date: Tue, 26 Apr 2016 12:37:43 -0500 From: Andreas Dannenberg To: "Andrew F. Davis" CC: , , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Subject: Re: [PATCH v3 2/2] ASoC: codecs: add support for TAS5720 digital amplifier Message-ID: <20160426173743.GE2885@borg.dal.design.ti.com> References: <1461615456-19510-1-git-send-email-dannenberg@ti.com> <1461615456-19510-3-git-send-email-dannenberg@ti.com> <571FA309.7080809@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <571FA309.7080809@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2260 Lines: 62 On Tue, Apr 26, 2016 at 12:19:05PM -0500, Andrew F. Davis wrote: > On 04/25/2016 03:17 PM, Andreas Dannenberg wrote: > > The Texas Instruments TAS5720L/M device is a high-efficiency mono > > Class-D audio power amplifier optimized for high transient power > > capability to use the dynamic power headroom of small loudspeakers. > > Its digital time division multiplexed (TDM) interface enables up to > > 16 devices to share the same bus. > > > > Signed-off-by: Andreas Dannenberg > > --- > > sound/soc/codecs/Kconfig | 10 + > > sound/soc/codecs/Makefile | 2 + > > sound/soc/codecs/tas5720.c | 638 +++++++++++++++++++++++++++++++++++++++++++++ > > sound/soc/codecs/tas5720.h | 90 +++++++ > > 4 files changed, 740 insertions(+) > > create mode 100644 sound/soc/codecs/tas5720.c > > create mode 100644 sound/soc/codecs/tas5720.h > > > > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > > index 290f921..3949dae 100644 > > --- a/sound/soc/codecs/Kconfig > > +++ b/sound/soc/codecs/Kconfig > > @@ -125,6 +125,7 @@ config SND_SOC_ALL_CODECS > > select SND_SOC_TAS2552 if I2C > > select SND_SOC_TAS5086 if I2C > > select SND_SOC_TAS571X if I2C > > + select SND_SOC_TAS5720 if I2C > > select SND_SOC_TFA9879 if I2C > > select SND_SOC_TLV320AIC23_I2C if I2C > > select SND_SOC_TLV320AIC23_SPI if SPI_MASTER > > @@ -748,6 +749,15 @@ config SND_SOC_TAS571X > > tristate "Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 power amplifiers" > > depends on I2C > > > > +config SND_SOC_TAS5720 > > + tristate "Texas Instruments TAS5720 Mono Audio amplifier" > > + depends on I2C > > + help > > + Enable support for Texas Instruments TAS5720L/M high-efficiency mono > > + Class-D audio power amplifiers. The devices use an I2C interface for > > + setup/control and support an optional GPIO interrupt signal for fault > > + reporting. > > If fault reporting is no longer interrupt based could this be re-worded? Good catch! Thanks Andrew. > > [...] > > > + > > +static struct i2c_driver tas5720_i2c_driver = { > > + .driver = { > > + .name = "tas5720", > > + .owner = THIS_MODULE, > > This shouldn't be needed. Yes. I recall your recent mass-optimizations. Will remove. Regards, Andreas