drm/rockchip: dw_hdmi: Allow outputs that don't need output switching
authorHeiko Stuebner <heiko@sntech.de>
Wed, 12 Sep 2018 12:47:36 +0000 (14:47 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 28 Sep 2018 09:50:00 +0000 (11:50 +0200)
commit96c4704fec95db487432a72cbe244c1db2e090bc
tree31e272d28310c8e76fe65bae048175834020cf81
parent8faff37409fb47d86c839bb2da9f2cff371a3ef1
drm/rockchip: dw_hdmi: Allow outputs that don't need output switching

So far we always encountered socs with 2 output crtcs needing the driver
to tell the hdmi block which output to connect to. But there also exist
socs with only one crtc like the rk3228, rk3328 and rk3368.

So adapt the register field to simply carry a negative value to signal
that no output-switching is necessary.

changes in v3:
- fixed wording issue found by Robin Murphy

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Zheng Yang <zhengyang@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180912124740.20343-3-heiko@sntech.de
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c