ARM: dts: n900: Add aliases for lcd and tvout displays
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Fri, 12 Jan 2018 23:47:18 +0000 (15:47 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 12 Jan 2018 23:47:18 +0000 (15:47 -0800)
When both lcd and tv are enabled, the order in which they will be probed is
unknown, so it might happen (and it happens in reality) that tv is
configured as display0 and lcd as display1, which results in nothing
displayed on lcd, as display1 is disabled by default.

Fix that by providing correct aliases for lcd and tv

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts

index 5362139d53126f8da5c4b2477a6ce08aeb2d4d4c..e18093ea35a8f203475e742c1c013b21feef5565 100644 (file)
@@ -35,6 +35,8 @@
                i2c1 = &i2c1;
                i2c2 = &i2c2;
                i2c3 = &i2c3;
+               display0 = &lcd;
+               display1 = &tv;
        };
 
        cpus {
                ti,esd-recovery-timeout-ms = <8000>;
        };
 
-       acx565akm@2 {
+       lcd: acx565akm@2 {
                compatible = "sony,acx565akm";
                spi-max-frequency = <6000000>;
                reg = <2>;