OSDN Git Service

drm/sun4i: hdmi: Add support for A31's HDMI controller
authorChen-Yu Tsai <wens@csie.org>
Tue, 10 Oct 2017 03:20:06 +0000 (11:20 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Oct 2017 07:53:49 +0000 (09:53 +0200)
commitda184deeb8aeac6cadf45f01ce9bc4197940a059
tree99289bd002ec78525261e2ff90c7d6a80ec7f5ef
parentc4a9aec3dfe5203363c6c2f9fc62353f4898225e
drm/sun4i: hdmi: Add support for A31's HDMI controller

The HDMI controller found in the A31 SoCs is slightly different
from the one already supported, which is found in the A10s:

  - Need different initial values for the PLL related registers

  - Different behavior of the DDC and TMDS clocks

  - Different register layout for the DDC portion

  - Separate DDC parent clock

This patch adds support for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010032008.682-10-wens@csie.org
drivers/gpu/drm/sun4i/sun4i_hdmi.h
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c