1. 12 Mar, 2021 22 commits
  2. 11 Mar, 2021 15 commits
  3. 10 Mar, 2021 3 commits
    • Mark Brown's avatar
      Merge series "Report jack and button detection + Capture Support" from Lucas... · 64682e1b
      Mark Brown authored
      Merge series "Report jack and button detection + Capture Support" from Lucas Tanure <tanureal@opensource.cirrus.com>:
      
      Hi All,
      
      Here is a patch series for reporting to user space jack and button events and
      add the support for Capture. With some cleanups and fixes along the way.
      
      Regards,
      
      Lucas Tanure
      
      Lucas Tanure (12):
        ASoC: cs42l42: Fix Bitclock polarity inversion
        ASoC: cs42l42: Fix channel width support
        ASoC: cs42l42: Fix mixer volume control
        ASoC: cs42l42: Don't enable/disable regulator at Bias Level
        ASoC: cs42l42: Always wait at least 3ms after reset
        ASoC: cs42l42: Remove power if the driver is being removed
        ASoC: cs42l42: Disable regulators if probe fails
        ASoC: cs42l42: Provide finer control on playback path
        ASoC: cs42l42: Set clock source for both ways of stream
        ASoC: cs42l42: Add Capture Support
        ASoC: cs42l42: Report jack and button detection
        ASoC: cs42l42: Use bclk from hw_params if set_sysclk was not called
      
      Richard Fitzgerald (3):
        ASoC: cs42l42: Wait at least 150us after writing SCLK_PRESENT
        ASoC: cs42l42: Only start PLL if it is needed
        ASoC: cs42l42: Wait for PLL to lock before switching to it
      
       sound/soc/codecs/cs42l42.c | 435 +++++++++++++++++++++----------------
       sound/soc/codecs/cs42l42.h |  41 +++-
       2 files changed, 282 insertions(+), 194 deletions(-)
      
      --
      2.30.1
      64682e1b
    • Mark Brown's avatar
      Merge series "Add I2S-MCC support for Microchip's SAMA7G5" from Codrin... · 9bcf56c9
      Mark Brown authored
      Merge series "Add I2S-MCC support for Microchip's SAMA7G5" from Codrin Ciubotariu <codrin.ciubotariu@microchip.com>:
      
      SAMA7G5 includes an updated version of I2S-MCC, found previously on
      SAM9X60. This controller includes 8 data pins, 4 for playback and 4 for
      capture. For I2S and LEFT_J formats, these pins can be used to
      send/receive up to 8 audio channels. For DSP_A, with TDM, any pins pair
      (DIN/DOUT) from these 4 can be selected to send/receive data. This
      version also includes 2 FIFOs (send and receive).
      This patch set starts by moving the driver's bindings to yaml and
      continues with adding a new compatible for the SAMA7G5 variant, followed
      by the changes needed for I2S/LEFT_J support, TDM pin pair selection and
      FIFO support, exclusively for SAMA7G5.
      
      Changes in v2:
      - moved DT binding conversion patch from the beginning to the end of the
        patch serieses
      - patches that update the DT binding are modified to change .txt file
        instead of .yaml
      
      Codrin Ciubotariu (7):
        dt-bindings: mchp,i2s-mcc: Add SAMA7G5 to binding
        ASoC: mchp-i2s-mcc: Add compatible for SAMA7G5
        ASoC: mchp-i2s-mcc: Add multi-channel support for I2S and LEFT_J
          formats
        dt-bindings: mchp,i2s-mcc: Add property to specify pin pair for TDM
        ASoC: mchp-i2s-mcc: Add support to select TDM pins
        ASoC: mchp-i2s-mcc: Add FIFOs support
        ASoC: convert Microchip I2SMCC binding to yaml
      
       .../bindings/sound/mchp,i2s-mcc.yaml          | 108 ++++++++++++
       .../bindings/sound/mchp-i2s-mcc.txt           |  43 -----
       sound/soc/atmel/Kconfig                       |   3 +
       sound/soc/atmel/mchp-i2s-mcc.c                | 161 +++++++++++++++---
       4 files changed, 252 insertions(+), 63 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/mchp,i2s-mcc.yaml
       delete mode 100644 Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt
      
      --
      2.27.0
      9bcf56c9
    • Shuming Fan's avatar
      ASoC: rt5682: add delay time of workqueue to control next IRQ event · 54271282
      Shuming Fan authored
      This patch keeps the delay time (50 ms) for jack detection and zero delay time for the button press.
      This patch improves the reaction of the button press.
      Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
      Link: https://lore.kernel.org/r/20210309085827.32032-1-shumingf@realtek.com
      Tested-by Curtis Malainey <cujomalainey@chromium.org>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      54271282