All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/13] Enable HDA Codec support on Intel Platforms
@ 2018-06-02  3:53 Pierre-Louis Bossart
  2018-06-02  3:53 ` [PATCH v3 01/13] ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_device instead Pierre-Louis Bossart
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Pierre-Louis Bossart @ 2018-06-02  3:53 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, Pierre-Louis Bossart, liam.r.girdwood, vkoul, broonie,
	rakesh.a.ughreja

Many Intel platforms (SKL, KBL) etc. in the market supports enhanced
audio capabilities which also includes DSP processing. The default
HDaudio legacy driver does not allow for the use of the DSP, this
patch set makes it possible while reusing existing code for HDAudio
codecs and without significant changes to the legacy driver.

This v3 is not split into two batches as done for v1 and v2, but keeps
the same logical progression. The first three patches are mostly data
structure changes, the DSP support capability is added then with an
ASoC HDA driver and the last patches are fixes required for
Skylake+. The changes to the HDAudio legacy driver are minimal.

Tests were run successfully on multiple platforms (Dell XPS13, KBL
NUC, APL NUC and LeafHill reference board).

Credits: all the initial code was written by Rakesh Ughreja, the
rebase to broonie/for-next, cleanups and additional tests were done by
Pierre Bossart.

Changes v3:
- port to component model
- additional tests on ApolloLake and KabyLake NUC devices
- cleanups (alignment, typos, etc)

Changes v2:
- Resolved review comments and rebased to latest kernel.
- added module load support for codec drivers.

Rakesh Ughreja (13):
  ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_device
    instead
  ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus
    instead
  ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver
    instead
  ASoC: Intel: Boards: Machine driver for SKL+ w/ HDAudio codecs
  ASoC: Intel: Skylake: Add entry in sst_acpi_mach for HDA codecs
  ASoC: Intel: Skylake: add HDA BE DAIs
  ASoC: Intel: Skylake: use hda_bus instead of hdac_bus
  ALSA: hda: split snd_hda_codec_new function
  ALSA: hdac: remove memory allocation from snd_hdac_ext_bus_device_init
  ALSA: hdac: add extended ops in the hdac_bus
  ASoC: hdac_hda: add asoc extension for legacy HDA codec drivers
  ALSA: hdac: ext: add wait for codec to respond after link reset
  ASoC: Intel: Skylake: fix widget handling

 include/sound/hdaudio.h                      |  29 ++
 include/sound/hdaudio_ext.h                  | 123 ++-----
 sound/hda/ext/hdac_ext_bus.c                 |  80 ++---
 sound/hda/ext/hdac_ext_controller.c          |  64 ++--
 sound/hda/ext/hdac_ext_stream.c              | 104 +++---
 sound/pci/hda/hda_bind.c                     |  12 +
 sound/pci/hda/hda_codec.c                    |  68 +++-
 sound/pci/hda/hda_codec.h                    |   2 +
 sound/soc/codecs/Kconfig                     |   5 +
 sound/soc/codecs/Makefile                    |   2 +
 sound/soc/codecs/hdac_hda.c                  | 469 +++++++++++++++++++++++++++
 sound/soc/codecs/hdac_hda.h                  |  24 ++
 sound/soc/codecs/hdac_hdmi.c                 | 416 +++++++++++-------------
 sound/soc/intel/boards/Kconfig               |   9 +
 sound/soc/intel/boards/Makefile              |   2 +
 sound/soc/intel/boards/skl_hda_dsp_common.c  | 133 ++++++++
 sound/soc/intel/boards/skl_hda_dsp_common.h  |  37 +++
 sound/soc/intel/boards/skl_hda_dsp_generic.c | 174 ++++++++++
 sound/soc/intel/skylake/skl-messages.c       |  50 ++-
 sound/soc/intel/skylake/skl-nhlt.c           |   8 +-
 sound/soc/intel/skylake/skl-pcm.c            | 182 +++++++----
 sound/soc/intel/skylake/skl-topology.c       |  23 +-
 sound/soc/intel/skylake/skl-topology.h       |   6 +-
 sound/soc/intel/skylake/skl.c                | 296 +++++++++++------
 sound/soc/intel/skylake/skl.h                |  13 +-
 25 files changed, 1640 insertions(+), 691 deletions(-)
 create mode 100644 sound/soc/codecs/hdac_hda.c
 create mode 100644 sound/soc/codecs/hdac_hda.h
 create mode 100644 sound/soc/intel/boards/skl_hda_dsp_common.c
 create mode 100644 sound/soc/intel/boards/skl_hda_dsp_common.h
 create mode 100644 sound/soc/intel/boards/skl_hda_dsp_generic.c

-- 
2.14.1

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2018-07-04 10:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-02  3:53 [PATCH v3 00/13] Enable HDA Codec support on Intel Platforms Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 01/13] ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_device instead Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 02/13] ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 03/13] ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver instead Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 04/13] ASoC: Intel: Boards: Machine driver for SKL+ w/ HDAudio codecs Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 05/13] ASoC: Intel: Skylake: Add entry in sst_acpi_mach for HDA codecs Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 06/13] ASoC: Intel: Skylake: add HDA BE DAIs Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 07/13] ASoC: Intel: Skylake: use hda_bus instead of hdac_bus Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 08/13] ALSA: hda: split snd_hda_codec_new function Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 09/13] ALSA: hdac: remove memory allocation from snd_hdac_ext_bus_device_init Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 10/13] ALSA: hdac: add extended ops in the hdac_bus Pierre-Louis Bossart
2018-06-02  3:53 ` [PATCH v3 11/13] ASoC: hdac_hda: add asoc extension for legacy HDA codec drivers Pierre-Louis Bossart
2018-06-02  3:54 ` [PATCH v3 12/13] ALSA: hdac: ext: add wait for codec to respond after link reset Pierre-Louis Bossart
2018-06-02  3:54 ` [PATCH v3 13/13] ASoC: Intel: Skylake: fix widget handling Pierre-Louis Bossart
2018-06-02  9:00 ` [PATCH v3 00/13] Enable HDA Codec support on Intel Platforms Takashi Iwai
2018-06-04 13:27   ` Pierre-Louis Bossart
2018-06-04 13:33     ` Mark Brown
2018-06-04 13:44     ` Takashi Iwai
2018-06-26 19:04       ` Takashi Iwai
2018-06-27 23:04         ` Pierre-Louis Bossart
2018-06-28  5:02           ` Pierre-Louis Bossart
2018-06-28  5:34             ` Takashi Iwai
2018-07-04 10:38               ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.