Skip to contentSkip to conversation

ASoC: tlv320aic31xx: Support for tlv320dac3101

PATCH In review Peter Ujfalusi 3 participants 6 messages Nov 10, 2016 – Nov 12, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover ASoC: tlv320aic31xx: Support for tlv320dac3101

Hi,

Adding missing compatible declaration for dac3100 and add support for dac3101.

Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: tlv320aic31xx: Add missing of_device_id for dac3100
ASoC: tlv320aic31xx: Add support for tlv320dac3101

 Documentation/devicetree/bindings/sound/tlv320aic31xx.txt | 1 +
 sound/soc/codecs/tlv320aic31xx.c                          | 3 +++
 sound/soc/codecs/tlv320aic31xx.h                          | 1 +
 3 files changed, 5 insertions(+)
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/2 ASoC: tlv320aic31xx: Add missing of_device_id for dac3100

The compatible table was not updated when the support for DAC3100 was added.

---
 sound/soc/codecs/tlv320aic31xx.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/tlv320aic31xx.c +1 -0
index be1a64bfd320..8880f6be3336 100644
@@ -1253,6 +1253,7 @@ static const struct of_device_id tlv320aic31xx_of_match[] = {
 	{ .compatible = "ti,tlv320aic3110" },
 	{ .compatible = "ti,tlv320aic3120" },
 	{ .compatible = "ti,tlv320aic3111" },
+	{ .compatible = "ti,tlv320dac3100" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320aic31xx_of_match);
Signature · 1 line
2.10.2
maintainer
#2 lore raw

Applied "ASoC: tlv320aic31xx: Add missing of_device_id for dac3100" to the asoc tree

The patch

ASoC: tlv320aic31xx: Add missing of_device_id for dac3100

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From a4a1d79ea75eec48e086648678b62a8220fe3723 Mon Sep 17 00:00:00 2001

From: Peter Ujfalusi <[email protected]>
Date: Thu, 10 Nov 2016 09:55:54 +0200
Subject: [PATCH] ASoC: tlv320aic31xx: Add missing of_device_id for dac3100

The compatible table was not updated when the support for DAC3100 was added.

---
 sound/soc/codecs/tlv320aic31xx.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/tlv320aic31xx.c +1 -0
index be1a64bfd320..8880f6be3336 100644
@@ -1253,6 +1253,7 @@ static const struct of_device_id tlv320aic31xx_of_match[] = {
 	{ .compatible = "ti,tlv320aic3110" },
 	{ .compatible = "ti,tlv320aic3120" },
 	{ .compatible = "ti,tlv320aic3111" },
+	{ .compatible = "ti,tlv320dac3100" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320aic31xx_of_match);
Signature · 1 line
2.10.2
#3 lore raw

PATCH 2/2 ASoC: tlv320aic31xx: Add support for tlv320dac3101

In reply to Peter Ujfalusi

The DAC3101 is mostly identical to DAC3100 with the exception that it has stereo speaker AMP instead of mono used in DAC3100.

---
 Documentation/devicetree/bindings/sound/tlv320aic31xx.txt | 1 +
 sound/soc/codecs/tlv320aic31xx.c                          | 2 ++
 sound/soc/codecs/tlv320aic31xx.h                          | 1 +
 3 files changed, 4 insertions(+)
Documentation/devicetree/bindings/sound/tlv320aic31xx.txt +1 -0
index 9340d2ddcc54..6fbba562eaa7 100644
@@ -12,6 +12,7 @@ Required properties:
     "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
     "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
     "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)
+    "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
 
 - reg - <int> -  I2C slave address
 - HPVDD-supply, SPRVDD-supply, SPLVDD-supply, AVDD-supply, IOVDD-supply,
sound/soc/codecs/tlv320aic31xx.c +2 -0
index 8880f6be3336..f8a90ba8cd71 100644
@@ -1254,6 +1254,7 @@ static const struct of_device_id tlv320aic31xx_of_match[] = {
 	{ .compatible = "ti,tlv320aic3120" },
 	{ .compatible = "ti,tlv320aic3111" },
 	{ .compatible = "ti,tlv320dac3100" },
+	{ .compatible = "ti,tlv320dac3101" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320aic31xx_of_match);
@@ -1380,6 +1381,7 @@ static const struct i2c_device_id aic31xx_i2c_id[] = {
 	{ "tlv320aic3120", AIC3120 },
 	{ "tlv320aic3111", AIC3111 },
 	{ "tlv320dac3100", DAC3100 },
+	{ "tlv320dac3101", DAC3101 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, aic31xx_i2c_id);
sound/soc/codecs/tlv320aic31xx.h +1 -0
index 5acd5b69fb83..730fb2058869 100644
@@ -32,6 +32,7 @@ enum aic31xx_type {
 	AIC3120 = AIC31XX_MINIDSP_BIT,
 	AIC3111 = (AIC31XX_STEREO_CLASS_D_BIT | AIC31XX_MINIDSP_BIT),
 	DAC3100 = DAC31XX_BIT,
+	DAC3101 = DAC31XX_BIT | AIC31XX_STEREO_CLASS_D_BIT,
 };
 
 struct aic31xx_pdata {
Signature · 1 line
2.10.2
maintainer
#4 lore raw

Applied "ASoC: tlv320aic31xx: Add support for tlv320dac3101" to the asoc tree

The patch

ASoC: tlv320aic31xx: Add support for tlv320dac3101

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 4e2cc814eb2755df286ea890078fb636e1aa0f69 Mon Sep 17 00:00:00 2001

From: Peter Ujfalusi <[email protected]>
Date: Thu, 10 Nov 2016 09:55:55 +0200
Subject: [PATCH] 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.

---
 Documentation/devicetree/bindings/sound/tlv320aic31xx.txt | 1 +
 sound/soc/codecs/tlv320aic31xx.c                          | 2 ++
 sound/soc/codecs/tlv320aic31xx.h                          | 1 +
 3 files changed, 4 insertions(+)
Documentation/devicetree/bindings/sound/tlv320aic31xx.txt +1 -0
index 9340d2ddcc54..6fbba562eaa7 100644
@@ -12,6 +12,7 @@ Required properties:
     "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
     "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
     "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP)
+    "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
 
 - reg - <int> -  I2C slave address
 - HPVDD-supply, SPRVDD-supply, SPLVDD-supply, AVDD-supply, IOVDD-supply,
sound/soc/codecs/tlv320aic31xx.c +2 -0
index 8880f6be3336..f8a90ba8cd71 100644
@@ -1254,6 +1254,7 @@ static const struct of_device_id tlv320aic31xx_of_match[] = {
 	{ .compatible = "ti,tlv320aic3120" },
 	{ .compatible = "ti,tlv320aic3111" },
 	{ .compatible = "ti,tlv320dac3100" },
+	{ .compatible = "ti,tlv320dac3101" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320aic31xx_of_match);
@@ -1380,6 +1381,7 @@ static const struct i2c_device_id aic31xx_i2c_id[] = {
 	{ "tlv320aic3120", AIC3120 },
 	{ "tlv320aic3111", AIC3111 },
 	{ "tlv320dac3100", DAC3100 },
+	{ "tlv320dac3101", DAC3101 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, aic31xx_i2c_id);
sound/soc/codecs/tlv320aic31xx.h +1 -0
index 5acd5b69fb83..730fb2058869 100644
@@ -32,6 +32,7 @@ enum aic31xx_type {
 	AIC3120 = AIC31XX_MINIDSP_BIT,
 	AIC3111 = (AIC31XX_STEREO_CLASS_D_BIT | AIC31XX_MINIDSP_BIT),
 	DAC3100 = DAC31XX_BIT,
+	DAC3101 = DAC31XX_BIT | AIC31XX_STEREO_CLASS_D_BIT,
 };
 
 struct aic31xx_pdata {
Signature · 1 line
2.10.2
Reviewed-by on the v1 series
#5 lore raw
In reply to Peter Ujfalusi
Quoted 11 lines · Peter Ujfalusi

Hi,

Adding missing compatible declaration for dac3100 and add support for dac3101.

Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: tlv320aic31xx: Add missing of_device_id for dac3100
ASoC: tlv320aic31xx: Add support for tlv320dac3101

Quoted 5 lines
 Documentation/devicetree/bindings/sound/tlv320aic31xx.txt | 1 +
 sound/soc/codecs/tlv320aic31xx.c                          | 3 +++
 sound/soc/codecs/tlv320aic31xx.h                          | 1 +
 3 files changed, 5 insertions(+)

For both.

Cheers,
Jyri