]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
arm64: dts: rockchip: Specify override mode for kevin panel
authorSean Paul <seanpaul@chromium.org>
Mon, 1 Apr 2019 17:17:20 +0000 (10:17 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 21 Jul 2019 23:04:36 +0000 (01:04 +0200)
This patch adds an override mode for kevin devices. The mode increases
both back porches to allow a pixel clock of 26666kHz as opposed to the
'typical' value of 252750kHz. This is needed to avoid interference with
the touch digitizer on these laptops.

Cc: Doug Anderson <dianders@chromium.org>
Cc: Eric Anholt <eric@anholt.net>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Stéphane Marchesin <marcheu@chromium.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-rockchip@lists.infradead.org
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts

index 3e2272b56eb7cd652c0894e1fd1f9a22ea90e632..e152b0ca0290c7f69e86f6b3c96a7ed16c5e3091 100644 (file)
                backlight = <&backlight>;
                power-supply = <&pp3300_disp>;
 
+               panel-timing {
+                       clock-frequency = <266604720>;
+                       hactive = <2400>;
+                       hfront-porch = <48>;
+                       hback-porch = <84>;
+                       hsync-len = <32>;
+                       hsync-active = <0>;
+                       vactive = <1600>;
+                       vfront-porch = <3>;
+                       vback-porch = <120>;
+                       vsync-len = <10>;
+                       vsync-active = <0>;
+               };
+
                port {
                        panel_in_edp: endpoint {
                                remote-endpoint = <&edp_out_panel>;