]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dw-mipi-dsi: fix escape clock rate
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:56 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:54 +0000 (14:48 -0500)
commit560669b2103b7522fc8d792825cc65a9508bb4c7
tree97bb28ee04a77d15bd4a59cfa4d01fbe98100444
parentdf21a410db7ddcc698d9da457a32699be74dec7d
drm/rockchip: dw-mipi-dsi: fix escape clock rate

This clock rate is derived from the PHY PLL, so it should be calculated
dynamically.  This calculation is the same as that used by the vendor
kernel and ensures that the escape clock runs at <20MHz as required by
the MIPI specification.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-14-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c