Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: otm8009a: Set clock to 29.70 Mhz

The panel does not support clock frequency over 30.74 MHz. The clock
rate has been reduced to 29.70 MHz & new timings have been computed to
get a framerate of 50 fps.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1553155646-13636-1-git-send-email-yannick.fertre@st.com

authored by

Yannick Fertré and committed by
Thierry Reding
fc13d710 135281df

+7 -7
+7 -7
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c
··· 67 67 }; 68 68 69 69 static const struct drm_display_mode default_mode = { 70 - .clock = 32729, 70 + .clock = 29700, 71 71 .hdisplay = 480, 72 - .hsync_start = 480 + 120, 73 - .hsync_end = 480 + 120 + 63, 74 - .htotal = 480 + 120 + 63 + 120, 72 + .hsync_start = 480 + 98, 73 + .hsync_end = 480 + 98 + 32, 74 + .htotal = 480 + 98 + 32 + 98, 75 75 .vdisplay = 800, 76 - .vsync_start = 800 + 12, 77 - .vsync_end = 800 + 12 + 12, 78 - .vtotal = 800 + 12 + 12 + 12, 76 + .vsync_start = 800 + 15, 77 + .vsync_end = 800 + 15 + 10, 78 + .vtotal = 800 + 15 + 10 + 14, 79 79 .vrefresh = 50, 80 80 .flags = 0, 81 81 .width_mm = 52,