From: liam.r.girdwood@linux.intel.com (Liam Girdwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [alsa-devel] [PATCH] ASoC: rt286: Add API to set supported jack type
Date: Mon, 11 Aug 2014 10:59:45 +0100 [thread overview]
Message-ID: <1407751185.2487.150.camel@loki> (raw)
In-Reply-To: <20140807173136.GN17528@sirena.org.uk>
On Thu, 2014-08-07 at 18:31 +0100, Mark Brown wrote:
> On Thu, Aug 07, 2014 at 01:43:24AM +0000, Bard Liao wrote:
>
> > > If this is coming from the hardware design I'd expect this to be configured
> > > via platform data or firmware data rather than with an API.
> > > Why do it this way?
>
> > Actually, this patch is for Intel platform which doesn't support platform data
> > yet. That's why we create an API so they can call the API in machine driver.
>
> So, this is something that the people wanting to use ACPI in platforms
> with devices like this are going to have to deal with - we need a way of
> getting configuration to devices. Traditionally small tweaks have been
> done based on DMI information but that's not at all scalable. I believe
> newer ACPI specs are trying to accomodate this due to the expanding
> range of systems supporting ACPI. Punting to the machine driver just
> moves the problem around, it doesn't really address it.
>
Unfortunately this will be needed for some Broadwell based BIOSes since
the timing of the ACPI spec/implementation has meant that some Broadwell
BIOSes will contain the data whilst most others wont atm :(
> I've CCed in Graeme Gregory who's been writing some guidelines for this
> sort of thing in the context of ARMv8 serviers - the most recent patch
> is:
>
> http://thread.gmane.org/gmane.linux.acpi.devel/69757
>
> The advice there looks good to me - see the "Device Enumeration"
> section.
This is indeed good, just too late for the initial Broadwell BIOSes that
wont have this _DSD field for the codec (it will be hard coded for
Windows anyway).
Liam
next prev parent reply other threads:[~2014-08-11 9:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1407217970-20126-1-git-send-email-bardliao@realtek.com>
[not found] ` <20140806205421.GZ17528@sirena.org.uk>
[not found] ` <ABFD875FF5FB574BA706497D987D48D7608E00@RTITMBSV03.realtek.com.tw>
2014-08-07 17:31 ` [PATCH] ASoC: rt286: Add API to set supported jack type Mark Brown
2014-08-11 9:59 ` Liam Girdwood [this message]
2014-08-11 12:24 ` [alsa-devel] " Mark Brown
2014-08-14 8:29 ` Liam Girdwood
2014-08-14 19:09 ` Mark Brown
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=1407751185.2487.150.camel@loki \
--to=liam.r.girdwood@linux.intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox