]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: remove divider constraint from hsdiv
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 8 Aug 2016 10:40:35 +0000 (13:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commit0e81798e21ae2fb9744c8727383977ddbf8a3cf9
tree8239a28ae881bacafa23b1078c47986faab2c4dd
parent7e3d92749dd773b8a1bd35b02e2aa1271cb7a31b
drm/omap: remove divider constraint from hsdiv

The driver only uses even dividers for hsdiv when pclk >= 100MHz, as odd
dividers can create uneven duty cycle. However, while this holds true
for some dividers like DISPC's LCK and PCK dividers, it is not actually
true for hsdiv.

hsdiv always produces even duty cycle, so the constraint can be removed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dpi.c