Add RK3588 Tiger DisplayPort carrier
Subsystems (2)
Heiko Stuebner
maintainerv4 cover Add RK3588 Tiger DisplayPort carrier
A board that allows easy testing of the Analogix eDP controller on the RK3588. Requires Damon's recent work on allowing bridges in the Rockchip variant of the controller driver [0].
Concerning displays, my current setup is
DP-carrier -> DP-port -> DP-to-eDP converter from Aliexpress -> eDP panel
which produces a nice 1080p image, but it seems Quentin's experience was not as nice, as he reported in v2 [1] that his two test monitors produced dfferent tints, but not real output with:
green tint on a Iiyama ProLite XU2294HSU and purple tint on a Dell P2319H
changes in v4:
- move hpd-gpio down the the analogix-dp node
As stated in commit cb640b2ca546 ("drm/bridge: display-connector: don't set OP_DETECT for DisplayPorts") the dp-connector can't just read the hpd-gpio and mark that as monitor detected, instead
changes in v3:
- rebase on top of 6.17-rc1
- still should wait on the analogix bridge support
changes in v2:
- collect Ack/Review for binding
- address Quentin's comments
- sorting in Makefile and dp-connector properties
- ethernet alias
- drop data-lanes comment
[0] https://lore.kernel.org/dri-devel/[email protected]/
[1] https://lore.kernel.org/linux-rockchip/[email protected]
Heiko Stuebner (2):
dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma
Systems
arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems
.../devicetree/bindings/arm/rockchip.yaml | 6 +- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../rk3588-tiger-displayport-carrier.dts | 119 ++++++++++++++++++ 3 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts
Signature · 1 line
2.47.2
Heiko Stuebner
maintainerPATCH v4 1/2 dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma Systems
From: Heiko Stuebner <[email protected]>
The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output.
But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/rockchip.yaml +4 -2
@@ -1221,9 +1221,11 @@ properties: - const: tsd,rk3588-jaguar - const: rockchip,rk3588 - - description: Theobroma Systems RK3588-Q7 with Haikou baseboard + - description: Theobroma Systems RK3588-Q7 with baseboards items: - - const: tsd,rk3588-tiger-haikou + - enum: + - tsd,rk3588-tiger-displayport-carrier + - tsd,rk3588-tiger-haikou - const: tsd,rk3588-tiger - const: rockchip,rk3588
Signature · 1 line
2.47.2
Re: [PATCH v4 1/2] dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma Systems
Quoted 11 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output.
But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor.
Reviewed-by Quentin Schulz <[email protected]>
Please update your b4. Quotes are not needed. Weird that you had to add them somehow, because they were not in previous version.
Quoted 2 lines
That is not really useful Link. Points to the same patch.
Quoted 3 lines
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Best regards,
Krzysztof
Heiko Stuebner
maintainerPATCH v4 2/2 arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems
In reply to Heiko StuebnerFrom: Heiko Stuebner <[email protected]>
The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output.
But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor.
The Analogix-DP controller supports eDP 1.3 and DP 1.2, so can drive both eDP displays as well as full DP monitors. It does not support DP+ so passive DP-to-HDMI adapters won't work.
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../rk3588-tiger-displayport-carrier.dts | 119 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -188,6 +188,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-pcie-ep.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-pcie-srns.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-plus.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5t.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-displayport-carrier.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-haikou.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-haikou-video-demo.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-toybrick-x0.dtb
arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts new file +119 -0
119 lines not on this page · raw message
Signature · 1 line
2.47.2
Re: [PATCH v4 2/2] arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems
Hi Heiko,
Quoted 9 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output.
But its main functionality is that it routes the Analogix eDP controller to this DisplayPort output, which allows to test that controller simply by hooking it up to a suitable monitor.
Quoted 6 lines
The Analogix-DP controller supports eDP 1.3 and DP 1.2, so can drive both eDP displays as well as full DP monitors. It does not support DP+ so passive DP-to-HDMI adapters won't work.
Please remove the Link trailer for v5 (if there's one) :)
I only have one remark: the device is stuck when shutting down or rebooting after this one line in the logs (can be shown by adding initcall_debug to the kernel command line)
[ 21.973452] arm-smmu-v3 fc900000.iommu: shutdown
It only reboots by chance, after ~1m30s, because the watchdog is started before rebooting and never triggered again.
If I add:
&mmu600_pcie {
status = "disabled";
};then the device reboots just fine. So we either temporarily disable it or we try to fix the origin of the issue.
As reported to Damon today on the v2 of this series, I tested with
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/ (patches 14-18 of the previous thread)
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/linux-rockchip/[email protected]/
and DP works as expected (minus some (I deem to be) minor issues).
Cheers,
Quentin