linux/drivers/gpu/drm/panel
H. Nikolaus Schaller 855e764d39 drm/panel-simple: Fix dotclock for Ortustech COM37H3M
The currently listed dotclock disagrees with the currently
listed vrefresh rate. Change the dotclock to match the vrefresh.

There are two variants of the COM37H3M panel.
The older one's COM37H3M05DTC data sheet specifies:

                         MIN      TYP     MAX
CLK frequency    fCLK     --       22.4    26.3 MHz (in VGA mode)
VSYNC Frequency  fVSYNC   54       60      66   Hz
VSYNC cycle time tv       --      650      --   H
HSYNC frequency  fHSYNC   --       39.3    --   kHz
HSYNC cycle time th       --      570      --   CLK

The newer one's COM37H3M99DTC data sheet says:

                         MIN      TYP     MAX
CLK frequency    fCLK     18       19.8    27   MHz
VSYNC Frequency  fVSYNC   54       60      66   Hz
VSYNC cycle time tv      646      650     700   H
HSYNC frequency  fHSYNC  --        39.0    50.0 kHz
HSYNC cycle time th      504      508     630   CLK

So we choose a parameter set that lies within the specs
of both variants. We start at .vrefresh = 60,
choose .htotal = 570 and .vtotal = 650 and end up
in a clock of 22.230 MHz.

Reported-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/e63a0533ad5b5142373437ef758aedbdb716152d.1583826198.git.hns@goldelico.com
2020-03-10 18:42:17 +01:00
..
Kconfig drm/panel: add panel driver for Elida KD35T133 panels 2020-03-06 02:34:24 +01:00
Makefile drm/panel: add panel driver for Elida KD35T133 panels 2020-03-06 02:34:24 +01:00
panel-arm-versatile.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-boe-himax8279d.c drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel 2019-12-13 19:29:24 +01:00
panel-boe-tv101wum-nl6.c drm/panel: Fix boe,tv101wum-n53 htotal timing 2020-01-25 07:08:27 +01:00
panel-elida-kd35t133.c drm/panel: add panel driver for Elida KD35T133 panels 2020-03-06 02:34:24 +01:00
panel-feixin-k101-im2ba02.c drm/panel: Add Feixin K101 IM2BA02 panel 2020-01-17 19:40:32 +01:00
panel-feiyang-fy07024di26a30d.c drm/panel: feiyang-fy07024di26a30d: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-ilitek-ili9322.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-ilitek-ili9881c.c drm/panel: ilitek-ili9881c: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-innolux-p079zca.c drm/panel: innolux-p079zca: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-jdi-lt070me05000.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-kingdisplay-kd097d04.c drm/panel: kingdisplay-kd097d04: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-leadtek-ltk500hd1829.c drm/panel: add panel driver for Leadtek LTK500HD1829 2020-01-04 16:46:01 +01:00
panel-lg-lb035q02.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-lg-lg4573.c drm/panel: declare variable as __be16 2020-01-01 19:53:50 +01:00
panel-lvds.c drm/panel: lvds: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-nec-nl8048hl11.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-novatek-nt35510.c drm/panel: Add driver for Novatek NT35510-based panels 2020-02-29 14:02:46 +01:00
panel-novatek-nt39016.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-olimex-lcd-olinuxino.c drm/panel: olimex-lcd-olinuxino: use drm_panel backlight support 2019-12-09 22:57:26 +01:00
panel-orisetech-otm8009a.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-osd-osd101t2587-53ts.c drm/panel: osd-osd101t2587-53ts: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-panasonic-vvx10f034n00.c drm/panel: panasonic-vvx10f034n00: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-raspberrypi-touchscreen.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-raydium-rm67191.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-raydium-rm68200.c drm/panel: raydium-rm68200: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-rocktech-jh057n00900.c drm/panel: rocktech-jh057n00900: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-ronbo-rb070d30.c drm/panel: ronbo-rb070d30: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-samsung-ld9040.c drm/panel: ld9040: add MODULE_DEVICE_TABLE with SPI IDs 2020-02-22 13:16:56 +01:00
panel-samsung-s6d16d0.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e3ha2.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e8aa0.c drm/panel: add drm_connector argument to get_modes() 2019-12-09 22:57:26 +01:00
panel-samsung-s6e63j0x03.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e63m0.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-samsung-s6e88a0-ams452ef01.c drm/panel: Add Samsung s6e88a0-ams452ef01 panel driver 2020-01-30 22:15:47 +01:00
panel-seiko-43wvf1g.c drm/panel: seiko-43wvf1g: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sharp-lq101r1sx01.c drm/panel: sharp-lq101r1sx01: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sharp-ls037v7dw01.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-sharp-ls043t1le01.c drm/panel: sharp-ls043t1le01: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-simple.c drm/panel-simple: Fix dotclock for Ortustech COM37H3M 2020-03-10 18:42:17 +01:00
panel-sitronix-st7701.c drm/panel: sitronix-st7701: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sitronix-st7789v.c drm/panel: sitronix-st7789v: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-sony-acx424akp.c drm/panel: Add driver for Sony ACX424AKP panel 2020-01-09 15:12:12 +01:00
panel-sony-acx565akm.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-tpo-td028ttec1.c drm: panel: fix excessive stack usage in td028ttec1_prepare 2020-01-12 21:11:57 +01:00
panel-tpo-td043mtea1.c drm/panel: drop drm_device from drm_panel 2019-12-09 22:57:26 +01:00
panel-tpo-tpg110.c drm/panel: tpo-tpg110: use drm_panel backlight support 2019-12-09 22:57:27 +01:00
panel-truly-nt35597.c drm/panel: add drm_connector argument to get_modes() 2019-12-09 22:57:26 +01:00
panel-xinpeng-xpp055c272.c drm/panel: add panel driver for Xinpeng XPP055C272 panels 2020-01-04 16:20:31 +01:00