dt-bindings: display: rockchip: dw-hdmi: fix ports description
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 22 Apr 2022 07:28:41 +0000 (09:28 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 4 May 2022 12:05:47 +0000 (14:05 +0200)
commit4073e42028de0f6ebbd86a9b30aaa5501bcdff59
tree846fea3e912e3f5477c50817573b805e91cfd05b
parent74015e2650bad641a02100cdf0ac23a96c1a2553
dt-bindings: display: rockchip: dw-hdmi: fix ports description

Current port description doesn't cover all possible cases. It currently
expects one single port with two endpoints.

When the HDMI connector is described in the device tree there can be two
ports, first one going to the VOP and the second one going to the connector.

Also on SoCs which only have a single VOP there will be only one
endpoint instead of two.

This patch addresses both issues. With this there can either be a single
port ("port") , or two of them ("port@0", "port@1") when the connector
is also in the device tree. Also the first or only port can either have
one endpoint ("endpoint") for single VOP SoCs or two ("endpoint@0",
"endpoint@1") for dual VOP SoCs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220422072841.2206452-25-s.hauer@pengutronix.de
Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml