drm/sun4i: support TCONs without channel 1

Some Allwinner SoCs, such as the A33, have a variation of the TCON that
doesn't have a second channel (or it is not wired to anything).

Make sure we can handle that case.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Tento commit je obsažen v:
Maxime Ripard
2016-01-07 12:32:07 +01:00
rodič b5644a5e72
revize 8e92404725
2 změnil soubory, kde provedl 23 přidání a 13 odebrání

Zobrazit soubor

@@ -164,6 +164,8 @@ struct sun4i_tcon {
bool has_mux;
struct drm_panel *panel;
bool has_channel_1;
};
struct drm_bridge *sun4i_tcon_find_bridge(struct device_node *node);