[PATCH v3 05/12] media: ov8858: Add INT3477 ACPI ID
From: Maurizio Casciano
Date: Thu Aug 27 2026 - 19:18:47 EST
Firmware may use INT3477 as the ACPI hardware ID for an OV8858 image
sensor. Add an ACPI match table for that ID.
Signed-off-by: Maurizio Casciano <mauriziocasciano7@xxxxxxxxx>
---
drivers/media/i2c/ov8858.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/media/i2c/ov8858.c b/drivers/media/i2c/ov8858.c
index 9b3e6eaca665..26093f887c66 100644
--- a/drivers/media/i2c/ov8858.c
+++ b/drivers/media/i2c/ov8858.c
@@ -6,6 +6,7 @@
* Copyright (c) 2017 Intel Corporation.
*/
+#include <linux/acpi.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
@@ -2088,6 +2089,12 @@ static void ov8858_remove(struct i2c_client *client)
pm_runtime_set_suspended(&client->dev);
}
+static const struct acpi_device_id ov8858_acpi_match[] = {
+ { .id = "INT3477" },
+ { }
+};
+MODULE_DEVICE_TABLE(acpi, ov8858_acpi_match);
+
static const struct of_device_id ov8858_of_match[] = {
{ .compatible = "ovti,ov8858" },
{ /* sentinel */ },
@@ -2098,6 +2105,7 @@ static struct i2c_driver ov8858_i2c_driver = {
.driver = {
.name = "ov8858",
.pm = &ov8858_pm_ops,
+ .acpi_match_table = ov8858_acpi_match,
.of_match_table = ov8858_of_match,
},
.probe = ov8858_probe,
--
2.53.0