[PATCH] dt-bindings: media: i2c: dongwoon,dw9768: add DW9763
From: Gianluca Boiano
Date: Sat Nov 21 2026 - 11:49:56 EST
The Dongwoon DW9763 is a 10-bit VCM driver with 8 KiB of embedded
eFlash. No public register map exists, but the Rockchip and MediaTek
vendor drivers program it exactly like the DW9768: control at 0x02,
10-bit DAC at 0x03/0x04, status at 0x05, mode/prescaler at 0x06 and
resonance timing at 0x07. The chip ID reads 0xf9 and DAC writes read
back as expected.
The only register-level difference is the naming of the 0x06[7:5]
mode field: the DW9763 calls the values SAC1/2/2.5/3/4 (0/1/2/3/5),
the DW9768 AAC2/3/4/8 (1/2/3/5). The encodings match, so the existing
dongwoon,aac-mode and dongwoon,aac-timing properties apply unchanged.
The dw9768 driver's settle-delay estimate assumes the AAC4 multiplier
for mode 3, which may be slightly off for SAC3; this only affects the
wait after a move, not the lens position. The eFlash is not covered by
this binding.
Document dongwoon,dw9763 with dongwoon,dw9768 as fallback. No driver
change is needed.
Signed-off-by: Gianluca Boiano <morf3089@xxxxxxxxx>
---
.../devicetree/bindings/media/i2c/dongwoon,dw9768.yaml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.yaml
index a0855d3b7..386352f62 100644
--- a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.yaml
@@ -20,9 +20,13 @@ description: |-
properties:
compatible:
- enum:
- - dongwoon,dw9768 # for DW9768 VCM
- - giantec,gt9769 # for GT9769 VCM
+ oneOf:
+ - enum:
+ - dongwoon,dw9768 # for DW9768 VCM
+ - giantec,gt9769 # for GT9769 VCM
+ - items:
+ - const: dongwoon,dw9763
+ - const: dongwoon,dw9768
reg:
maxItems: 1
--
2.56.1