]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dw-mipi-dsi: properly configure PHY timing
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:59 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:56 +0000 (14:48 -0500)
commitb39f4777d5e60898595550bf3b33b78bc2e1758b
tree35dce9163b1e595d2703f4c0f59dc14912c8a870
parent141bce3cf46c97a521b9266e5dc41952b5dc1968
drm/rockchip: dw-mipi-dsi: properly configure PHY timing

These values are specified as constant time periods but the PHY
configuration is in terms of the current lane byte clock so using
constant values guarantees that the timings will be outside the
specification with some display configurations.

Derive the necessary configuration from the byte clock in order to
ensure that the PHY configuration is correct.

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