summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun4i_drv.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-10-20 11:43:40 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-10-20 17:59:29 +0200
commit93a5ec14da24a8abbac5bcb953b45cc7a5d0198a (patch)
treec796f4309a8650a65279f1dbb236b10d60ccbdab /drivers/gpu/drm/sun4i/sun4i_drv.c
parent91ea2f29cba6a7fe035ea232e4f981211a9fce5d (diff)
downloadtalos-obmc-linux-93a5ec14da24a8abbac5bcb953b45cc7a5d0198a.tar.gz
talos-obmc-linux-93a5ec14da24a8abbac5bcb953b45cc7a5d0198a.zip
drm/sun4i: Add compatible string for A31/A31s TCON (timing controller)
The A31 TCON has mux controls for how TCON outputs are routed to the HDMI and MIPI DSI blocks. Since the A31s does not have MIPI DSI, it only has a mux for the HDMI controller input. This patch only adds support for the compatible strings. Actual support for the mux controls should be added with HDMI and MIPI DSI support. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_drv.c')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c
index 0da9862ad8ed..a15c231fbd59 100644
--- a/drivers/gpu/drm/sun4i/sun4i_drv.c
+++ b/drivers/gpu/drm/sun4i/sun4i_drv.c
@@ -207,6 +207,8 @@ static bool sun4i_drv_node_is_frontend(struct device_node *node)
static bool sun4i_drv_node_is_tcon(struct device_node *node)
{
return of_device_is_compatible(node, "allwinner,sun5i-a13-tcon") ||
+ of_device_is_compatible(node, "allwinner,sun6i-a31-tcon") ||
+ of_device_is_compatible(node, "allwinner,sun6i-a31s-tcon") ||
of_device_is_compatible(node, "allwinner,sun8i-a33-tcon");
}
OpenPOWER on IntegriCloud