From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Hans de Goede <hdegoede@redhat.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Mark Brown <broonie@kernel.org>, Bard Liao <bardliao@realtek.com>,
Oder Chiou <oder_chiou@realtek.com>
Cc: alsa-devel@alsa-project.org, Carlo Caione <carlo@endlessm.com>
Subject: Re: [[PATCH 0/9] ASoC: Intel: bytcr_rt5651: Cleanup (input mapping quirks)
Date: Tue, 26 Jun 2018 21:40:51 -0700 [thread overview]
Message-ID: <e3791c1b-5f57-cae0-3a32-6bcd95932597@linux.intel.com> (raw)
In-Reply-To: <d383ab37-9055-79f5-21a1-78308fb1d48d@redhat.com>
On 6/26/18 2:47 AM, Hans de Goede wrote:
> Hi,
>
> On 25-06-18 22:01, Pierre-Louis Bossart wrote:
>> On 6/24/18 9:06 AM, Hans de Goede wrote:
>>> Hi Mark,
>>>
>>> This series is mainly a cleanup series. In the beginning of the rt5651
>>> machine driver some wrong assumptions were made, such as the headset
>>> mic being attached to IN2 (it is on IN3 on the 7 machines I have access
>>> to and on all otherwise known machines).
>>
>> We use a rt5651 reference board for this codec connector to the
>> MinnowBoard. I am pretty sure for that board IN2 is used for the
>> headset. Please give me a couple of days to double-check.
>
> According to this commit:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/soc/intel/boards/bytcr_rt5651.c?id=60e3b52e9354550c28090237b083b20bbabed598
>
>
> It is connected to IN3 on the Minnowboard Max with Realtek rt5651 eval
> board.
>
> And you yourself added a quirk for it being on IN3 for the MinnowBoard
> Turbot:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/soc/intel/boards/bytcr_rt5651.c?id=416f2b51119b8cdd899b226e4cf683d000797a8b
>
>
> Note I later renamed the IN3_MAP to IN1_HS_IN3 to make clear that it
> is for internal mic on IN1, hs-mis on IN3, as can be seen in:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/sound/soc/intel/boards/bytcr_rt5651.c?id=60e3b52e9354550c28090237b083b20bbabed598
>
> (which is the commit adding both the quirk and updating the Minnowboard Max
> DMI entry to use this quirk).
Yes, you are right that headset is connected on IN3 but I wasn't
completely crazy with IN2 - it's used for the line in, I just confused
connectors...
The cleanups look ok and well documented, I just find that the
simplification of patch 7/9 goes one bridge too far. If we ever get a
quirk where the headset is not on IN3 we'll have limited ways of finding
the right UCM files. Keeping hs-in3 in the filename is not big deal -
your call really.
FWIW, all
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
>
> Regards,
>
> Hans
>
>
>
>>> And also adding a quirk for a machine with the intmic on IN2, which
>>> later got fixed with a new quirk for machines with 2 internal mics
>>> on both IN1 and IN2 and moving the one machine with the IN2 quirk
>>> over to the new IN1_IN2 quirk, leaving the IN2 quirk as an orphan
>>> quirk for non existing hardware.
>>>
>>> Then I made a similar mistake adding the IN2_HS_IN3 quirk, while I
>>> should have used the IN1_HS_IN3 (which itself only exists because
>>> the original IN1 quirk has the headset input mapping wrong),
>>>
>>> TL;DR: it is a bit of a mess due to a number of wrong assumptions
>>> about how the inputs where actually routed in the past.
>>>
>>> This series cleans this all up in small commits / one bit a time and
>>> refers the original commit messages in its commit messages.
>>>
>>> Note patch 10/11 is not a cleanup patch, but is more or less the
>>> reason I took a second look at all the quirks.
>>>
>>> Regards,
>>>
>>> Hans
>>>
>>> _______________________________________________
>>> Alsa-devel mailing list
>>> Alsa-devel@alsa-project.org
>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>>
>>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2018-06-27 4:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 14:06 [[PATCH 0/9] ASoC: Intel: bytcr_rt5651: Cleanup (input mapping quirks) Hans de Goede
2018-06-24 14:06 ` [PATCH 1/9] ASoC: Intel: bytcr_rt5651: Add BYT_RT5651_DEFAULT_QUIRKS define Hans de Goede
2018-06-27 11:32 ` Applied "ASoC: Intel: bytcr_rt5651: Add BYT_RT5651_DEFAULT_QUIRKS define" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 2/9] ASoC: Intel: bytcr_rt5651: Change default input map from in2 to in1 Hans de Goede
2018-06-27 11:32 ` Applied "ASoC: Intel: bytcr_rt5651: Change default input map from in2 to in1" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 3/9] ASoC: Intel: bytcr_rt5651: Fix IN1_IN2_MAP quirk not being logged Hans de Goede
2018-06-27 11:32 ` Applied "ASoC: Intel: bytcr_rt5651: Fix IN1_IN2_MAP quirk not being logged" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 4/9] ASoC: Intel: bytcr_rt5651: Remove IN2 input mappings Hans de Goede
2018-06-27 11:31 ` Applied "ASoC: Intel: bytcr_rt5651: Remove IN2 input mappings" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 5/9] ASoC: Intel: bytcr_rt5651: Fix IN1 map headsetmic mapping Hans de Goede
2018-06-27 11:31 ` Applied "ASoC: Intel: bytcr_rt5651: Fix IN1 map headsetmic mapping" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 6/9] ASoC: Intel: bytcr_rt5651: Fix DMIC map headsetmic mapping Hans de Goede
2018-06-27 11:31 ` Applied "ASoC: Intel: bytcr_rt5651: Fix DMIC map headsetmic mapping" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 7/9] ASoC: Intel: bytcr_rt5651: Simplify card long-name Hans de Goede
2018-06-27 11:31 ` Applied "ASoC: Intel: bytcr_rt5651: Simplify card long-name" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 8/9] ASoC: Intel: bytcr_rt5651: Add BYT_RT5651_HP_LR_SWAPPED quirk Hans de Goede
2018-06-27 11:30 ` Applied "ASoC: Intel: bytcr_rt5651: Add BYT_RT5651_HP_LR_SWAPPED quirk" to the asoc tree Mark Brown
2018-06-24 14:06 ` [PATCH 9/9] ASoC: Intel: bytcr_rt5651: Sort DMI table entries alphabetically Hans de Goede
2018-06-27 11:30 ` Applied "ASoC: Intel: bytcr_rt5651: Sort DMI table entries alphabetically" to the asoc tree Mark Brown
2018-06-25 20:01 ` [[PATCH 0/9] ASoC: Intel: bytcr_rt5651: Cleanup (input mapping quirks) Pierre-Louis Bossart
2018-06-26 9:47 ` Hans de Goede
2018-06-27 4:40 ` Pierre-Louis Bossart [this message]
2018-06-27 7:16 ` Hans de Goede
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=e3791c1b-5f57-cae0-3a32-6bcd95932597@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=bardliao@realtek.com \
--cc=broonie@kernel.org \
--cc=carlo@endlessm.com \
--cc=hdegoede@redhat.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=oder_chiou@realtek.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox