Re: [PATCH] iio: adc: Add support for TI ADC1x8s102

From: Jan Kiszka
Date: Tue Apr 25 2017 - 08:17:51 EST


On 2017-04-25 13:35, Mika Westerberg wrote:
> On Tue, Apr 25, 2017 at 02:27:10PM +0300, Andy Shevchenko wrote:
>>> Shipping own DSDTs is no long-term path: we would be forced to provide
>>> separate images due to a single parameter being different in the DSDTs
>>> of the 2020 and 2040. And you cannot provide any overlay to adjust the
>>> table after boot, i.e. once we know on which board we are.
>>>
>>> The dependency on meta-intel is also suboptimal (we will switch to a
>>> long-term supported kernel source soon), but that would probably be
>>> fixable.
>>
>> Mika, do you have anything to comment on the above?
>
> You don't need to depend on meta-intel or meta-acpi. There are other
> ways to add SSDT overlays than initrd. For example your boards can stick
> them to EFI variable, the kernel can find them there. Then you don't
> need to ship a separate image per board type.
>
> For more information see Documentation/acpi/ssdt-overlays.txt.

I'm not ACPI guru: How do we come from a SSDT to information that is
carried in the DSDT so far? How can we overload wrong information in the
built in DSDT this way? I'm all ears if we could fix our (and also the
Galileo) quirks like that!

Jan

--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux