alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Rationale for BYTCR defaults in the kernel's bytcr_rt5640 machine driver ?
@ 2018-05-01 19:21 Hans de Goede
  2018-05-01 20:29 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2018-05-01 19:21 UTC (permalink / raw)
  To: Pierre-Louis Bossart, alsa-devel

Hi Pierre-Louis,

I'm finally wrapping up my rt5640 jack-detect work, as
such I'm currently testing speaker + headphones + internal mic +
headset-mic + jack-detect functionality on the 10 different
x86 devices with a rt5640 codec which I've gathered.

2 of them stand out in that they use the BYTCR SoC, but don't
have the ACPI table for detecting if SSP0 AIF1 or AIF2
should be used. Currently the driver defaults to AIF2
in this case.

As the somewhat wildcard-ish DMI quirk for boards where
the sys_vendor is "Insyde" (which applies to a lot of
generic designs) shows:

         {
                 .callback = byt_rt5640_quirk_cb,
                 .matches = {
                         DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
                 },
                 .driver_data = (void *)(BYT_RT5640_IN3_MAP |
                                         BYT_RT5640_MCLK_EN |
                                         BYT_RT5640_SSP0_AIF1),

         },

AIF1 seems to be a better default both models without
the ACPI table which I've here, a HP pavilion X2 and a
Toshiba Click Mini L9W-B need a quirk to use AIF1.

So I was wondering if there was a specific rationale for the
AIF2 default and if it would not be better to change the default
to AIF1 (which will unfortunately bring a chance of regressions) ?

Regards,

Hans

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

end of thread, other threads:[~2018-05-03 16:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 19:21 Rationale for BYTCR defaults in the kernel's bytcr_rt5640 machine driver ? Hans de Goede
2018-05-01 20:29 ` Pierre-Louis Bossart
2018-05-03  8:13   ` Hans de Goede
2018-05-03 16:26     ` Pierre-Louis Bossart

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).