phy: dphy: Clarify lanes parameter documentation
authorMaxime Ripard <[email protected]>
Mon, 21 Jan 2019 15:45:48 +0000 (16:45 +0100)
committerKishon Vijay Abraham I <[email protected]>
Thu, 7 Feb 2019 05:41:05 +0000 (11:11 +0530)
The lanes parameter is not solely about the number of lanes, but it also
carries the fact that those are the first lanes in use during the
transmission.

It was implicit so far, so make sure it's explicit now.

Suggested-by: Sakari Ailus <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
include/linux/phy/phy-mipi-dphy.h

index 627d28080d3a1947479427978fb5000e7aa92146..a877ffee845deb4f25dfa45a492c513caa383b65 100644 (file)
@@ -269,7 +269,8 @@ struct phy_configure_opts_mipi_dphy {
        /**
         * @lanes:
         *
-        * Number of active data lanes used for the transmissions.
+        * Number of active, consecutive, data lanes, starting from
+        * lane 0, used for the transmissions.
         */
        unsigned char           lanes;
 };