alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Osipenko <digetx@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Brown <broonie@kernel.org>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
Date: Mon, 30 Mar 2020 23:40:09 +0300	[thread overview]
Message-ID: <20200330204011.18465-1-digetx@gmail.com> (raw)

Hello,

Some devices have a 4-pin jack instead of a 3-pin and currently the
WM8903 configuration is hardcoded to the case of 3-pin jack in the
Tegra's ASoC driver. A new device-tree property is required in order
to convey that hardware has a 4-pin jack, and thus, microphone's
detection needs to be done in a different way.

In particular this is needed for Acer A500 tablet device that has
a 4-pin headset jack, otherwise userspace sees headset instead of
headphones and internal microphone isn't enabled by ALSA UCM rule
when it should be. Please review and apply, thanks in advance.

Dmitry Osipenko (2):
  dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
  ASoC: tegra: tegra_wm8903: Support nvidia,headset property

 .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | 1 +
 sound/soc/tegra/tegra_wm8903.c                              | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.25.1


             reply	other threads:[~2020-03-30 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30 20:40 Dmitry Osipenko [this message]
2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia, headset property Dmitry Osipenko
2020-04-10 17:44   ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Rob Herring
2020-04-14 14:47   ` Applied "ASoC: tegra-wm8903: Document new nvidia, headset property" to the asoc tree Mark Brown
2020-03-30 20:40 ` [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia, headset property Dmitry Osipenko
2020-04-14 14:47   ` Applied "ASoC: tegra: tegra_wm8903: Support nvidia, headset property" to the asoc tree Mark Brown
2020-04-09 14:52 ` [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
2020-04-09 16:54   ` Stephen Warren
2020-04-09 17:13     ` Dmitry Osipenko
2020-04-09 17:29       ` Mark Brown
2020-04-09 17:33         ` Dmitry Osipenko

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=20200330204011.18465-1-digetx@gmail.com \
    --to=digetx@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=swarren@wwwdotorg.org \
    --cc=tiwai@suse.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;
as well as URLs for NNTP newsgroup(s).