media: dt-bindings: media: Correct samsung-fimc parallel port numbering
authorJonathan Bakker <xc-racer2@live.ca>
Thu, 30 Jul 2020 23:01:14 +0000 (01:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:26 +0000 (14:13 +0200)
The parallel port nodes should be numbered 1 and 2, not 0 and 1
for A and B respectively.  The driver has always implemented 1
and 2 and the in-tree Goni DTS uses 1 as port A as well.  Update
the documentation to match this behaviour.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/samsung-fimc.txt

index f91b9dc..2044752 100644 (file)
@@ -95,7 +95,7 @@ Optional properties:
 
 This node should contain child 'port' nodes specifying active parallel video
 input ports. It includes camera A and camera B inputs. 'reg' property in the
-port nodes specifies data input - 0, 1 indicates input A, B respectively.
+port nodes specifies data input - 1, 2 indicates input A, B respectively.
 
 Optional properties
 
@@ -172,8 +172,8 @@ Example:
                /* parallel camera ports */
                parallel-ports {
                        /* camera A input */
-                       port@0 {
-                               reg = <0>;
+                       port@1 {
+                               reg = <1>;
                                fimc0_ep: endpoint {
                                        remote-endpoint = <&s5k6aa_ep>;
                                        bus-width = <8>;