From: David Heidelberg <[email protected]> DW9714A is a successor of DW9714 and DW9714V is a successor of DW9714A.
All three are compatible in their normal mode: a 10-bit DAC with the same Direct/LSC/DLC slew rate control. DW9714V additionally has an "advanced mode", which exposes Smart Actuator Control (SAC2/SAC3/SAC3.5/SLSC) and soft start/landing. Out of reset the DW9714V comes up in normal mode with ringing control disabled, i.e. behaving as a plain DW9714, so nothing has to be configured for it to work today. Should SAC support be added later, it is board data rather than a userspace knob: the mode and the vibration period (SAC_CFG/PRESC/SACT) have to match the mechanical tVIB of the actuator and lens assembly of the given camera module. Those properties are left out until there is driver support and measured values. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: David Heidelberg <[email protected]> --- .../devicetree/bindings/media/i2c/dongwoon,dw9714.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml index 66229a3dc05d6..7c2769e6c4880 100644 --- a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml +++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml @@ -5,22 +5,30 @@ $id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9714.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Dongwoon Anatech DW9714 camera voice coil lens driver maintainers: - Krzysztof Kozlowski <[email protected]> description: - DW9174 is a 10-bit DAC with current sink capability. It is intended for - driving voice coil lenses in camera modules. + 10-bit DAC with current sink capability. It is intended for driving + voice coil lenses in camera modules. properties: compatible: - const: dongwoon,dw9714 + oneOf: + - items: + - const: dongwoon,dw9714v + - const: dongwoon,dw9714a + - const: dongwoon,dw9714 + - items: + - const: dongwoon,dw9714a + - const: dongwoon,dw9714 + - const: dongwoon,dw9714 reg: maxItems: 1 powerdown-gpios: description: XSD pin for shutdown (active low) -- 2.55.0

