static const struct of_device_id my_driver_of_match[] = .compatible = "vendor,my-device" , /* sentinel */ ; MODULE_DEVICE_TABLE(of, my_driver_of_match);
Compile the ASL to AML (ACPI Machine Language) using the iasl compiler: acpi prp0001
Several mainline drivers use PRP0001 in their ACPI match tables: static const struct of_device_id my_driver_of_match[] =
acpi prp0001 may look like a footnote in the ACPI specification, but it is actually a master key that unlocks the Linux driver ecosystem on non-ARM platforms. It encapsulates a profound shift: hardware description should be decoupled from the operating system’s driver binding mechanism. /* sentinel */
Search the kernel source:
External (_SB_.PCI0.I2C0, DeviceObj) Scope (_SB.PCI0.I2C0)