• Mark Brown's avatar
    Merge series "ASoC: fsl-asoc-card: Support hp and mic detection" from Shengjiu... · 5f52d4dd
    Mark Brown authored
    Merge series "ASoC: fsl-asoc-card: Support hp and mic detection" from Shengjiu Wang <shengjiu.wang@nxp.com>:
    
    Support hp and mic detection.
    Add a parameter for asoc_simple_init_jack.
    
    Shengjiu Wang (3):
      ASoC: simple-card-utils: Support configure pin_name for
        asoc_simple_init_jack
      ASoC: bindings: fsl-asoc-card: Support hp-det-gpio and mic-det-gpio
      ASoC: fsl-asoc-card: Support Headphone and Microphone Jack detection
    
    changes in v2:
    - Add more comments in third commit
    - Add Acked-by Nicolin.
    
     .../bindings/sound/fsl-asoc-card.txt          |  3 +
     include/sound/simple_card_utils.h             |  6 +-
     sound/soc/fsl/Kconfig                         |  1 +
     sound/soc/fsl/fsl-asoc-card.c                 | 77 ++++++++++++++++++-
     sound/soc/generic/simple-card-utils.c         |  7 +-
     5 files changed, 86 insertions(+), 8 deletions(-)
    
    --
    2.27.0
    5f52d4dd
fsl-asoc-card.c 24.4 KB