]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: scan: Extract CSI-2 connection graph from _CRS
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Nov 2023 16:09:01 +0000 (17:09 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Nov 2023 15:50:47 +0000 (16:50 +0100)
commitbd721b934323e4dcde892013a97e0e5674f4c884
tree9c90ed5eca4c3b51320855183d6fe25298a3c8b1
parent9880702d123f202369fb674ae62bae25be27475c
ACPI: scan: Extract CSI-2 connection graph from _CRS

Find ACPI CSI-2 resource descriptors defined since ACPI 6.4 (for
CSI-2 and camera configuration) in _CRS for all device objects in
the given scope of the ACPI namespace that have them, identify the
corresponding "remote endpoint" device objects for them and
allocate memory for software nodes needed to create a DT-like data
structure representing the CSI-2 connection graph for drivers.

The code needed to populate these software nodes will be added by
subsequent change sets.

Link: https://uefi.org/specs/ACPI/6.5/06_Device_Configuration.html#camera-serial-interface-csi-2-connection-resource-descriptor
Co-developed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/acpi/Makefile
drivers/acpi/internal.h
drivers/acpi/mipi-disco-img.c [new file with mode: 0644]
drivers/acpi/scan.c
include/acpi/acpi_bus.h