All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Cezary Rojewski <cezary.rojewski@intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
	Mark Brown <broonie@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>,
	Oder Chiou <oder_chiou@realtek.com>,
	alsa-devel@alsa-project.org
Subject: [PATCH 2/7] ASoC: rt5645: Add platform-data for Acer Switch V 10
Date: Sun, 26 Nov 2023 22:40:19 +0100	[thread overview]
Message-ID: <20231126214024.300505-3-hdegoede@redhat.com> (raw)
In-Reply-To: <20231126214024.300505-1-hdegoede@redhat.com>

The Acer Switch V 10 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 Braswell's reference design.

Add a DMI quirk pointing to the intel_braswell_platform_data for this.

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 c7089c2f7c5c..20bbdf76ffd7 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3847,6 +3847,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
 		},
 		.driver_data = (void *)&ecs_ef20_platform_data,
 	},
+	{
+		.ident = "Acer Switch V 10 (SW5-017)",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SW5-017"),
+		},
+		.driver_data = (void *)&intel_braswell_platform_data,
+	},
 	{ }
 };
 
-- 
2.41.0


  parent reply	other threads:[~2023-11-26 21:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-26 21:40 [PATCH 0/7] ASoC: rt5645: Add Acer Switch V 10 quirk + report quirks in components string Hans de Goede
2023-11-26 21:40 ` [PATCH 1/7] ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[] Hans de Goede
2023-11-26 21:40 ` Hans de Goede [this message]
2023-11-26 21:40 ` [PATCH 3/7] ASoC: rt5645: Refactor rt5645_parse_dt() Hans de Goede
2023-11-26 21:40 ` [PATCH 4/7] ASoC: rt5645: Add rt5645_get_pdata() helper Hans de Goede
2023-11-26 21:40 ` [PATCH 5/7] ASoC: rt5645: Add a rt5645_components() helper Hans de Goede
2023-11-26 21:40 ` [PATCH 6/7] ASoC: rt5645: Add mono speaker information to the components string Hans de Goede
2023-11-26 21:40 ` [PATCH 7/7] ASoC: Intel: cht_bsw_rt5645: Set card.components string Hans de Goede
2023-12-22 13:29 ` [PATCH 0/7] ASoC: rt5645: Add Acer Switch V 10 quirk + report quirks in components string Mark Brown

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=20231126214024.300505-3-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=cezary.rojewski@intel.com \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.