lkml.org 
[lkml]   [2017]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] rt5651: Enable jack detection
Date
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

\
 
 \ /
  Last update: 2017-10-22 17:22    [W:0.048 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site