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: 10141397 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 F2843601A1 for ; Tue, 2 Jan 2018 22:17:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E562F28C8A for ; Tue, 2 Jan 2018 22:17:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9F6B28D3F; Tue, 2 Jan 2018 22:17:56 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E8F428C8A for ; Tue, 2 Jan 2018 22:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=/KP5vL8FU1RIsksFKKpoosxVrBmfb/YywindwNSFpUo=; b=dqd qD062He2Cpq7skxUuj8OKtYzzxfyh2ovWXmbHrlfMOnMByF1mRzz78BW5iCid/66gh6ai9TuRdqhg pikFx7CpuV2mFXkyYUZKSR8vqKAQvynLDyFkPQZLLBbPXpfqgnH0Qn6woyRey3goLwByKE0Xp6ssu T4EiCtyZYg639LXw5XqzOF6LKVPopuiXXee7YfauWh/7iU0358rm3Eayy/WSJ5r8tCT6Rwz+pAotG EkRnWEXaTtTYCF088j9i67UNZ05eMoWYr36aXo4Vawk9dJ5CzI5Wqjv+tBh191R3D2IZNe8N2EUT1 wo/11nUyrNjel6k+2pP1Hd7sLO0oXUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWUsa-0005iT-6q; Tue, 02 Jan 2018 22:17:52 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWUsX-0005gC-20 for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2018 22:17:50 +0000 Received: by mail-wr0-x244.google.com with SMTP id v21so39140531wrc.0 for ; Tue, 02 Jan 2018 14:17:38 -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=q1kJE5GsCPoiNVTLGE73FJE/Z5neLA2REMU0S1UUO2U5QsiVs2prpIwYNRM/mJi75k QxvEbU/rIVqvisDKuPrSKl6mxjmdJCB/25ePPmqEQj0YCk/2i4aqlFTpu3Sz3FaXMRaU kRUn8xIMC8R/NuAeyVMfLHXbBx89/T1511B0ehxA3sVvd9DsQz62AA2lAba0hFj+7tMD iO5XCivmdx6Xfv9UAXwr3xf+XQ6COxiTGgnSmDC43E+1Wf3eNQftAx1/padS1AH/NphS 6+A4MxG+C61RtlOtW5C6vJ9Mc056oJUfpP24Sw/i7mqHPGpLngR7ivg/ulQqBWG/fJUI zBxA== X-Gm-Message-State: AKGB3mIYxytkB876elF7SXN4tg+roFfNm0pPuy6Ewdvq0PP8ejQeixP4 6tknKekmz22Lm9E2FIie18Y= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180102_141749_103612_B645AFBA X-CRM114-Status: GOOD ( 10.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Ivaylo Dimitrov , linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>;