Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751173AbeABWRl (ORCPT + 1 other); Tue, 2 Jan 2018 17:17:41 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42927 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbeABWRi (ORCPT ); Tue, 2 Jan 2018 17:17:38 -0500 X-Google-Smtp-Source: ACJfBots+/tW9wH8iXbTvpiHAbi1mHlFcyDWM7op2QApKnbXtxaxFvdVrZasDrWpKEtFVV3iEDt2mw== From: Ivaylo Dimitrov To: tony@atomide.com, bcousson@baylibre.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov Subject: [PATCH] ARM: dts: n900: Add aliases for lcd and tvout displays Date: Wed, 3 Jan 2018 00:17:14 +0200 Message-Id: <1514931434-13192-1-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 --- arch/arm/boot/dts/omap3-n900.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 669c51c..4b9c3a7 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -35,6 +35,8 @@ i2c1 = &i2c1; i2c2 = &i2c2; i2c3 = &i2c3; + display0 = &lcd; + display1 = &tv; }; cpus { @@ -965,7 +967,7 @@ ti,esd-recovery-timeout-ms = <8000>; }; - acx565akm@2 { + lcd: acx565akm@2 { compatible = "sony,acx565akm"; spi-max-frequency = <6000000>; reg = <2>; -- 1.9.1