• Mark Brown's avatar
    ASoC: mediatek: Allow separate handling of headphone and headset mic jack · 583ccffc
    Mark Brown authored
    Merge series from Nícolas F. R. A. Prado <nfraprado@collabora.com>:
    
    This series allows the headphone and headset mic jack status to be
    handled separately by userspace on MT8192, MT8195 and MT8186.
    
    Changes based on commit d0508b4f ("ASoC: rk3399_gru_sound: Add DAPM
    pins, kcontrols for jack detection"). Found while searching for an
    alternative for JackSwitch [1].
    
    [1] https://lore.kernel.org/all/b98a8a77-7652-1995-27ba-eb7b6d30202a@gmail.com/
    
    Nícolas F. R. A. Prado (6):
      ASoC: mediatek: mt8192-mt6359: Expose individual headset jack pins
      ASoC: mediatek: mt8195: Expose individual headset jack pins
      ASoC: mediatek: mt8186-da7219: Add headset widgets with switches
      ASoC: mediatek: mt8186-da7219: Expose individual headset jack pins
      ASoC: mediatek: mt8186-rt5682: Add headset widgets with switches
      ASoC: mediatek: mt8186-rt5682: Expose individual headset jack pins
    
     .../mt8186/mt8186-mt6366-da7219-max98357.c    | 25 +++++++++++++++++--
     .../mt8186/mt8186-mt6366-rt1019-rt5682s.c     | 25 +++++++++++++++++--
     .../mt8192/mt8192-mt6359-rt1015-rt5682.c      | 17 +++++++++++--
     sound/soc/mediatek/mt8195/mt8195-mt6359.c     | 17 +++++++++++--
     4 files changed, 76 insertions(+), 8 deletions(-)
    
    --
    2.37.3
    583ccffc
mt8195-mt6359.c 42 KB