[PATCH] drm/dsi: Clarify comment on DSI hs_rate

Linus Walleij linus.walleij at linaro.org
Thu Nov 29 09:13:41 UTC 2018


Point out that this rate is for command mode or as upper cap
on the HS rate.

Cc: Andrzej Hajda <a.hajda at samsung.com>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 include/drm/drm_mipi_dsi.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h
index 491528f48cfb..d64e29333e1f 100644
--- a/include/drm/drm_mipi_dsi.h
+++ b/include/drm/drm_mipi_dsi.h
@@ -170,7 +170,9 @@ struct mipi_dsi_device_info {
  * @mode_flags: DSI operation mode related flags
  * @hs_rate: maximum lane frequency for high speed mode in hertz, this should
  * be set to the real limits of the hardware, zero is only accepted for
- * legacy drivers
+ * legacy drivers. This is useful mainly for pure command mode panels or
+ * as an upper cap on the HS rate, as in video mode the clock rate will usually
+ * be determined from the resolution.
  * @lp_rate: maximum lane frequency for low power mode in hertz, this should
  * be set to the real limits of the hardware, zero is only accepted for
  * legacy drivers
-- 
2.19.1



More information about the dri-devel mailing list