]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d10ef650e09aed59ef8dfc177173029d6aa6acf
treee8cf8e9ac7822c90b0dc10ce1b424aa4336d7ea0
parentd2a24240de0d6498a4af3d7978df87cbad1e4f4c
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