Skip to content

Commit

Permalink
media: mt9m114: Add ACPI enumeration support
Browse files Browse the repository at this point in the history
Add support for the mt9m114 sensor being enumerated through ACPI
using the INT33F0 HID as found on the Asus T100TA.

Signed-off-by: Hans de Goede <[email protected]>
  • Loading branch information
jwrdegoede committed Nov 5, 2024
1 parent 03b4801 commit a09b636
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/media/i2c/mt9m114.c
Original file line number Diff line number Diff line change
Expand Up @@ -2484,11 +2484,18 @@ static const struct of_device_id mt9m114_of_ids[] = {
};
MODULE_DEVICE_TABLE(of, mt9m114_of_ids);

static const struct acpi_device_id mt9m114_acpi_ids[] = {
{ "INT33F0" },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(acpi, mt9m114_acpi_ids);

static struct i2c_driver mt9m114_driver = {
.driver = {
.name = "mt9m114",
.pm = &mt9m114_pm_ops,
.of_match_table = mt9m114_of_ids,
.acpi_match_table = mt9m114_acpi_ids,
},
.probe = mt9m114_probe,
.remove = mt9m114_remove,
Expand Down

0 comments on commit a09b636

Please sign in to comment.