]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: tegra: nexus7: Use panel-lvds as the only panel compatible
authorDmitry Osipenko <digetx@gmail.com>
Wed, 4 Nov 2020 14:12:51 +0000 (17:12 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Nov 2020 18:06:46 +0000 (19:06 +0100)
Depending on a driver probe order, panel-simple driver may probe first,
which results in this error:

  panel-simple display-panel: Reject override mode: panel has a fixed mode

We don't want to use panel-simple anyways because customized timings are
preferred for Nexus 7, hence remove the panel-simple compatibles from the
panel node.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi

index 8def1d2e34f9d1da2201476d00de31e6ffa231db..ac1c1a63eb0e4152f51077fa535eccc92b99252c 100644 (file)
        };
 
        display-panel {
-               compatible = "hydis,hv070wx2-1e0", "chunghwa,claa070wp03xg",
-                            "panel-lvds";
+               /*
+                * Nexus 7 supports two compatible panel models:
+                *
+                *  1. hydis,hv070wx2-1e0
+                *  2. chunghwa,claa070wp03xg
+                *
+                * We want to use timing which is optimized for Nexus 7,
+                * hence we need to customize the timing.
+                */
+               compatible = "panel-lvds";
 
                power-supply = <&vdd_pnl>;
                backlight = <&backlight>;