From 58387979215cb47379df951212ae47a0b88239d7 Mon Sep 17 00:00:00 2001 From: Jayesh Choudhary Date: Wed, 20 Mar 2024 11:04:02 +0530 Subject: HACK: arm64: dts: ti: k3-am69-sk: Add serdes_dp_link max-bit-rate Add missing 'cdns,max-bit-rate' property for mhdp phy. If not specified, the default value taken is 8100 Mbps which often leads to phy link training errors like "CR: max swing reached" and eventually falls back to 1620 Mbps which limits the maximum supported resolution to 1920x1200 which is way less than what hardware can actually support theoretically i.e. 4K. Adding 2700 (as a HACK) instead of 5400 like other platforms as the latter causes CRTC SYNC LOST issue for 3840x2160@60fps resolution. So limiting the phy-rate for max resolution of 3840x2160@30fps as it is better to have a stable low fps than flaky high fps. The HACK can be removed when 4K@60fps is stable. Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 444bb05c11d8..281332142661 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -647,6 +647,7 @@ reg = <0>; cdns,num-lanes = <4>; #phy-cells = <0>; + cdns,max-bit-rate = <2700>; cdns,phy-type = ; resets = <&serdes_wiz4 1>, <&serdes_wiz4 2>, <&serdes_wiz4 3>, <&serdes_wiz4 4>; -- cgit v1.2.3