ACPI: property: Replicate DT-aligned u32 properties from DisCo for Imaging
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 6 Nov 2023 16:31:18 +0000 (17:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Nov 2023 15:50:48 +0000 (16:50 +0100)
commit4cd57d6d527c3570827a6eb8bd790ae216a78ed9
treeb4778de80dc97d85432fca7a6643415e22835643
parentf533e43a2a3117cc59886cbcd66ca32e42cf1ea9
ACPI: property: Replicate DT-aligned u32 properties from DisCo for Imaging

MIPI DisCo for Imaging defines properties for camera sensors that
functionally align with DT equivalents.

Replicate these properties in the ACPI device swnodes so the code
using the corresponding DT properties already does not need to be
updated to deal with their MIPI counterparts directly.

The replicated properties are:

"mipi-img-clock-frequency" -> "clock-frequency"
"mipi-img-led-max-current" -> "led-max-microamp"
"mipi-img-flash-max-current" -> "flash-max-microamp"
"mipi-img-flash-max-timeout" -> "flash-max-timeout-us"

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[ rjw: Changelog edits, removal of redundant braces ]
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