dw9807: Use the dongwoon,dw9807-vcm compatible string
Subsystems (3)
Sakari Ailus
maintainerPATCH 1/1 dw9807: Use the dongwoon,dw9807-vcm compatible string
The original dw9807 DT bindings patch proposed the dongwoon,dw9807 compatible string. However, the device also includes an EEPROM on a different I²C address. Indicate that this is just the VCM part of the entire device.
The EEPROM part is compatible with the at24c64 for read-only access, with 1 kiB page size.
---
Hi Rob, others,
The original bindings were missing the EEPROM bit. This change recognises it's there, and allows adding more elaborate support for it later on if needed.
If this change is fine, I'll squash it to the original patches that are not yet merged:
<URL:https://patchwork.linuxtv.org/patch/49613/>
<URL:https://patchwork.linuxtv.org/patch/49614/>
Thanks.
Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt | 2 +- drivers/media/i2c/dw9807.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt +1 -1
@@ -5,5 +5,5 @@ controlling voice coil lenses. Mandatory properties: -- compatible: "dongwoon,dw9807" +- compatible: "dongwoon,dw9807-vcm" - reg: I2C slave address
drivers/media/i2c/dw9807.c +1 -1
@@ -302,7 +302,7 @@ static int __maybe_unused dw9807_vcm_resume(struct device *dev) }static const struct of_device_id dw9807_of_table[] = { - { .compatible ="dongwoon,dw9807" }, + { .compatible ="dongwoon,dw9807-vcm" }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, dw9807_of_table);
Signature · 1 line
2.11.0
Rob Herring
maintainerQuoted 12 lines · Sakari Ailus
The original dw9807 DT bindings patch proposed the dongwoon,dw9807 compatible string. However, the device also includes an EEPROM on a different I�C address. Indicate that this is just the VCM part of the entire device.
The EEPROM part is compatible with the at24c64 for read-only access, with 1 kiB page size.
Signed-off-by Sakari Ailus <[email protected]>---
Hi Rob, others,
Quoted 6 lines
The original bindings were missing the EEPROM bit. This change recognises it's there, and allows adding more elaborate support for it later on if needed.
If this change is fine, I'll squash it to the original patches that are not yet merged:
Looks fine to me.
Quoted 9 lines
<URL:https://patchwork.linuxtv.org/patch/49613/>
<URL:https://patchwork.linuxtv.org/patch/49614/>Thanks.
Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt | 2 +- drivers/media/i2c/dw9807.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)