]> git.baikalelectronics.ru Git - kernel.git/commit
drm/armada: improve Dove clock selection
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 14 Jul 2018 10:15:35 +0000 (11:15 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 22 Jun 2019 10:51:20 +0000 (11:51 +0100)
commita5efaa32358ed0b0d761f75729c4d5c361c3b69b
tree9d3880930a57576f3bb192fe0288b0576e66cdbe
parentf0aba72b5b001a38f18b1e065eb693873986e0ad
drm/armada: improve Dove clock selection

Improve the Dove (Armada 510) LCD clock selection and divider
calculation, limiting to the valid divisor values, and reporting an
error if the clock is not achievable within the bounds of HDMI
clocking requirements.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_510.c
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_crtc.h