* [PATCH v3 0/2] media: i2c: dw9719: Add device tree bindings for the VCM
@ 2025-02-09 21:51 André Apitzsch via B4 Relay
2025-02-09 21:51 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM André Apitzsch via B4 Relay
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
0 siblings, 2 replies; 9+ messages in thread
From: André Apitzsch via B4 Relay @ 2025-02-09 21:51 UTC (permalink / raw)
To: Daniel Scally, Sakari Ailus, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree
Cc: ~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel,
André Apitzsch
Document the Dongwoon DW9719 and DW9761 dt-bindings and add the related
of_match table.
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
Changes in v3:
- Add patch to document devicetree bindings
- Add "i2c:" to the subject of the 'Add of_match table' commit message
- Link to v2: https://lore.kernel.org/r/20250208-dw9761dts-v2-1-c038f8a2fb94@apitzsch.eu
Note, there was no v1.
---
André Apitzsch (2):
dt-bindings: media: i2c: Add DW9719 and DW9761 VCM
media: i2c: dw9719: Add of_match table
.../bindings/media/i2c/dongwoon,dw9719.yaml | 45 ++++++++++++++++++++++
drivers/media/i2c/dw9719.c | 8 ++++
2 files changed, 53 insertions(+)
---
base-commit: 8f6629c004b193d23612641c3607e785819e97ab
change-id: 20250206-dw9761dts-cdcc0c714b1a
prerequisite-message-id: 20241105203658.29737-1-hdegoede@redhat.com:v1
prerequisite-patch-id: b0a57666bd20b97291583c3052065dc314a37e79
Best regards,
--
André Apitzsch <git@apitzsch.eu>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM
2025-02-09 21:51 [PATCH v3 0/2] media: i2c: dw9719: Add device tree bindings for the VCM André Apitzsch via B4 Relay
@ 2025-02-09 21:51 ` André Apitzsch via B4 Relay
2025-02-10 9:53 ` Sakari Ailus
2025-02-11 8:50 ` Krzysztof Kozlowski
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
1 sibling, 2 replies; 9+ messages in thread
From: André Apitzsch via B4 Relay @ 2025-02-09 21:51 UTC (permalink / raw)
To: Daniel Scally, Sakari Ailus, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree
Cc: ~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel,
André Apitzsch
From: André Apitzsch <git@apitzsch.eu>
Document Dongwoon DW9719 and DW9761 VCM devicetree bindings.
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
.../bindings/media/i2c/dongwoon,dw9719.yaml | 45 ++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..b38d22bf09713a7999e1f9ce6553de7587dbe5d2
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9719.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Dongwoon Anatech DW9719 Voice Coil Motor (VCM) Controller
+
+maintainers:
+ - devicetree@vger.kernel.org
+
+description:
+ The Dongwoon DW9719 is a 10-bit digital-to-analog (DAC) converter. The DAC
+ is controlled via a 2-wire (I2C-compatible) serial interface.
+
+properties:
+ compatible:
+ enum:
+ - dongwoon,dw9719
+ - dongwoon,dw9761
+
+ reg:
+ maxItems: 1
+
+ vdd-supply:
+ description: Regulator providing power to the "VDD" pin.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera-lens@c {
+ compatible = "dongwoon,dw9761";
+ reg = <0x0c>;
+ vdd-supply = <&pm8916_l10>;
+ };
+ };
--
2.48.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
2025-02-09 21:51 [PATCH v3 0/2] media: i2c: dw9719: Add device tree bindings for the VCM André Apitzsch via B4 Relay
2025-02-09 21:51 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM André Apitzsch via B4 Relay
@ 2025-02-09 21:51 ` André Apitzsch via B4 Relay
2025-02-10 10:06 ` kernel test robot
` (2 more replies)
1 sibling, 3 replies; 9+ messages in thread
From: André Apitzsch via B4 Relay @ 2025-02-09 21:51 UTC (permalink / raw)
To: Daniel Scally, Sakari Ailus, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree
Cc: ~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel,
André Apitzsch
From: André Apitzsch <git@apitzsch.eu>
Add of_match table for "dongwoon,dw9719" and "dongwoon,dw9761"
compatible string. This fixes automatic driver loading when using a
device-tree, and if built as a module like major linux distributions do.
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
drivers/media/i2c/dw9719.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/media/i2c/dw9719.c b/drivers/media/i2c/dw9719.c
index 032fbcb981f20f4e93202415e62f67379897a048..6c76212d4c698462a9128d26ef95f0eccb243c7c 100644
--- a/drivers/media/i2c/dw9719.c
+++ b/drivers/media/i2c/dw9719.c
@@ -360,6 +360,13 @@ static const struct i2c_device_id dw9719_id_table[] = {
};
MODULE_DEVICE_TABLE(i2c, dw9719_id_table);
+static const struct of_device_id dw9719_of_table[] = {
+ { .compatible = "dongwoon,dw9719" },
+ { .compatible = "dongwoon,dw9761" },
+ { }
+};
+MODULE_DEVICE_TABLE(of, dw9719_of_table);
+
static DEFINE_RUNTIME_DEV_PM_OPS(dw9719_pm_ops, dw9719_suspend, dw9719_resume,
NULL);
@@ -367,6 +374,7 @@ static struct i2c_driver dw9719_i2c_driver = {
.driver = {
.name = "dw9719",
.pm = pm_sleep_ptr(&dw9719_pm_ops),
+ .of_match_table = of_match_ptr(dw9719_of_table),
},
.probe = dw9719_probe,
.remove = dw9719_remove,
--
2.48.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM
2025-02-09 21:51 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM André Apitzsch via B4 Relay
@ 2025-02-10 9:53 ` Sakari Ailus
2025-05-21 20:47 ` André Apitzsch
2025-02-11 8:50 ` Krzysztof Kozlowski
1 sibling, 1 reply; 9+ messages in thread
From: Sakari Ailus @ 2025-02-10 9:53 UTC (permalink / raw)
To: git
Cc: Daniel Scally, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree,
~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel
Hi André,
Thanks for the update.
On Sun, Feb 09, 2025 at 10:51:57PM +0100, André Apitzsch via B4 Relay wrote:
> From: André Apitzsch <git@apitzsch.eu>
>
> Document Dongwoon DW9719 and DW9761 VCM devicetree bindings.
>
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
> ---
> .../bindings/media/i2c/dongwoon,dw9719.yaml | 45 ++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..b38d22bf09713a7999e1f9ce6553de7587dbe5d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9719.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Dongwoon Anatech DW9719 Voice Coil Motor (VCM) Controller
> +
> +maintainers:
> + - devicetree@vger.kernel.org
> +
> +description:
> + The Dongwoon DW9719 is a 10-bit digital-to-analog (DAC) converter. The DAC
> + is controlled via a 2-wire (I2C-compatible) serial interface.
> +
> +properties:
> + compatible:
> + enum:
> + - dongwoon,dw9719
> + - dongwoon,dw9761
> +
> + reg:
> + maxItems: 1
> +
> + vdd-supply:
> + description: Regulator providing power to the "VDD" pin.
The driver uses dongwoon,sac-mode and dongwoon,vcm-freq properties. Could
you document them as well, please, including the defaults? Are the values
the same for both chips?
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + camera-lens@c {
> + compatible = "dongwoon,dw9761";
> + reg = <0x0c>;
> + vdd-supply = <&pm8916_l10>;
> + };
> + };
>
--
Regards,
Sakari Ailus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
@ 2025-02-10 10:06 ` kernel test robot
2025-02-10 10:17 ` Sakari Ailus
2025-02-10 21:18 ` kernel test robot
2 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2025-02-10 10:06 UTC (permalink / raw)
To: André Apitzsch via B4 Relay, Daniel Scally, Sakari Ailus,
Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree
Cc: oe-kbuild-all, linux-media, ~postmarketos/upstreaming,
phone-devel, linux-kernel, André Apitzsch
Hi André,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8f6629c004b193d23612641c3607e785819e97ab]
url: https://github.com/intel-lab-lkp/linux/commits/Andr-Apitzsch-via-B4-Relay/dt-bindings-media-i2c-Add-DW9719-and-DW9761-VCM/20250210-055506
base: 8f6629c004b193d23612641c3607e785819e97ab
patch link: https://lore.kernel.org/r/20250209-dw9761dts-v3-2-14d3f00f0585%40apitzsch.eu
patch subject: [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
config: x86_64-randconfig-161-20250210 (https://download.01.org/0day-ci/archive/20250210/202502101730.OtKFel6n-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250210/202502101730.OtKFel6n-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502101730.OtKFel6n-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/dw9719.c:363:34: warning: 'dw9719_of_table' defined but not used [-Wunused-const-variable=]
363 | static const struct of_device_id dw9719_of_table[] = {
| ^~~~~~~~~~~~~~~
vim +/dw9719_of_table +363 drivers/media/i2c/dw9719.c
362
> 363 static const struct of_device_id dw9719_of_table[] = {
364 { .compatible = "dongwoon,dw9719" },
365 { .compatible = "dongwoon,dw9761" },
366 { }
367 };
368 MODULE_DEVICE_TABLE(of, dw9719_of_table);
369
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
2025-02-10 10:06 ` kernel test robot
@ 2025-02-10 10:17 ` Sakari Ailus
2025-02-10 21:18 ` kernel test robot
2 siblings, 0 replies; 9+ messages in thread
From: Sakari Ailus @ 2025-02-10 10:17 UTC (permalink / raw)
To: git
Cc: Daniel Scally, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree,
~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel
Hi André,
On Sun, Feb 09, 2025 at 10:51:58PM +0100, André Apitzsch via B4 Relay wrote:
> + .of_match_table = of_match_ptr(dw9719_of_table),
Please drop of_match_ptr(), that fixes the problem.
--
Sakari Ailus
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
2025-02-10 10:06 ` kernel test robot
2025-02-10 10:17 ` Sakari Ailus
@ 2025-02-10 21:18 ` kernel test robot
2 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2025-02-10 21:18 UTC (permalink / raw)
To: André Apitzsch via B4 Relay, Daniel Scally, Sakari Ailus,
Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, devicetree
Cc: llvm, oe-kbuild-all, linux-media, ~postmarketos/upstreaming,
phone-devel, linux-kernel, André Apitzsch
Hi André,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8f6629c004b193d23612641c3607e785819e97ab]
url: https://github.com/intel-lab-lkp/linux/commits/Andr-Apitzsch-via-B4-Relay/dt-bindings-media-i2c-Add-DW9719-and-DW9761-VCM/20250210-055506
base: 8f6629c004b193d23612641c3607e785819e97ab
patch link: https://lore.kernel.org/r/20250209-dw9761dts-v3-2-14d3f00f0585%40apitzsch.eu
patch subject: [PATCH v3 2/2] media: i2c: dw9719: Add of_match table
config: x86_64-randconfig-001-20250211 (https://download.01.org/0day-ci/archive/20250211/202502110539.EO1iB2au-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250211/202502110539.EO1iB2au-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502110539.EO1iB2au-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/media/i2c/dw9719.c:12:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:21:
In file included from include/linux/mm.h:2224:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/i2c/dw9719.c:363:34: warning: unused variable 'dw9719_of_table' [-Wunused-const-variable]
363 | static const struct of_device_id dw9719_of_table[] = {
| ^~~~~~~~~~~~~~~
4 warnings generated.
vim +/dw9719_of_table +363 drivers/media/i2c/dw9719.c
362
> 363 static const struct of_device_id dw9719_of_table[] = {
364 { .compatible = "dongwoon,dw9719" },
365 { .compatible = "dongwoon,dw9761" },
366 { }
367 };
368 MODULE_DEVICE_TABLE(of, dw9719_of_table);
369
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM
2025-02-09 21:51 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM André Apitzsch via B4 Relay
2025-02-10 9:53 ` Sakari Ailus
@ 2025-02-11 8:50 ` Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-11 8:50 UTC (permalink / raw)
To: André Apitzsch
Cc: Daniel Scally, Sakari Ailus, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree,
~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel
On Sun, Feb 09, 2025 at 10:51:57PM +0100, André Apitzsch wrote:
> Document Dongwoon DW9719 and DW9761 VCM devicetree bindings.
>
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
> ---
> .../bindings/media/i2c/dongwoon,dw9719.yaml | 45 ++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..b38d22bf09713a7999e1f9ce6553de7587dbe5d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9719.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Dongwoon Anatech DW9719 Voice Coil Motor (VCM) Controller
> +
> +maintainers:
> + - devicetree@vger.kernel.org
> +
> +description:
> + The Dongwoon DW9719 is a 10-bit digital-to-analog (DAC) converter. The DAC
> + is controlled via a 2-wire (I2C-compatible) serial interface.
> +
> +properties:
> + compatible:
> + enum:
> + - dongwoon,dw9719
Yesterday there was a patch for this.
Please align and come with only one thing for this. Also please
implement any feedback from the other submission.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM
2025-02-10 9:53 ` Sakari Ailus
@ 2025-05-21 20:47 ` André Apitzsch
0 siblings, 0 replies; 9+ messages in thread
From: André Apitzsch @ 2025-05-21 20:47 UTC (permalink / raw)
To: Sakari Ailus
Cc: Daniel Scally, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree,
~postmarketos/upstreaming, phone-devel, linux-media, linux-kernel
Hi Sakari,
Am Montag, dem 10.02.2025 um 09:53 +0000 schrieb Sakari Ailus:
> Hi André,
>
> Thanks for the update.
>
> On Sun, Feb 09, 2025 at 10:51:57PM +0100, André Apitzsch via B4 Relay
> wrote:
> > From: André Apitzsch <git@apitzsch.eu>
> >
> > Document Dongwoon DW9719 and DW9761 VCM devicetree bindings.
> >
> > Signed-off-by: André Apitzsch <git@apitzsch.eu>
> > ---
> > .../bindings/media/i2c/dongwoon,dw9719.yaml | 45
> > ++++++++++++++++++++++
> > 1 file changed, 45 insertions(+)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> > b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> > new file mode 100644
> > index
> > 0000000000000000000000000000000000000000..b38d22bf09713a7999e1f9ce6
> > 553de7587dbe5d2
> > --- /dev/null
> > +++
> > b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9719.yaml
> > @@ -0,0 +1,45 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9719.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Dongwoon Anatech DW9719 Voice Coil Motor (VCM) Controller
> > +
> > +maintainers:
> > + - devicetree@vger.kernel.org
> > +
> > +description:
> > + The Dongwoon DW9719 is a 10-bit digital-to-analog (DAC)
> > converter. The DAC
> > + is controlled via a 2-wire (I2C-compatible) serial interface.
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - dongwoon,dw9719
> > + - dongwoon,dw9761
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + vdd-supply:
> > + description: Regulator providing power to the "VDD" pin.
>
> The driver uses dongwoon,sac-mode and dongwoon,vcm-freq properties.
> Could you document them as well, please, including the defaults? Are
> the values the same for both chips?
>
It is difficult to say, because I couldn't find the datasheet for any
of the chips. Maybe someone could provide them.
Best regards,
André
> > +
> > +required:
> > + - compatible
> > + - reg
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + camera-lens@c {
> > + compatible = "dongwoon,dw9761";
> > + reg = <0x0c>;
> > + vdd-supply = <&pm8916_l10>;
> > + };
> > + };
> >
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-05-21 20:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 21:51 [PATCH v3 0/2] media: i2c: dw9719: Add device tree bindings for the VCM André Apitzsch via B4 Relay
2025-02-09 21:51 ` [PATCH v3 1/2] dt-bindings: media: i2c: Add DW9719 and DW9761 VCM André Apitzsch via B4 Relay
2025-02-10 9:53 ` Sakari Ailus
2025-05-21 20:47 ` André Apitzsch
2025-02-11 8:50 ` Krzysztof Kozlowski
2025-02-09 21:51 ` [PATCH v3 2/2] media: i2c: dw9719: Add of_match table André Apitzsch via B4 Relay
2025-02-10 10:06 ` kernel test robot
2025-02-10 10:17 ` Sakari Ailus
2025-02-10 21:18 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).