From patchwork Fri Nov 25 16:03:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9447897 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 DE36260778 for ; Fri, 25 Nov 2016 16:06:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD6C628068 for ; Fri, 25 Nov 2016 16:06:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFC76280D0; Fri, 25 Nov 2016 16:06:23 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B3F828068 for ; Fri, 25 Nov 2016 16:06:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cAIzW-0001Ml-57; Fri, 25 Nov 2016 16:04:46 +0000 Received: from mail-wj0-x229.google.com ([2a00:1450:400c:c01::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cAIyV-0000R8-B7 for linux-arm-kernel@lists.infradead.org; Fri, 25 Nov 2016 16:03:47 +0000 Received: by mail-wj0-x229.google.com with SMTP id v7so62506094wjy.2 for ; Fri, 25 Nov 2016 08:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ib5GQI8XZni6Ab5BLWyRnZ7J6oYMi21uVoHZoc84XDo=; b=QRpYq4vZpSaJlW7cE9Rdo40vhhi10P/yjxcObnAEE60+GaezBesgDA9saycOXp8GC1 Te5K9XvBCsxz4hm1GlUAgQuReWZeNP11jdpArlW6crBXCW4juAagZMhQV/X3LoG68Gas G2Kovfgy8dPWPzKtMwigo0eKkdCjZ93oexJE9QpS1guZBMXoLE43ExDpN+/FoeHhTQXg I+Wcg3s1ucdoOgJVVt/SHm8VPPsboZVqx82E0mezKYVPWJQPm1OMoIB0hfc8ek6qdOMt mNZ9Zrquwpbvki+OKcD7axaixKbKyPFXFkSSa8RKG7IVGXFG+KhXEG/o/QErV5xIB676 3Yyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ib5GQI8XZni6Ab5BLWyRnZ7J6oYMi21uVoHZoc84XDo=; b=GgcrzMQS/j7obsnpdpuaQKXjRIDwYWNHZ3Jfe+eftE7dvR0mJ0iCPZqt5NkF1YvA/P B5tQgnj7ihl7rp2Or5ZI8oYDajyvHhyK6eGEdeBHotjCQA9cXGNBg/WTNBlzL9Zw2Cvw bu1wPjjqTAi+ONMxBJHJlsQaRtt9SwR4wt378zs8gnZNONQQ6AS/MkanojCsvczAymXk wyfpRJJeLU5WHyuf1M768sZ8vtv6gLPLPUEb8b/Qj1HPOi86lDSX7DK7bnKNgUgcPb/H m+Esnadwk5kK/wq1IF/uCvrietRFMR2v1vdgqISjehS9x40JAKszuTfbtOWDM3nqMpzo Xazw== X-Gm-Message-State: AKaTC03vXwetegSZtaQKV9+zGNvBvSuAUFJkFmIdj6UtTsbXd8R/ALd4dvM0wWuu7VU21vL+ X-Received: by 10.194.54.99 with SMTP id i3mr8219924wjp.86.1480089803611; Fri, 25 Nov 2016 08:03:23 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 81sm14102434wmw.7.2016.11.25.08.03.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Nov 2016 08:03:22 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King Subject: [PATCH 3/3] ARM: dts: da850: enable the memctrl and mstpri nodes per board Date: Fri, 25 Nov 2016 17:03:15 +0100 Message-Id: <1480089795-29811-4-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1480089795-29811-1-git-send-email-bgolaszewski@baylibre.com> References: <1480089795-29811-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161125_080343_724285_1957CFBD X-CRM114-Status: GOOD ( 11.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-devicetree , David Airlie , LKML , linux-drm , Bartosz Golaszewski , Tomi Valkeinen , Jyri Sarha , arm-soc , Laurent Pinchart 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 Currently the memory controller and master priorities drivers are enabled in da850.dtsi. For boards for which there are no settings defined, this makes these drivers emit error messages. Disable the nodes in da850.dtsi and only enable them for da850-lcdk - the only board that currently needs them. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 6952c68..d0f7680 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -285,3 +285,11 @@ remote-endpoint = <&vga_bridge_in>; }; }; + +&prictrl { + status = "okay"; +}; + +&memctrl { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 9b7c444..2ea0e06 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -213,6 +213,7 @@ prictrl: priority-controller@14110 { compatible = "ti,da850-mstpri"; reg = <0x14110 0x0c>; + status = "disabled"; }; cfgchip: chip-controller@1417c { compatible = "ti,da830-cfgchip", "syscon", "simple-mfd"; @@ -486,5 +487,6 @@ memctrl: memory-controller@b0000000 { compatible = "ti,da850-ddr-controller"; reg = <0xb0000000 0xe8>; + status = "disabled"; }; };