1. 19 Nov, 2019 3 commits
    • Nikhil Mahale's avatar
      ALSA: hda - Add DP-MST support for non-acomp codecs · 9c32fea8
      Nikhil Mahale authored
      This patch make it possible for non-acomp codecs to set
      dyn_pcm_assign/dp_mst and get DP-MST audio support.
      
      Document change notification HDA040-A for the Intel High Definition
      Audio 1.0a specification introduces a Device Select verb for Digital
      Display Pin Widgets that are multi-stream capable. This verb selects
      a Device Entry that is used by subsequent Pin Widget verbs.
      Once the Device Entry is selected, all subsequent Pin Widget verbs
      controlling the sink device will be directed to the selected Device
      Entry until the Device Select verb is updated with a new value.
      
      These Pin Widget verbs include:
      
        * Connection Select
        * Get Connection List Entry
        * Amplifier Gain/Mute
        * Power State
        * Pin Widget Control
        * ELD Data
        * DIP-Size
        * DIP-Index
        * DIP-Data
        * DIP-XmitCtrl
        * Content Protection Control
        * ASP Channel Mapping
      
      This patch adds calls to snd_hda_set_dev_select() to direct each of
      these Pin Widget control verbs to the correct Device Entry.
      
      snd_hda_get_connections() does not return per-device connection
      list, therefore make use snd_hda_get_raw_connections() instead of
      snd_hda_get_connections().
      Signed-off-by: default avatarNikhil Mahale <nmahale@nvidia.com>
      Reviewed-by: default avatarAaron Plattner <aplattner@nvidia.com>
      Link: https://lore.kernel.org/r/20191119084710.29267-4-nmahale@nvidia.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9c32fea8
    • Nikhil Mahale's avatar
      ALSA: hda - Add DP-MST jack support · 5204a05d
      Nikhil Mahale authored
      This patch adds DP-MST jack support which will be used on NVIDIA
      platforms. Today, DP-MST audio is supported only if the codec has
      acomp support. This patch makes it possible to add DP-MST support
      for non-acomp codecs.
      
      For the codecs supporting DP-MST audio, each pin can contain several
      device entries. Each device entry is a virtual pin, described by
      pin_nid and dev_id in struct hdmi_spec_per_pin. For monitor hotplug
      event handling, non-acomp codecs enable and register jack-detection
      for every hdmi_spec_per_pin.
      
      This patch updates every relevant function in hda_jack.h and its
      implementation in hda_jack.c, to consider dev_id along with pin_nid.
      
      Changes to the HD Audio specification to support DP-MST audio are
      described in the Intel Document Change Notification (DCN) number
      HDA040-A.
      
      From HDA040-A, "For the case of multi stream capable Digital Display
      Pin Widget, [the Get Pin Sense verb] can be used to read a specific
      Device Entry state as reported in Get Device List Entry verb." This
      patch updates the read_pin_sense() function to take the dev_id as an
      argument and pass it as a parameter to the Get Pin Sense verb.
      
      Bits 15 through 20 from the Unsolicited Response for intrinsic
      events contain the index of the Device Entry that generated the
      event. This patch updates the Unsolicited Response event handlers to
      extract the device entry index from the response and pass it to
      snd_hda_jack_tbl_get_from_tag().
      
      This patch updates snd_hda_jack_tbl_new() to take a dev_id argument
      and store it in the jack structure, and to make sure not to generate
      a different tag when called more than once for the same nid.
      Signed-off-by: default avatarNikhil Mahale <nmahale@nvidia.com>
      Link: https://lore.kernel.org/r/20191119084710.29267-3-nmahale@nvidia.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5204a05d
    • Nikhil Mahale's avatar
      ALSA: hda - Rename snd_hda_pin_sense to snd_hda_jack_pin_sense · 80b917a8
      Nikhil Mahale authored
      s/snd_hda_pin_sense/snd_hda_jack_pin_sense/g
      
      This aligns the snd_hda_pin_sense function name with the names of
      other functions in hda_jack.h.
      Signed-off-by: default avatarNikhil Mahale <nmahale@nvidia.com>
      Reviewed-by: default avatarAaron Plattner <aplattner@nvidia.com>
      Link: https://lore.kernel.org/r/20191119084710.29267-2-nmahale@nvidia.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      80b917a8
  2. 15 Nov, 2019 3 commits
  3. 14 Nov, 2019 5 commits
  4. 13 Nov, 2019 2 commits
  5. 12 Nov, 2019 1 commit
  6. 11 Nov, 2019 6 commits
  7. 09 Nov, 2019 12 commits
  8. 08 Nov, 2019 3 commits
  9. 07 Nov, 2019 3 commits
    • Takashi Iwai's avatar
      Merge branch 'for-linus' into for-next · 66a8966a
      Takashi Iwai authored
      Merge 5.4-devel branch for applying the further ALSA timer fixes.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      66a8966a
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.5' of... · 9ff77597
      Takashi Iwai authored
      Merge tag 'asoc-v5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
      
      ASoC: Updates for v5.5
      
      Some big changes in the core but more about cleanps and refactorings
      than new features, plus a collection of new drivers and lots of small
      fixes and improvements to existing ones.
      
       - Lots more cleanups from Morimoto-san.  Now that everything is a
         component this is mostly about refactorings to clarify and simplify
         the core, a combination of things that are no longer required due to
         refactorings and spotting similarities.
       - Many fixes to the Sound Open Firmware code.
       - Wake on voice support for Chromebooks.
       - SPI support for RT5677.
       - New drivers for Analog Devices ADAU7118, Intel Cannonlake systems
         with RT1011 and RT5682, Texas Instruments TAS2562 and TAS2770.
      9ff77597
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v5.4-rc6' of... · df37d941
      Takashi Iwai authored
      Merge tag 'asoc-fix-v5.4-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.4
      
      These are a collection of fixes since v5.4-rc4 that have accumilated,
      they're all driver specific and there's nothing major in here so it's
      probably not essential to actually send them but I'll leave that call to
      you.
      df37d941
  10. 06 Nov, 2019 2 commits