LinuxTV Patchwork [v4,3/9] phy: dphy: Clarify lanes parameter documentation

login
register
mail settings
Submitter Maxime Ripard
Date Jan. 9, 2019, 9:33 a.m.
Message ID <e905df5df30f577b3cb731bd1e2ca7e52300dfb3.1547026369.git-series.maxime.ripard@bootlin.com>
Download mbox | patch
Permalink /patch/53792/
State New
Headers show

Comments

Maxime Ripard - Jan. 9, 2019, 9:33 a.m.
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>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 include/linux/phy/phy-mipi-dphy.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/include/linux/phy/phy-mipi-dphy.h b/include/linux/phy/phy-mipi-dphy.h
index 627d28080d3a..a877ffee845d 100644
--- a/include/linux/phy/phy-mipi-dphy.h
+++ b/include/linux/phy/phy-mipi-dphy.h
@@ -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;
 };

Privacy Policy