]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: dphy: Clarify lanes parameter documentation
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 21 Jan 2019 15:45:48 +0000 (16:45 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
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 <sakari.ailus@iki.fi>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
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;
 };