-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: tas2552: Support TI TAS2552 Amplifier
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. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Dan Murphy
authored and
Mark Brown
committed
Jul 17, 2014
1 parent
7171511
commit 5df7f71
Showing
6 changed files
with
727 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Texas Instruments - tas2552 Codec module | ||
|
||
The tas2552 serial control bus communicates through I2C protocols | ||
|
||
Required properties: | ||
- compatible - One of: | ||
"ti,tas2552" - TAS2552 | ||
- reg - I2C slave address | ||
- supply-*: Required supply regulators are: | ||
"vbat" battery voltage | ||
"iovdd" I/O Voltage | ||
"avdd" Analog DAC Voltage | ||
|
||
Optional properties: | ||
- enable-gpio - gpio pin to enable/disable the device | ||
|
||
Example: | ||
|
||
tas2552: tas2552@41 { | ||
compatible = "ti,tas2552"; | ||
reg = <0x41>; | ||
enable-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
For more product information please see the link below: | ||
http://www.ti.com/product/TAS2552 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* TAS2552 driver platform header | ||
* | ||
* Copyright (C) 2014 Texas Instruments Inc. | ||
* | ||
* Author: Dan Murphy <dmurphy@ti.com> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
*/ | ||
|
||
#ifndef TAS2552_PLAT_H | ||
#define TAS2552_PLAT_H | ||
|
||
struct tas2552_platform_data { | ||
int enable_gpio; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.