arm64: dts: mediatek: mt8173-elm: remove panel model number in DT
authorIcenowy Zheng <uwu@icenowy.me>
Fri, 26 May 2023 10:08:01 +0000 (18:08 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 15 Jun 2023 11:14:57 +0000 (13:14 +0200)
Currently a specific panel number is used in the Elm DTSI, which is
corresponded to a 12" panel. However, according to the official Chrome
OS devices document, Elm refers to Acer Chromebook R13, which, as the
name specifies, uses a 13.3" panel, which comes with EDID information.

As the kernel currently prioritizes the hardcoded timing parameters
matched with the panel number compatible, a wrong timing will be applied
to the 13.3" panel on Acer Chromebook R13, which leads to blank display.

Because the Elm DTSI is shared with Hana board, and Hana corresponds to
multiple devices from 11" to 14", a certain panel model number shouldn't
be present, and driving the panel according to its EDID information is
necessary.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230526100801.16310-1-uwu@icenowy.me
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index 03d1ab2ca82035f013e59d1f1e5ac4b60942eca8..111495622cacdc6c05b590ee273e331a97af3ed6 100644 (file)
 
                aux-bus {
                        panel: panel {
-                               compatible = "lg,lp120up1";
+                               compatible = "edp-panel";
                                power-supply = <&panel_fixed_3v3>;
                                backlight = <&backlight>;