ARM: tegra: nexus7: Use panel-lvds as the only panel compatible

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>
This commit is contained in:
Dmitry Osipenko 2020-11-04 17:12:51 +03:00 committed by Thierry Reding
parent b8ae171506
commit a21f18a993

View File

@ -1073,8 +1073,16 @@
};
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>;