Re: [PATCH 3/4] meida: mt9m111: document missing required clocks property

2018-01-02 Thread Sakari Ailus
Hi Akinobu,

Thanks for the patchset.

On Thu, Dec 21, 2017 at 01:33:33AM +0900, Akinobu Mita wrote:
> The mt9m111 driver requires clocks property for the master clock to the
> sensor, but there is no description for that.  This adds it.
> 
> Cc: Rob Herring 
> Cc: Sakari Ailus 
> Cc: Mauro Carvalho Chehab 
> Signed-off-by: Akinobu Mita 
> ---
>  Documentation/devicetree/bindings/media/i2c/mt9m111.txt | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/mt9m111.txt 
> b/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
> index ed5a334..ffb57d1 100644
> --- a/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
> +++ b/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
> @@ -6,6 +6,8 @@ interface.
>  
>  Required Properties:
>  - compatible: value should be "micron,mt9m111"
> +- clocks: reference to the master clock.
> +- clock-names: should be "mclk".

s/should/shall/

?

The subject could begin with "media: " but not with "meida: ". Mauro's
scripts will add it so you may equally well omit it altogether.

>  
>  For further reading on port node refer to
>  Documentation/devicetree/bindings/media/video-interfaces.txt.
> @@ -16,6 +18,8 @@ Example:
>   mt9m111@5d {
>   compatible = "micron,mt9m111";
>   reg = <0x5d>;
> + clocks = <>;
> + clock-names = "mclk";
>  
>   remote = <_camera>;
>   port {

-- 
Kind regards,

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


[PATCH 3/4] meida: mt9m111: document missing required clocks property

2017-12-20 Thread Akinobu Mita
The mt9m111 driver requires clocks property for the master clock to the
sensor, but there is no description for that.  This adds it.

Cc: Rob Herring 
Cc: Sakari Ailus 
Cc: Mauro Carvalho Chehab 
Signed-off-by: Akinobu Mita 
---
 Documentation/devicetree/bindings/media/i2c/mt9m111.txt | 4 
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/mt9m111.txt 
b/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
index ed5a334..ffb57d1 100644
--- a/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
+++ b/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
@@ -6,6 +6,8 @@ interface.
 
 Required Properties:
 - compatible: value should be "micron,mt9m111"
+- clocks: reference to the master clock.
+- clock-names: should be "mclk".
 
 For further reading on port node refer to
 Documentation/devicetree/bindings/media/video-interfaces.txt.
@@ -16,6 +18,8 @@ Example:
mt9m111@5d {
compatible = "micron,mt9m111";
reg = <0x5d>;
+   clocks = <>;
+   clock-names = "mclk";
 
remote = <_camera>;
port {
-- 
2.7.4