devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dw9807 bindings and driver are just for VCM
@ 2018-07-23 10:50 Sakari Ailus
  2018-07-23 10:50 ` [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files Sakari Ailus
  2018-07-23 10:50 ` [PATCH 2/2] dw9807-vcm: Recognise this is just the VCM bit of the device Sakari Ailus
  0 siblings, 2 replies; 5+ messages in thread
From: Sakari Ailus @ 2018-07-23 10:50 UTC (permalink / raw)
  To: linux-media; +Cc: devicetree, robh, alanx.chiang, andy.yeh

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%)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
  2018-07-23 10:50 [PATCH 0/2] dw9807 bindings and driver are just for VCM Sakari Ailus
@ 2018-07-23 10:50 ` Sakari Ailus
  2018-08-30 10:55   ` Sakari Ailus
  2018-07-23 10:50 ` [PATCH 2/2] dw9807-vcm: Recognise this is just the VCM bit of the device Sakari Ailus
  1 sibling, 1 reply; 5+ messages in thread
From: Sakari Ailus @ 2018-07-23 10:50 UTC (permalink / raw)
  To: linux-media; +Cc: devicetree, robh, alanx.chiang, andy.yeh

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.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 .../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%)

diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
similarity index 100%
rename from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt
rename to Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
diff --git a/MAINTAINERS b/MAINTAINERS
index bbd9b9b3d74f..44e917de2c8c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4410,6 +4410,7 @@ L:	linux-media@vger.kernel.org
 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 <sakari.ailus@linux.intel.com>
@@ -4417,6 +4418,7 @@ L:	linux-media@vger.kernel.org
 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" <jrv@vanzandt.mv.com>
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] dw9807-vcm: Recognise this is just the VCM bit of the device
  2018-07-23 10:50 [PATCH 0/2] dw9807 bindings and driver are just for VCM Sakari Ailus
  2018-07-23 10:50 ` [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files Sakari Ailus
@ 2018-07-23 10:50 ` Sakari Ailus
  1 sibling, 0 replies; 5+ messages in thread
From: Sakari Ailus @ 2018-07-23 10:50 UTC (permalink / raw)
  To: linux-media; +Cc: devicetree, robh, alanx.chiang, andy.yeh

The 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.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 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%)

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 79bbb39f5b0d..20d53c9aa709 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -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
diff --git a/drivers/media/i2c/Makefile b/drivers/media/i2c/Makefile
index aa2d793b80cc..39ad6883e0a9 100644
--- a/drivers/media/i2c/Makefile
+++ b/drivers/media/i2c/Makefile
@@ -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
diff --git a/drivers/media/i2c/dw9807.c b/drivers/media/i2c/dw9807-vcm.c
similarity index 100%
rename from drivers/media/i2c/dw9807.c
rename to drivers/media/i2c/dw9807-vcm.c
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
  2018-07-23 10:50 ` [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files Sakari Ailus
@ 2018-08-30 10:55   ` Sakari Ailus
  2018-09-13 10:17     ` Sakari Ailus
  0 siblings, 1 reply; 5+ messages in thread
From: Sakari Ailus @ 2018-08-30 10:55 UTC (permalink / raw)
  To: robh; +Cc: linux-media, devicetree, alanx.chiang, andy.yeh

Ping?

On Mon, Jul 23, 2018 at 01:50:38PM +0300, Sakari Ailus wrote:
> 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.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
>  .../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%)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
> similarity index 100%
> rename from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt
> rename to Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
> diff --git a/MAINTAINERS b/MAINTAINERS
> index bbd9b9b3d74f..44e917de2c8c 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -4410,6 +4410,7 @@ L:	linux-media@vger.kernel.org
>  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 <sakari.ailus@linux.intel.com>
> @@ -4417,6 +4418,7 @@ L:	linux-media@vger.kernel.org
>  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" <jrv@vanzandt.mv.com>
> -- 
> 2.11.0
> 

-- 
Sakari Ailus
e-mail: sakari.ailus@iki.fi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files
  2018-08-30 10:55   ` Sakari Ailus
@ 2018-09-13 10:17     ` Sakari Ailus
  0 siblings, 0 replies; 5+ messages in thread
From: Sakari Ailus @ 2018-09-13 10:17 UTC (permalink / raw)
  To: robh; +Cc: linux-media, devicetree, alanx.chiang, andy.yeh

On Thu, Aug 30, 2018 at 01:55:32PM +0300, Sakari Ailus wrote:
> Ping?

I will assume this patch is fine. :-)

> 
> On Mon, Jul 23, 2018 at 01:50:38PM +0300, Sakari Ailus wrote:
> > 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.
> > 
> > Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> > ---
> >  .../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%)
> > 
> > diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
> > similarity index 100%
> > rename from Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807.txt
> > rename to Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.txt
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index bbd9b9b3d74f..44e917de2c8c 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -4410,6 +4410,7 @@ L:	linux-media@vger.kernel.org
> >  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 <sakari.ailus@linux.intel.com>
> > @@ -4417,6 +4418,7 @@ L:	linux-media@vger.kernel.org
> >  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" <jrv@vanzandt.mv.com>

-- 
Sakari Ailus
e-mail: sakari.ailus@iki.fi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-13 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23 10:50 [PATCH 0/2] dw9807 bindings and driver are just for VCM Sakari Ailus
2018-07-23 10:50 ` [PATCH 1/2] dt-bindings: dw9714, dw9807-vcm: Add files to MAINTAINERS, rename files Sakari Ailus
2018-08-30 10:55   ` Sakari Ailus
2018-09-13 10:17     ` Sakari Ailus
2018-07-23 10:50 ` [PATCH 2/2] dw9807-vcm: Recognise this is just the VCM bit of the device Sakari Ailus

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).