
30 Apr
2020
30 Apr
'20
3:52 p.m.
Hi Simon,
-----"Simon Glass" sjg@chromium.org schrieb: -----
Betreff: [PATCH v1 02/35] acpi: Add a function to get a device path and scope
Add a function to build up the ACPI path for a device and another for its scope.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v1:
- Split into more patches for review
- Add tests
arch/sandbox/dts/test.dts | 3 ++ include/acpi/acpi_device.h | 44 ++++++++++++++++++ lib/acpi/Makefile | 1 + lib/acpi/acpi_device.c | 82 ++++++++++++++++++++++++++++++++ test/dm/acpi.c | 95 ++++++++++++++++++++++++++++++++------ 5 files changed, 212 insertions(+), 13 deletions(-) create mode 100644 include/acpi/acpi_device.h create mode 100644 lib/acpi/acpi_device.c
Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com