[alsa-devel] [PATCH 0/3] Add support simple-card parse jack detection via external codec

Xing Zheng zhengxing at rock-chips.com
Mon Apr 18 10:17:29 CEST 2016


Hi,
    In most cases, many codecs already supports jack detection,
previouslly, we need to create a customized machine driver every time.

    Hence, the simple-card need to support use them dynamically via
parse dts file for better flexibility.


Xing Zheng (3):
  ASoC: jack: Add a jack detect callback via codec
  ASoC: simple-card: Add support jack detection via codec
  ASoC: da7219: Add detect_jack callback in the snd_soc_codec_driver

 .../devicetree/bindings/sound/simple-card.txt      |   17 +++
 include/sound/soc.h                                |    6 +
 sound/soc/codecs/da7219.c                          |    2 +
 sound/soc/generic/simple-card.c                    |  126 +++++++++++++++++++-
 sound/soc/soc-jack.c                               |    8 ++
 5 files changed, 156 insertions(+), 3 deletions(-)

-- 
1.7.9.5




More information about the Alsa-devel mailing list