[PATCH] ASoC: rt286: Add API to set supported jack type
broonie at kernel.org
Thu Aug 7 10:31:36 PDT 2014
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.
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
The advice there looks good to me - see the "Device Enumeration"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the linux-arm-kernel