alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ASoC: Intel: Skylake: Add HDA link management
@ 2016-05-05  6:01 Vinod Koul
  2016-05-05  6:01 ` [PATCH v2 1/3] ALSA: hdac: add link pm and ref counting Vinod Koul
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Vinod Koul @ 2016-05-05  6:01 UTC (permalink / raw)
  To: alsa-devel; +Cc: liam.r.girdwood, patches.audio, broonie, Vinod Koul

HDA links are always kept On, this patch adds link management
routines in hdac extended core and it's use in Skylake driver and
hdmi codec (runs on HDA link)

The aim of serial is to shut down the links when not in use and
keep them active when a user is active. The user can activate
link by taking reference to the link when required.

When all links are closed, the command DMAs are turned off as
well. On first link power up, the command DMAs are turned on
first.

First patch touches HDA core, and rest two are dependent on it
so Takashi if you are okay, pls ACK it and we can merge thru ASoC
tree

Changes in v2:
 - use mutex instead of spinlock


Vinod Koul (3):
  ALSA: hdac: add link pm and ref counting
  ASoC: Intel: Skylake: add link management
  ASoC: hdac_hdmi: add link management

 include/sound/hdaudio_ext.h         | 13 ++++++++
 sound/hda/ext/hdac_ext_bus.c        |  3 ++
 sound/hda/ext/hdac_ext_controller.c | 62 +++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/hdac_hdmi.c        | 32 +++++++++++++++++--
 sound/soc/intel/skylake/skl-pcm.c   |  1 -
 sound/soc/intel/skylake/skl.c       | 34 ++++++++++++++++++++
 6 files changed, 142 insertions(+), 3 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-05-13 12:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05  6:01 [PATCH v2 0/3] ASoC: Intel: Skylake: Add HDA link management Vinod Koul
2016-05-05  6:01 ` [PATCH v2 1/3] ALSA: hdac: add link pm and ref counting Vinod Koul
2016-05-09  4:41   ` Vinod Koul
2016-05-09  6:40     ` Takashi Iwai
2016-05-09  7:58       ` Vinod Koul
2016-05-09  8:10         ` Takashi Iwai
2016-05-09  8:24           ` Vinod Koul
2016-05-05  6:01 ` [PATCH v2 2/3] ASoC: Intel: Skylake: add link management Vinod Koul
2016-05-05  6:01 ` [PATCH v2 3/3] ASoC: hdac_hdmi: " Vinod Koul
2016-05-13 12:26   ` Applied "ASoC: hdac_hdmi: add link management" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).