]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: chrontel-ch7033: Add a new driver
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 24 Apr 2020 21:35:39 +0000 (23:35 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 5 May 2020 07:48:56 +0000 (09:48 +0200)
commit3f0875b4566ddedaedacd40cfa6b6907e578f67d
treecba1786432a9a1ea8b7aea20abc92b9a30d2d509
parent3eb69e803923f41392177c6ca1f99f6475d91795
drm/bridge: chrontel-ch7033: Add a new driver

This is a driver for video encoder with VGA and DVI/HDMI outputs.

There is no documentation for the chip -- the operation was guessed from
what was sniffed on a Dell Wyse 3020 ThinOS terminal, the register names
come from the ch7035 driver in Mediatek's GPL code dump.

Only bare minimum is implemented -- no fancy stuff, such as scaling. That
would only worsen our misery. We don't load the firmware and we don't need
to even bother enabling the MCU.  There are probably no distributable
firmware images anyway.

Tested with a handful of monitors ranging from 1024x768@75 to 1400x1050@60,
with VGA as well as DVI.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200424213539.93157-4-lkundrak@v3.sk
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/chrontel-ch7033.c [new file with mode: 0644]