Re: [PATCH] iio: dac: ad5593r: Dynamically set AD5593R channel modes

From: Jonathan Cameron
Date: Wed Sep 02 2020 - 09:50:09 EST


On Wed, 2 Sep 2020 12:28:02 +0300
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:

> On Wed, Sep 2, 2020 at 12:12 PM Hennerich, Michael
> <Michael.Hennerich@xxxxxxxxxx> wrote:
> > > From: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> > > Sent: Mittwoch, 2. September 2020 10:52
> > > On Wed, Sep 2, 2020 at 11:09 AM Hennerich, Michael
> > > <Michael.Hennerich@xxxxxxxxxx> wrote:
>
> ...
>
> > > I see. Can we consider this email as the official answer from AD that this ID is
> > > being allocated for this certain component?
> >
> > To my knowledge only PNP/ACPI vendor IDs need to be registered with the UEFI
> > ACPI working group.
>
> Correct.
>
> > AD part numbers are unique. The ID chosen uses the
> > part number prefixed with the PNP Vendor ID. ADxxxx->ADSxxxx
> > Please consider this as allocated.
>
> Thank you for confirming this!
>

Great to clear this particular one up.

One side note on this for anyone who might find this email thread.
If we do have an ACPI ID that doesn't use an official
PNP or ACPI ID, but there are boards shipping with it, then we can't
drop the ID. We can however add a note to the driver making the
point that it is not an official ID and so we may remove it if
all known boards that used it are now considered obsolete.
Even better to list a product it does occur in so we avoid
having the conversation again!

A lot of these got through my reviews due to lack of knowledge of how
ACPI IDs worked until a few years ago. Still like all ABI we are
stuck with it until we can remove it without anyone noticing :(

Jonathan