alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] rt5651: Enable jack detection
@ 2017-10-19 11:03 Carlo Caione
  2017-10-19 11:03 ` [PATCH 1/2] ASoC: rt5651: Enable jack detection on JD1_1 Carlo Caione
  2017-10-19 11:03 ` [PATCH 2/2] ASoC: intel: byt: Add headset jack Carlo Caione
  0 siblings, 2 replies; 8+ messages in thread
From: Carlo Caione @ 2017-10-19 11:03 UTC (permalink / raw)
  To: linux, bardliao, oder_chiou, pierre-louis.bossart, broonie,
	alsa-devel, linux-kernel, tiwai, albertchen, edgar_shen
  Cc: Carlo Caione

From: Carlo Caione <carlo@endlessm.com>

Small set of patches to enable jack detection for the rt5651 codec.

Please note that:
- The jack detection is restricted to the JD1_1 pin only (the only
  hardware I have uses this pin for jack detection)
- AFAICT (reading the rt5651 datasheet) there is no way to detect
  runtime the type of the jack inserted as done for the others rt56*
  codecs, so in the driver I always assume that we are dealing with an
  headset.

Carlo Caione (2):
  ASoC: rt5651: Enable jack detection on JD1_1
  ASoC: intel: byt: Add headset jack

 include/sound/rt5651.h                |  7 +++
 sound/soc/codecs/rt5651.c             | 91 ++++++++++++++++++++++++++++++++++-
 sound/soc/codecs/rt5651.h             |  3 ++
 sound/soc/intel/boards/bytcr_rt5651.c | 24 +++++++++
 4 files changed, 123 insertions(+), 2 deletions(-)

-- 
2.14.2

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

end of thread, other threads:[~2017-10-20  2:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-19 11:03 [PATCH 0/2] rt5651: Enable jack detection Carlo Caione
2017-10-19 11:03 ` [PATCH 1/2] ASoC: rt5651: Enable jack detection on JD1_1 Carlo Caione
2017-10-19 15:47   ` [alsa-devel] " Pierre-Louis Bossart
2017-10-19 15:54     ` Carlo Caione
2017-10-20  2:10       ` Bard Liao
2017-10-20  2:23   ` Bard Liao
2017-10-19 11:03 ` [PATCH 2/2] ASoC: intel: byt: Add headset jack Carlo Caione
2017-10-19 15:56   ` 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).