dw9807 bindings and driver are just for VCM
Subsystems (4)
Sakari Ailus
maintainercover dw9807 bindings and driver are just for VCM
Hi,
I though of writing these two small patches to rename the dw9807 bindings and driver to reflect what's apparent in the compatible string: this is just the VCM part.
Sakari Ailus (2):
dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename
files
dw9807-vcm: Recognise this is just the VCM bit of the device
.../bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} | 0
MAINTAINERS | 2 ++
drivers/media/i2c/Kconfig | 2 +-
drivers/media/i2c/Makefile | 2 +-
drivers/media/i2c/{dw9807.c => dw9807-vcm.c} | 0
5 files changed, 4 insertions(+), 2 deletions(-)
rename Documentation/devicetree/bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} (100%)
rename drivers/media/i2c/{dw9807.c => dw9807-vcm.c} (100%)Signature · 1 line
2.11.0
Sakari Ailus
maintainerPATCH 1/2 dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
Add the DT binding documentation for dw9714 and dw9807-vcm to the MAINTAINERS file. The dw9807-vcm binding documentation file is renamed to match the dw9807's VCM bit's compatible string.
---
.../bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} | 0
MAINTAINERS | 2 ++
2 files changed, 2 insertions(+)
rename Documentation/devicetree/bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} (100%)Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt renamed from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt +0 -0
MAINTAINERS +2 -0
@@ -4410,6 +4410,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9714.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.txt DONGWOON DW9807 LENS VOICE COIL DRIVER M: Sakari Ailus <[email protected]>
@@ -4417,6 +4418,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9807.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt DOUBLETALK DRIVER M: "James R. Van Zandt" <[email protected]>
Signature · 1 line
2.11.0
Re: [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
Ping?
Quoted 38 lines · Sakari Ailus
Add the DT binding documentation for dw9714 and dw9807-vcm to the
MAINTAINERSfile. The dw9807-vcm binding documentation file is renamed to match the dw9807's VCM bit's compatible string.Signed-off-by Sakari Ailus <[email protected]>--- .../bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} | 0 MAINTAINERS | 2 ++ 2 files changed, 2 insertions(+) rename Documentation/devicetree/bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} (100%)Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt renamed from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt +0
-0MAINTAINERS +2
-0@@ -4410,6 +4410,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9714.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.txt DONGWOON DW9807 LENS VOICE COIL DRIVER M: Sakari Ailus <[email protected]>@@ -4417,6 +4418,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9807.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt DOUBLETALK DRIVER M: "James R. Van Zandt" <[email protected]>Signature · 1 line
2.11.0
Signature · 2 lines
Sakari Ailus e-mail: [email protected]
Re: [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
Quoted 1 line · Sakari Ailus
Ping?
I will assume this patch is fine. :-)
Quoted 37 lines · Sakari Ailus
Quoted 35 lines
Add the DT binding documentation for dw9714 and dw9807-vcm to the
MAINTAINERSfile. The dw9807-vcm binding documentation file is renamed to match the dw9807's VCM bit's compatible string.Signed-off-by Sakari Ailus <[email protected]>--- .../bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} | 0 MAINTAINERS | 2 ++ 2 files changed, 2 insertions(+) rename Documentation/devicetree/bindings/media/i2c/{dongwoon,dw9807.txt => dongwoon,dw9807-vcm.txt} (100%)Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt renamed from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt +0
-0MAINTAINERS +2
-0@@ -4410,6 +4410,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9714.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.txt DONGWOON DW9807 LENS VOICE COIL DRIVER M: Sakari Ailus <[email protected]>@@ -4417,6 +4418,7 @@ L: [email protected] T: git git://linuxtv.org/media_tree.git S: Maintained F: drivers/media/i2c/dw9807.c +F: Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt DOUBLETALK DRIVER M: "James R. Van Zandt" <[email protected]>
Signature · 2 lines
Sakari Ailus e-mail: [email protected]
Sakari Ailus
maintainerPATCH 2/2 dw9807-vcm: Recognise this is just the VCM bit of the device
In reply to Sakari AilusThe dw9807 contains a voice coil lens driver as well as an EEPROM. This driver is just for the VCM. Reflect this in the driver's name --- this is already the case for the compatible string, for instance.
---
drivers/media/i2c/Kconfig | 2 +-
drivers/media/i2c/Makefile | 2 +-
drivers/media/i2c/{dw9807.c => dw9807-vcm.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename drivers/media/i2c/{dw9807.c => dw9807-vcm.c} (100%)drivers/media/i2c/Kconfig +1 -1
@@ -346,7 +346,7 @@ config VIDEO_DW9714 capability. This is designed for linear control of voice coil motors, controlled via I2C serial interface. -config VIDEO_DW9807 +config VIDEO_DW9807_VCM tristate "DW9807 lens voice coil support" depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on VIDEO_V4L2_SUBDEV_API
drivers/media/i2c/Makefile +1 -1
@@ -25,7 +25,7 @@ obj-$(CONFIG_VIDEO_SAA6752HS) += saa6752hs.o obj-$(CONFIG_VIDEO_AD5820) += ad5820.o obj-$(CONFIG_VIDEO_AK7375) += ak7375.o obj-$(CONFIG_VIDEO_DW9714) += dw9714.o -obj-$(CONFIG_VIDEO_DW9807) += dw9807.o +obj-$(CONFIG_VIDEO_DW9807_VCM) += dw9807-vcm.o obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o obj-$(CONFIG_VIDEO_ADV7175) += adv7175.o obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
drivers/media/i2c/dw9807-vcm.c renamed from drivers/media/i2c/dw9807.c +0 -0
Signature · 1 line
2.11.0