All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: patches.audio@intel.com, alsa-devel@alsa-project.org,
	broonie@kernel.org, lgirdwood@gmail.com
Subject: Re: [RFC 00/11] ASoC: hdac: Add hdac generic driver
Date: Fri, 8 Jul 2016 13:51:39 +0530	[thread overview]
Message-ID: <20160708082135.GA15524@subhransu-desktop> (raw)
In-Reply-To: <s5hr3b4k1lq.wl-tiwai@suse.de>

On Fri, Jul 08, 2016 at 09:53:05AM +0200, Takashi Iwai wrote:
> On Fri, 08 Jul 2016 09:33:48 +0200,
> Subhransu S. Prusty wrote:
> > 
> > On Tue, Jun 28, 2016 at 10:43:47AM +0530, Subhransu S. Prusty wrote:
> > > On Mon, Jun 27, 2016 at 09:05:47AM +0200, Takashi Iwai wrote:
> > > > On Mon, 27 Jun 2016 05:47:53 +0200,
> > > > Subhransu S. Prusty wrote:
> > > > > 
> > > > > HDA devices generically can be modelled with DAPM in ASoC. This
> > > > > series adds a framework in ASoC to model HDA devices. HDA widgets
> > > > > are enumerated and one or multiple DAPM widget(s) are created.
> > > > > Connection list is queried for each widget to identify the
> > > > > connection between two endpoints and modelled using DAPM graph.
> > > > > 
> > > > > Set of event handlers are defined for each widget type. Based on
> > > > > DAPM events required verbs are sent to program codec.
> > > > > 
> > > > > Finally a function is exported to query for the device endpoint
> > > > > configuration to create machine controls.
> > > > 
> > > > Well...  This is really a hard way to go.  The generic codec support
> > > > is good, but only if it can cover most of stuff.  That is, you'll have
> > > > to think of the exceptions from the beginning, because the majority of
> > > > HD-audio devices are exceptional, i.e. don't follow the standard
> > > 
> > > Hi Takashi,
> > > 
> > > Thanks for review.
> > > 
> > > I think, more detail in the cover letter would have been helpful here. Sorry
> > > for missing out. Let me explain more.
> > > 
> > > Intention here is to create a framework for the HDA devices in ASoC. This
> > > will follow standard. This will be registered as generic "virtual" class
> > > device. If there is no match found for vendor id and device id, then the
> > > class driver will be loaded. For vendor specific devices, a match function
> > > will be provided. With the help of this, the vendor quirks will be
> > > registered. Additional widgets, controls and route will be created in a
> > > vendor specific way through vendor ops. So its similar to patch files in
> > > legacy HDA driver.
> > > 
> > > Vendor specific quirks patch series will follow after the framework is
> > > merged.
> > 
> > Hi Takashi,
> > 
> > Any more feedback or looking for more details?
> 
> Sorry I haven't looked at the patchset much, as they are mostly for
> ASoC specific.  BTW, what about EAPD and pin vref?  Are they set up
> and configurable?

EAPD can be configured as an widget if capability available.  vref can
be alsa control to the user to set the percentage value.

Regards,
Subhransu

> 
> 
> Takashi

-- 

  reply	other threads:[~2016-07-08  8:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27  3:47 [RFC 00/11] ASoC: hdac: Add hdac generic driver Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 01/11] ALSA: hdac: Add codec helper library Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 02/11] ASoC: Add dai_ops to set the stream tag Subhransu S. Prusty
2016-06-27 17:30   ` Mark Brown
2016-06-28  5:21     ` Subhransu S. Prusty
2016-06-28 11:15       ` Mark Brown
2016-06-29  4:08         ` Subhransu S. Prusty
2016-06-29 18:50           ` Mark Brown
2016-06-30  8:59             ` Subhransu S. Prusty
2016-07-05 12:54               ` Mark Brown
2016-07-08  5:27                 ` Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 03/11] ALSA: hda - Add macro to test pin widget's input capability Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 04/11] ASoC: hdac: Add a generic hdac driver framework Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 05/11] ASoC: hdac: Create DAPM model for HDA widgets Subhransu S. Prusty
2016-06-27  3:47 ` [RFC 06/11] ASoC: dapm: Create API to add a single route element Subhransu S. Prusty
2016-06-27 18:02   ` Mark Brown
2016-06-28  5:22     ` Subhransu S. Prusty
2016-06-27  3:48 ` [RFC 07/11] ASoC: hdac: Build DAPM graph by querying through widget connection list Subhransu S. Prusty
2016-06-27  3:48 ` [RFC 08/11] ASoC: hdac: Register widget event handlers Subhransu S. Prusty
2016-06-27  3:48 ` [RFC 09/11] ALSA: hda - macro to get default config device of pin widgets Subhransu S. Prusty
2016-06-27  3:48 ` [RFC 10/11] ASoC: dapm: Export snd_soc_dapm_new_control Subhransu S. Prusty
2016-07-05 14:57   ` Applied "ASoC: dapm: Export snd_soc_dapm_new_control" to the asoc tree Mark Brown
2016-06-27  3:48 ` [RFC 11/11] ASoC: hdac: Export API to create machine controls Subhransu S. Prusty
2016-06-27  7:05 ` [RFC 00/11] ASoC: hdac: Add hdac generic driver Takashi Iwai
2016-06-28  5:13   ` Subhransu S. Prusty
2016-07-08  7:33     ` Subhransu S. Prusty
2016-07-08  7:53       ` Takashi Iwai
2016-07-08  8:21         ` Subhransu S. Prusty [this message]
2016-07-08  8:37           ` Takashi Iwai
2016-07-08  8:49             ` Subhransu S. Prusty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160708082135.GA15524@subhransu-desktop \
    --to=subhransu.s.prusty@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=patches.audio@intel.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.