drm/pl111: Enable PL110 variant
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Sep 2017 12:47:06 +0000 (14:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Sep 2017 21:58:16 +0000 (23:58 +0200)
commitfa83306cd104d24793a9a833f7d8a4c74c81809a
tree53368586ae9992216af24c88651668fd36bcdfdb
parent001485d5255cb17e99aa9e3712e43865b92d6adc
drm/pl111: Enable PL110 variant

We detect and enable the use of the PL110 variant, an earlier
incarnation of PL111. The only real difference is that the
control and interrupt enable registers have swapped place.
The Versatile AB and Versatile PB have a variant inbetween
PL110 and PL111, it is PL110 but they have already swapped the
two registers so those two need a bit of special handling.

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