]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml
authorChaoyi Chen <chaoyi.chen@rock-chips.com>
Tue, 20 May 2025 02:47:18 +0000 (10:47 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Thu, 22 May 2025 12:19:20 +0000 (07:19 -0500)
commit70a299ed2e03e7ef26e5be7889bab1a47960ed25
tree784fae1fcb76adb30ce577be027b741563351707
parent3e3169e64e3154770f263451cc821b4c3f043cc0
dt-bindings: display: rockchip: Convert cdn-dp-rockchip.txt to yaml

Convert cdn-dp-rockchip.txt to yaml.

Add new "port@1" property which represents the CDN DP output to keep
the same style as the other display interfaces.

This patch also changes the constraints for "phys" and "extcon". For
the original binding, only one phy and the corresponding extcon can
be specified. In the new binding, one or two phys can be specified.
Since the RK3399 has two DP-USB PHYs, specifying one allows output
via the corresponding PHY, while specifying two lets the driver
choose one PHY for output. This rule also applies to extcon, which
provides the cable state for the corresponding PHY.

Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250520024718.142-3-kernel@airkyi.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/display/rockchip/cdn-dp-rockchip.txt [deleted file]
Documentation/devicetree/bindings/display/rockchip/rockchip,rk3399-cdn-dp.yaml [new file with mode: 0644]