On Tue, Oct 08, 2019 at 08:14:43AM -0700, Stephen Boyd wrote: > Quoting Cheng-yi Chiang (2019-10-07 11:50:31) > > IMO the nvmem approach would create more complexity to support this > > simple usage. Plus, the underlying assumption of accessing data with > > offset in a buffer does not fit well with the already parsed VPD > > values in a list of vpd_attrib_info. But if you strongly feel that > > this is a better approach I can work toward this. > I'm not sure how an ACPI system like this would work because my exposure > to ACPI is extremely limited. I would expect there to be some sort of > firmware property indicating that an nvmem should be used and it's > provided by VPD or for firmware to parse VPD itself and put the > information into the ACPI table for this device. I fear this is optimistic. It's fairly idiomatic for ACPI for stuff like this to be keyed off DMI information rather than integrated with anything, basically once you get out of the bits that are explictly standardized you're into board file territory. There is the _DSD stuff for using DT properties in ACPI but it's had limited use AFAICT.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel