Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitry Osipenko and committed by
Thierry Reding
a21f18a9 b8ae1715

+10 -2
+10 -2
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
··· 1073 1073 }; 1074 1074 1075 1075 display-panel { 1076 - compatible = "hydis,hv070wx2-1e0", "chunghwa,claa070wp03xg", 1077 - "panel-lvds"; 1076 + /* 1077 + * Nexus 7 supports two compatible panel models: 1078 + * 1079 + * 1. hydis,hv070wx2-1e0 1080 + * 2. chunghwa,claa070wp03xg 1081 + * 1082 + * We want to use timing which is optimized for Nexus 7, 1083 + * hence we need to customize the timing. 1084 + */ 1085 + compatible = "panel-lvds"; 1078 1086 1079 1087 power-supply = <&vdd_pnl>; 1080 1088 backlight = <&backlight>;