Skip to content

Commit 4e2cc81

Browse files
Peter Ujfalusibroonie
authored andcommitted
ASoC: tlv320aic31xx: Add support for tlv320dac3101
The DAC3101 is mostly identical to DAC3100 with the exception that it has stereo speaker AMP instead of mono used in DAC3100. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent a4a1d79 commit 4e2cc81

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Documentation/devicetree/bindings/sound/tlv320aic31xx.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Required properties:
1212
"ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
1313
"ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
1414
"ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)
15+
"ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
1516

1617
- reg - <int> - I2C slave address
1718
- HPVDD-supply, SPRVDD-supply, SPLVDD-supply, AVDD-supply, IOVDD-supply,

sound/soc/codecs/tlv320aic31xx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,6 +1254,7 @@ static const struct of_device_id tlv320aic31xx_of_match[] = {
12541254
{ .compatible = "ti,tlv320aic3120" },
12551255
{ .compatible = "ti,tlv320aic3111" },
12561256
{ .compatible = "ti,tlv320dac3100" },
1257+
{ .compatible = "ti,tlv320dac3101" },
12571258
{},
12581259
};
12591260
MODULE_DEVICE_TABLE(of, tlv320aic31xx_of_match);
@@ -1380,6 +1381,7 @@ static const struct i2c_device_id aic31xx_i2c_id[] = {
13801381
{ "tlv320aic3120", AIC3120 },
13811382
{ "tlv320aic3111", AIC3111 },
13821383
{ "tlv320dac3100", DAC3100 },
1384+
{ "tlv320dac3101", DAC3101 },
13831385
{ }
13841386
};
13851387
MODULE_DEVICE_TABLE(i2c, aic31xx_i2c_id);

sound/soc/codecs/tlv320aic31xx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ enum aic31xx_type {
3232
AIC3120 = AIC31XX_MINIDSP_BIT,
3333
AIC3111 = (AIC31XX_STEREO_CLASS_D_BIT | AIC31XX_MINIDSP_BIT),
3434
DAC3100 = DAC31XX_BIT,
35+
DAC3101 = DAC31XX_BIT | AIC31XX_STEREO_CLASS_D_BIT,
3536
};
3637

3738
struct aic31xx_pdata {

0 commit comments

Comments
 (0)