On Tue Sep 29 12:27:01 2026 +0300, Ruslan Koreev wrote:
> Add an ACPI match table with the TBE20A1 HID that Lenovo uses for the
> VD55G1, with the same match data as the st,vd55g1 compatible.
>
> Signed-off-by: Ruslan Koreev <[email protected]>
> Acked-by: Benjamin Mugnier <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>
Patch committed.
Thanks,
Sakari Ailus
drivers/media/i2c/vd55g1.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/drivers/media/i2c/vd55g1.c b/drivers/media/i2c/vd55g1.c
index 8043eaa50f3d..e3939bb9bd44 100644
--- a/drivers/media/i2c/vd55g1.c
+++ b/drivers/media/i2c/vd55g1.c
@@ -2081,6 +2081,12 @@ static const struct of_device_id vd55g1_dt_ids[] = {
};
MODULE_DEVICE_TABLE(of, vd55g1_dt_ids);
+static const struct acpi_device_id vd55g1_acpi_ids[] = {
+ { .id = "TBE20A1", .driver_data = (kernel_ulong_t)&vd55g1_versions[0] },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(acpi, vd55g1_acpi_ids);
+
static const struct dev_pm_ops vd55g1_pm_ops = {
SET_RUNTIME_PM_OPS(vd55g1_power_off, vd55g1_power_on, NULL)
};
@@ -2089,6 +2095,7 @@ static struct i2c_driver vd55g1_i2c_driver = {
.driver = {
.name = "vd55g1",
.of_match_table = vd55g1_dt_ids,
+ .acpi_match_table = vd55g1_acpi_ids,
.pm = &vd55g1_pm_ops,
},
.probe = vd55g1_probe,
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]