Skip to contentSkip to conversation

Add RK3588 Tiger DisplayPort carrier

PATCH Applied Heiko Stuebner 2 participants 5 messages Oct 2 – Oct 4

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

v6 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 hotplugging the eDP controller displays [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.

changes in v6:
- address comments from Quentin
- Remove misleading dp/hdmi hpd pins (as they would have inverted levels
- drop dp-connector label - it's optional and the board is not labeled
- drop redundant uart2 pinctrl-0 setting

changes in v5:
- didn't take a year since v4 ;-)
- drop wrong quotes around Rob's Rb
- drop wrong link-trailers that slipped into v4
- disable mmu600_pcie for the time being
- move hpd-gpio back to the dp-connector where it belongs With v3 of the hpd series, this now works as expected

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]

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      | 110 ++++++++++++++++++
 3 files changed, 115 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts
Signature · 1 line
2.47.3
author maintainer
#1 lore raw

PATCH v6 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
index a799bb843f74..3b270690afca 100644
@@ -1336,9 +1336,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.3
author maintainer
#2 lore raw

PATCH v6 2/2 arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems

In reply to 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.

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      | 110 ++++++++++++++++++
 2 files changed, 111 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-tiger-displayport-carrier.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 2edc9c0aceb5..bf80afba2351 100644
@@ -217,6 +217,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-plus.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-plus-radxa-cam4k-cam0.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-rock-5b-plus-radxa-cam4k-cam1.dtbo
 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 +110 -0

110 lines not on this page · raw message

Signature · 1 line
2.47.3
Reviewed-by on v6 2/2
#3 lore raw

Re: [PATCH v6 2/2] arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems

Hi Heiko,

Quoted 5 lines · Heiko Stuebner

From: Heiko Stuebner <[email protected]>

The DisplayPort carrier is a very simple baseboard only providing serial, ethernet and a displayport output.

Quoted 8 lines

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.

Thanks!
Quentin

author maintainer Applied
#4 lore raw
In reply to Heiko Stuebner
Quoted 9 lines · Heiko Stuebner

A board that allows easy testing of the Analogix eDP controller on the RK3588. Requires Damon's recent work on hotplugging the eDP controller displays [0].

Concerning displays, my current setup is

DP-carrier -> DP-port -> DP-to-eDP converter from Aliexpress -> eDP panel

[...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: add RK3588 DP carrier from Theobroma Systems

      commit: 3789de522b6902dba9285d69fb22bf2700e9ca4e
[2/2] arm64: dts: rockchip: add RK3588 DP carrier from Theobroma Systems
      commit: 24ce4253f5f6e65e9faa3f63712cf0aa82d52349

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>