drm/sun4i: Add support for D1 TCON TOP
authorSamuel Holland <samuel@sholland.org>
Sun, 24 Apr 2022 16:26:30 +0000 (11:26 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 26 Apr 2022 12:25:43 +0000 (14:25 +0200)
commita359beb4e66b66e6b9a06036e7da7d7cf9cb1169
treee8cf8e9ac7822c90b0dc10ce1b424aa4336d7ea0
parent30d334ce97ae999f190488a38445507cd36828cc
drm/sun4i: Add support for D1 TCON TOP

D1 has a TCON TOP with TCON TV0 and DSI, but no TCON TV1. This puts the
DSI clock name at index 1 in clock-output-names. Support this by only
incrementing the index for clocks that are actually supported.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220424162633.12369-13-samuel@sholland.org
drivers/gpu/drm/sun4i/sun8i_tcon_top.c