[PATCH 2/2] media: i2c: dw9768: add Giantec GT9764 VCM support

From: Mingxuan Guo

Date: Mon Oct 12 2026 - 11:47:02 EST


The GT9764 uses the same register model as the DW9768 and GT9769 this
driver already supports - one Giantec VCM application note (AN971) covers
GT9764/GT9767/GT9768/GT9769/GT9772/GT9778 - and dw9768_probe() carries no
per-compatible data, so listing the compatible is all that is needed for
the part to bind and be driven through V4L2_CID_FOCUS_ABSOLUTE. The
GT9769 entry has been in this table since the original driver
(859891228e56) in the same form.

Tested on a Xiaomi Pad 6 Pro (SM8475): the part sits on the rear camera
module and answers at the family default address 0x0c (lens DAC reads 512,
as on the GT9769), and the lens moves with focus_absolute while the module
is streaming.

Signed-off-by: Mingxuan Guo <gmx472@xxxxxx>
---
drivers/media/i2c/dw9768.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/dw9768.c b/drivers/media/i2c/dw9768.c
--- a/drivers/media/i2c/dw9768.c
+++ b/drivers/media/i2c/dw9768.c
@@ -529,6 +529,7 @@ static void dw9768_remove(struct i2c_client *client)

static const struct of_device_id dw9768_of_table[] = {
{ .compatible = "dongwoon,dw9768" },
+ { .compatible = "giantec,gt9764" },
{ .compatible = "giantec,gt9769" },
{}
};