OSDN Git Service

drm/sun4i: Add compatible strings for A80 TCONs
authorChen-Yu Tsai <wens@csie.org>
Thu, 15 Mar 2018 11:41:29 +0000 (19:41 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 19 Mar 2018 14:32:55 +0000 (15:32 +0100)
commit3041228e0224a7ff69c575d9696319bbb40ef414
tree5733cf6151bb708ed25d48ae3d6f9fc585fb5b29
parentdb87086492581c87f768b7d17d01308153ecffc1
drm/sun4i: Add compatible strings for A80 TCONs

The A80 has 2 or 3 TCONs. The documentation and vendor kernel are very
vague about the third TCON, to the point that it might not exist.

In the documentation, the first TCON is missing channel 1, and the
second is missing channel 0. However the vendor kernel seems to be
able to use them regardless. Here we model them like the old TCONs.

An oddity is that TCON0 requires the reset control for the eDP block
to be deasserted, for any register access to stick.

This patch adds compatible strings for TCON0 and TCON1, with TCON0
requiring an extra "edp" reset control.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180315114136.24747-2-wens@csie.org
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt