drm/pl111: Support variants with broken clock divider
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Feb 2018 09:35:38 +0000 (10:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Feb 2018 08:08:40 +0000 (09:08 +0100)
commiteedd6033b4c88d559afd7c8ac8a76fefcd9834a6
tree2e276f18b5ce5ef45461abe4481318feb20367fd
parent6470b7ddec69dc2edd4bcb01eab3cf71ead5f794
drm/pl111: Support variants with broken clock divider

The early Integrator CLCD synthesized in the Integrator CP and
IM-PD1 FPGAs are broken: their clock dividers do not work
properly. Support disabling the clock divider and drive the
clock directly from the parent under these circumstances.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180206093540.8147-3-linus.walleij@linaro.org
drivers/gpu/drm/pl111/pl111_display.c
drivers/gpu/drm/pl111/pl111_drm.h
drivers/gpu/drm/pl111/pl111_versatile.c