alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T
@ 2020-04-02 18:52 Hans de Goede
  2020-04-06 15:30 ` Pierre-Louis Bossart
  2020-04-06 16:45 ` Applied "ASoC: rt5645: Add platform-data for Medion E1239T" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Hans de Goede @ 2020-04-02 18:52 UTC (permalink / raw)
  To: Cezary Rojewski, Pierre-Louis Bossart, Liam Girdwood, Jie Yang,
	Mark Brown, flove, shumingf, Oder Chiou
  Cc: Hans de Goede, alsa-devel, Takashi Iwai

The Medion E1239T uses the default jack-detect mode 3, but instead of
using an analog microphone it is using a DMIC on dmic-data-pin 1,
like other models following Intel's Brasswell's reference design.

This commit adds a DMI quirk pointing to the intel_braswell_platform_data
for this model.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 sound/soc/codecs/rt5645.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 92d67010aeed..6ba1849a77b0 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3758,6 +3758,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
 		},
 		.driver_data = (void *)&kahlee_platform_data,
 	},
+	{
+		.ident = "Medion E1239T",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "MEDION"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "E1239T MD60568"),
+		},
+		.driver_data = (void *)&intel_braswell_platform_data,
+	},
 	{ }
 };
 
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T
  2020-04-02 18:52 [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T Hans de Goede
@ 2020-04-06 15:30 ` Pierre-Louis Bossart
  2020-04-06 16:45 ` Applied "ASoC: rt5645: Add platform-data for Medion E1239T" to the asoc tree Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Pierre-Louis Bossart @ 2020-04-06 15:30 UTC (permalink / raw)
  To: Hans de Goede, Cezary Rojewski, Liam Girdwood, Jie Yang,
	Mark Brown, flove, shumingf, Oder Chiou
  Cc: alsa-devel, Takashi Iwai



On 4/2/20 1:52 PM, Hans de Goede wrote:
> The Medion E1239T uses the default jack-detect mode 3, but instead of
> using an analog microphone it is using a DMIC on dmic-data-pin 1,
> like other models following Intel's Brasswell's reference design.
> 
> This commit adds a DMI quirk pointing to the intel_braswell_platform_data
> for this model.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

> ---
>   sound/soc/codecs/rt5645.c | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
> index 92d67010aeed..6ba1849a77b0 100644
> --- a/sound/soc/codecs/rt5645.c
> +++ b/sound/soc/codecs/rt5645.c
> @@ -3758,6 +3758,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
>   		},
>   		.driver_data = (void *)&kahlee_platform_data,
>   	},
> +	{
> +		.ident = "Medion E1239T",
> +		.matches = {
> +			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "MEDION"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "E1239T MD60568"),
> +		},
> +		.driver_data = (void *)&intel_braswell_platform_data,
> +	},
>   	{ }
>   };
>   
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Applied "ASoC: rt5645: Add platform-data for Medion E1239T" to the asoc tree
  2020-04-02 18:52 [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T Hans de Goede
  2020-04-06 15:30 ` Pierre-Louis Bossart
@ 2020-04-06 16:45 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-04-06 16:45 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Oder Chiou, alsa-devel, Takashi Iwai, Jie Yang, Cezary Rojewski,
	Pierre-Louis Bossart, Liam Girdwood, Mark Brown, shumingf, flove

The patch

   ASoC: rt5645: Add platform-data for Medion E1239T

has been applied to the asoc tree at

   https://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

From 4146575eb0f0cb41e6d909234b654064d1bed183 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Thu, 2 Apr 2020 20:52:57 +0200
Subject: [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T

The Medion E1239T uses the default jack-detect mode 3, but instead of
using an analog microphone it is using a DMIC on dmic-data-pin 1,
like other models following Intel's Brasswell's reference design.

This commit adds a DMI quirk pointing to the intel_braswell_platform_data
for this model.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200402185257.3355-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt5645.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 92d67010aeed..6ba1849a77b0 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3758,6 +3758,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
 		},
 		.driver_data = (void *)&kahlee_platform_data,
 	},
+	{
+		.ident = "Medion E1239T",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "MEDION"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "E1239T MD60568"),
+		},
+		.driver_data = (void *)&intel_braswell_platform_data,
+	},
 	{ }
 };
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-06 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 18:52 [PATCH] ASoC: rt5645: Add platform-data for Medion E1239T Hans de Goede
2020-04-06 15:30 ` Pierre-Louis Bossart
2020-04-06 16:45 ` Applied "ASoC: rt5645: Add platform-data for Medion E1239T" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).