OSDN Git Service

media: dt-bindings: nokia,smia: Fix link-frequencies documentation
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 29 Sep 2020 11:14:00 +0000 (13:14 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Dec 2020 14:48:53 +0000 (15:48 +0100)
The link-frequencies property belongs to the endpoint, not to the node
representing the device.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/i2c/nokia,smia.txt

index 10ece81..6c45c79 100644 (file)
@@ -20,8 +20,6 @@ Mandatory properties
   dependent).
 - clocks: External clock to the sensor
 - clock-frequency: Frequency of the external clock to the sensor
-- link-frequencies: List of allowed data link frequencies. An array of
-  64-bit elements.
 
 
 Optional properties
@@ -39,6 +37,8 @@ Endpoint node mandatory properties
 ----------------------------------
 
 - data-lanes: <1..n>
+- link-frequencies: List of allowed data link frequencies. An array of
+  64-bit elements.
 
 
 Example
@@ -55,11 +55,13 @@ Example
                clocks = <&omap3_isp 0>;
                clock-frequency = <9600000>;
                nokia,nvm-size = <512>; /* 8 * 64 */
-               link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
                port {
                        smiapp_ep: endpoint {
                                data-lanes = <1 2>;
                                remote-endpoint = <&csi2a_ep>;
+                               link-frequencies =
+                                       /bits/ 64 <199200000 210000000
+                                                  499200000>;
                        };
                };
        };