]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
media: mt9m111: document missing required clocks property
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 3 Jan 2018 18:22:46 +0000 (13:22 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 5 Jan 2018 17:51:15 +0000 (12:51 -0500)
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 <robh@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/devicetree/bindings/media/i2c/mt9m111.txt

index ed5a334b1e5752864daccf5593cf3055b153d36e..6b910036b57e9303df805e23f7389d1a86c44f19 100644 (file)
@@ -6,6 +6,8 @@ interface.
 
 Required Properties:
 - compatible: value should be "micron,mt9m111"
+- clocks: reference to the master clock.
+- clock-names: shall 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 = <&mclk>;
+                       clock-names = "mclk";
 
                        remote = <&pxa_camera>;
                        port {