ACPI: scan: Extract _CRS CSI-2 connection information into swnodes
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Nov 2023 16:16:26 +0000 (17:16 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Nov 2023 15:50:47 +0000 (16:50 +0100)
commit693c667b32ee1dd312000d4656b3383fffb3af2d
tree4e21efb1b2b63e40d2c13c61f0f3b7c16eaa9f0e
parentbd721b934323e4dcde892013a97e0e5674f4c884
ACPI: scan: Extract _CRS CSI-2 connection information into swnodes

Use the connection information extracted from the _CRS CSI-2 resource
descriptors for all devices that have them to populate port names and the
"reg", "bus-type" and "remote-endpoint" properties in the software nodes
representing the CSI-2 connection graph.

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/mipi-disco-img.c
include/acpi/acpi_bus.h