]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[media] media: adv7180: Add adv7180cp, adv7180st bindings
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Fri, 19 May 2017 13:07:03 +0000 (10:07 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 19:47:37 +0000 (16:47 -0300)
To differentiate between two classes of chip packages that have
different numbers of input ports.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/devicetree/bindings/media/i2c/adv7180.txt

index 4da486f96ff69118be7b37c71c62912a8c016728..552b6a82cb1f0ed42090ba4ede1498303e36d3ee 100644 (file)
@@ -6,6 +6,8 @@ digital interfaces like MIPI CSI-2 or parallel video.
 Required Properties :
 - compatible : value must be one of
                "adi,adv7180"
+               "adi,adv7180cp"
+               "adi,adv7180st"
                "adi,adv7182"
                "adi,adv7280"
                "adi,adv7280-m"
@@ -15,6 +17,19 @@ Required Properties :
                "adi,adv7282"
                "adi,adv7282-m"
 
+Device nodes of "adi,adv7180cp" and "adi,adv7180st" must contain one
+'port' child node per device input and output port, in accordance with the
+video interface bindings defined in
+Documentation/devicetree/bindings/media/video-interfaces.txt. The port
+nodes are numbered as follows.
+
+  Port         adv7180cp       adv7180st
+-------------------------------------------------------------------
+  Input                0-2             0-5
+  Output       3               6
+
+The digital output port node must contain at least one endpoint.
+
 Optional Properties :
 - powerdown-gpios: reference to the GPIO connected to the powerdown pin,
   if any.