drm/rockchip: vop: Add output selection registers for RK312x
authorAlex Bee <knaerzche@gmail.com>
Fri, 22 Dec 2023 17:41:53 +0000 (18:41 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 29 Dec 2023 23:33:11 +0000 (00:33 +0100)
commit407eaa4aa64a8429094fa75fac00fff5e471138d
tree075102bf1fe911abb9803c4be944cf1e23e44a74
parenta196a5166e0812db267281c32fa0724fc5be6582
drm/rockchip: vop: Add output selection registers for RK312x

In contrast to RK3036, RK312x SoCs have multiple output channels such as
RGB (i.e. LVDS TTL), LVDS, DSI and HDMI.

In order to support that, this splits output from RK3036 and defines an
separate one for RK3126 with the registers required to enable the
appropriate output and setup the correct polarity.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222174220.55249-3-knaerzche@gmail.com
drivers/gpu/drm/rockchip/rockchip_vop_reg.c
drivers/gpu/drm/rockchip/rockchip_vop_reg.h