]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: dsi: Introduce a variant structure
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Dec 2020 13:25:39 +0000 (14:25 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Dec 2020 09:33:25 +0000 (10:33 +0100)
commit881df2bf327bac31b693b9a9332f0674a8e2d4b2
tree114ddffecd1ba1ac38ff141fa5ebbee426addef0
parent55587bf5a21b89c1296c13badfcfa91482d3396f
drm/vc4: dsi: Introduce a variant structure

Most of the differences between DSI0 and DSI1 are handled through the
ID. However, the BCM2711 DSI is going to introduce one more variable to
the mix and will break some expectations of the earlier, simpler, test.

Let's add a variant structure that will address most of the differences
between those three controllers.

Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201203132543.861591-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_dsi.c