Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: tiwai@suse.de, alsa-devel@alsa-project.org, broonie@kernel.org
Subject: Applied "ASoC: codecs: rt5645: add quirks for Asus T100HA" to the asoc tree
Date: Wed, 23 Aug 2017 12:24:29 +0100	[thread overview]
Message-ID: <E1dkTlt-00076Z-Tn@debutante> (raw)
In-Reply-To: <20170822203239.19891-11-pierre-louis.bossart@linux.intel.com>

The patch

   ASoC: codecs: rt5645: add quirks for Asus T100HA

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

>From cb0236eca79c8ceb5cdb8d2a15ce272e754d2921 Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Date: Tue, 22 Aug 2017 15:32:35 -0500
Subject: [PATCH] ASoC: codecs: rt5645: add quirks for Asus T100HA

Fix jack detection and dmic setup

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt5645.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 9ec58166f7c4..500bb42d0804 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3637,6 +3637,24 @@ static const struct dmi_system_id dmi_platform_gpd_win[] = {
 	{}
 };
 
+static struct rt5645_platform_data general_platform_data2 = {
+	.dmic1_data_pin = RT5645_DMIC_DATA_IN2N,
+	.dmic2_data_pin = RT5645_DMIC2_DISABLE,
+	.jd_mode = 3,
+	.inv_jd1_1 = true,
+};
+
+static struct dmi_system_id dmi_platform_asus_t100ha[] = {
+	{
+		.ident = "ASUS T100HAN",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "T100HAN"),
+		},
+	},
+	{ }
+};
+
 static bool rt5645_check_dp(struct device *dev)
 {
 	if (device_property_present(dev, "realtek,in2-differential") ||
@@ -3689,6 +3707,8 @@ static int rt5645_i2c_probe(struct i2c_client *i2c,
 		rt5645->pdata = general_platform_data;
 	else if (dmi_check_system(dmi_platform_gpd_win))
 		rt5645->pdata = gpd_win_platform_data;
+	else if (dmi_check_system(dmi_platform_asus_t100ha))
+		rt5645->pdata = general_platform_data2;
 
 	if (quirk != -1) {
 		rt5645->pdata.in2_diff = QUIRK_IN2_DIFF(quirk);
-- 
2.14.1

  reply	other threads:[~2017-08-23 11:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 20:32 [PATCH 00/14] BYT/CHT codec/machine drivers update Pierre-Louis Bossart
2017-08-22 20:32 ` [PATCH 01/14] ASoC: Intel: boards: use devm_clk_get() unconditionally Pierre-Louis Bossart
2017-08-23 14:22   ` Andy Shevchenko
2017-08-22 20:32 ` [PATCH 02/14] ASoC: intel: cht_bsw_max98090: add support for clock framework Pierre-Louis Bossart
2017-08-22 20:32 ` [PATCH 03/14] ASoC: Intel: cht_bsw_max98090: Fix I2S config + unused code Pierre-Louis Bossart
2017-09-19 13:45   ` Applied "ASoC: Intel: cht_bsw_max98090: Fix I2S config + unused code" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 04/14] ASoc: cht_bsw_max98090_ti: Fix jack initialization Pierre-Louis Bossart
2017-08-22 20:32 ` [PATCH 05/14] ASoC: ts3a227e: add acpi table Pierre-Louis Bossart
2017-08-23 11:19   ` Mark Brown
2017-08-22 20:32 ` [PATCH 06/14] ASoC: Intel: atom: add support for Baytrail Chromebooks Pierre-Louis Bossart
2017-09-19 13:45   ` Applied "ASoC: Intel: atom: use cht_bsw_max98090 for Baytrail Chromebooks" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 07/14] ASoC: Intel: bytcr-rt5651: fix capture routes Pierre-Louis Bossart
2017-09-19 13:46   ` Applied "ASoC: Intel: bytcr-rt5651: fix capture routes" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 08/14] ASoC: Intel: bytcr_rt5651: add MCLK support Pierre-Louis Bossart
2017-08-22 20:32 ` [PATCH 09/14] ASoC: Intel: bytcr_rt5651: filter codec name Pierre-Louis Bossart
2017-08-22 20:32 ` [PATCH 10/14] ASoC: codecs: rt5645: add quirks for Asus T100HA Pierre-Louis Bossart
2017-08-23 11:24   ` Mark Brown [this message]
2017-08-22 20:32 ` [PATCH 11/14] ASoC: Intel: bytcr_rt5640: simplify MCLK quirk tests Pierre-Louis Bossart
2017-09-19 13:45   ` Applied "ASoC: Intel: bytcr_rt5640: simplify MCLK quirk tests" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 12/14] ASoC: codecs: rt5670: add jack detection quirk for Dell Venue 5585 Pierre-Louis Bossart
2017-08-23 11:24   ` Applied "ASoC: codecs: rt5670: add jack detection quirk for Dell Venue 5585" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 13/14] ASoC: Intel: cht_bsw_rt5672: use actual HID in suspend/resume Pierre-Louis Bossart
2017-09-25 16:16   ` Applied "ASoC: Intel: cht_bsw_rt5672: use actual HID in suspend/resume" to the asoc tree Mark Brown
2017-08-22 20:32 ` [PATCH 14/14] ASoC: Intel: cht_bsw_rt5672: fix card name Pierre-Louis Bossart
2017-09-25 16:16   ` Applied "ASoC: Intel: cht_bsw_rt5672: fix card name" to the asoc tree Mark Brown
2017-08-28 11:38 ` [PATCH 00/14] BYT/CHT codec/machine drivers update Pierre-Louis Bossart
2017-08-29 18:34   ` Mark Brown
2017-08-29 18:51     ` Pierre-Louis Bossart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1dkTlt-00076Z-Tn@debutante \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox