From patchwork Tue Jan 2 22:17:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 10141395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CCBDA601A1 for ; Tue, 2 Jan 2018 22:17:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C06B728C8A for ; Tue, 2 Jan 2018 22:17:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B51F928D3F; Tue, 2 Jan 2018 22:17:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6615328C8A for ; Tue, 2 Jan 2018 22:17:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751151AbeABWRk (ORCPT ); Tue, 2 Jan 2018 17:17:40 -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 Received: by mail-wr0-f194.google.com with SMTP id w107so24039602wrb.9; Tue, 02 Jan 2018 14:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=hfqynoC0d2wxx0aMTt/eIuYQeKdfZGcRHqrV8lopa3s=; b=JXylgYwZAxmCZeSvDlVDEi4IHfLpAJ5+0NVR/9VNuNuhm4MUfylIE84nhxMfDkIiiF 0GC+8wK4t8Ywz32uI6DCCGl6QSjwcDH0wi8JlT3XPSLZhJOJ+ncd/ljE6qQkc6/MIRV9 VsBBmx+c3R4dwm7kHc0s9/4be2MdDFYwiUMmbrfPptwXo4QvaDphZNDBDRFgLsm2QeE8 UV+opYCPjGAoMIrUj3ZkvKv9WKZteLeyRq3rxGotmAkfT/IIrUYedAhIrXSZ7GzC6Dg2 hI6GY1wR1QvPPpqvWKIOaJdB3iI3ux+rciBeNLCzd7RstyzcJkixIiIH6HM7wysrggrO aB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hfqynoC0d2wxx0aMTt/eIuYQeKdfZGcRHqrV8lopa3s=; b=K3kp4C0AQDooLU6ZitwFnrFVsjvn22S8haZXgz45M5uRj+GLMWkqXh+YGO4wQR40xe gHToPL5ic3YdHAdVIjg0VJdOH4Tb9GWjXDxzhfqPRO6El9Egl7Q5XeKRnSQue9+YtyXd z4nAoOzaAi6kYxa8UcfmyRIiSwpJQOWZgdU5tnh9cSs42sD4cvLVV/6b+zdCMlN21QYN woDU0Qh2WUzUBXl9um+Y/vMV/a8Q9/mPXCE3qsS1c3CWDttmLdQDlLUJNXrmGLGv81VI 3eCxPqazBhlOKd4GARQOKwzsJV4llBSrCkG09INpwNhL647j+6lF+u2CfUP1DRVxMGg7 vOXA== X-Gm-Message-State: AKGB3mIeXf1dEOyZ9HQX4v9JFZnjRUpktLEET/tM/YJWbqQECRRQ7tvd qTOn/u1J3CY84PfNLbgx974= X-Google-Smtp-Source: ACJfBots+/tW9wH8iXbTvpiHAbi1mHlFcyDWM7op2QApKnbXtxaxFvdVrZasDrWpKEtFVV3iEDt2mw== X-Received: by 10.223.160.233 with SMTP id n38mr48082743wrn.45.1514931456922; Tue, 02 Jan 2018 14:17:36 -0800 (PST) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id g78sm47242353wmc.30.2018.01.02.14.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jan 2018 14:17:36 -0800 (PST) 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>;