From patchwork Thu Nov 24 09:31:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9445029 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 6D0066071C for ; Thu, 24 Nov 2016 09:31:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5485220700 for ; Thu, 24 Nov 2016 09:31:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47D1F26419; Thu, 24 Nov 2016 09:31:33 +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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D05D920700 for ; Thu, 24 Nov 2016 09:31:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 61E1989E3B; Thu, 24 Nov 2016 09:31:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x22e.google.com (mail-wj0-x22e.google.com [IPv6:2a00:1450:400c:c01::22e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A5D589E3B for ; Thu, 24 Nov 2016 09:31:29 +0000 (UTC) Received: by mail-wj0-x22e.google.com with SMTP id xy5so28901248wjc.0 for ; Thu, 24 Nov 2016 01:31:29 -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; bh=zw1WJpAbRzcPHrhpi1Y+HeOWJ7lpWhIfu5ok0qfgV+M=; b=zJe4u08BtYnH7wkdt7SIM5YKqG2vyqBeuP5h2K8CINfPxs3XnIzMSsK94nyC/NrwII D65buArBPkV5PjQ71zpAxlVUjINrpV8ODFjwkF7Yjb/ztUzZgALpIdZswMN1l9u7JEmW DhCeljArKFsqMdHq18mrIL5gxl7aB+/yHx8nWnQUTOuolbpZ+XExpt7uksXNl7NKCJsu ErP8se7AO4ZpENZvbw4yO15JAu14ayrJO65g3FY7XNkdg/tNaG6hMPEdoN+7nGlFdsqc 8C1Cq+Ru5cbt8pYo4V3KpPNuWAQl5Pa+coYcavBFhboo8FWzdcrFRVwuIi06LMl9iaeT feUA== 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; bh=zw1WJpAbRzcPHrhpi1Y+HeOWJ7lpWhIfu5ok0qfgV+M=; b=ZgxXTEyJ9E6Hy+OfCGMJ4yT8N4+9PZH9AieFct1M+JXy3TKZqc7Al7RY1lFX2PVJkM AZxoZyXNHAIpV3DD722tJ8NhSG2Haz1ROqi+Wt3K4lW3cOhsn00ELcGTtPmZFglrVVeT WcnDqAqr8Wnr1hLmcFPkracjIDMZP1hVSlsuh3g5Jy+awIgFJZgertjo5QQF/9kZulaO uUWRyDC8C+JQ9kvS1H4VNu0bFqn90hBYammlLA1xvxU8cwI056Djv/PQJV77MxzX7S2m IMl+TXBHmVJvV+rRZlgxIyHLvHVP+dw65wKO8Bzof2ycgQixmko0VO0a4GEXjed5UhIU RBeA== X-Gm-Message-State: AKaTC00zp7rO5Bevl3C6ulfsx+d2tWrxit/E8b6OSgw/zPU8gvTZPSIMtf2VZuzm5GLTfDax X-Received: by 10.194.9.34 with SMTP id w2mr1288145wja.24.1479979887599; Thu, 24 Nov 2016 01:31:27 -0800 (PST) Received: from bgdev-debian.lan (jua06-1-82-242-157-225.fbx.proxad.net. [82.242.157.225]) by smtp.gmail.com with ESMTPSA id 135sm7199432wmh.14.2016.11.24.01.31.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Nov 2016 01:31:27 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Michael Turquette , Sekhar Nori , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King Subject: [PATCH] ARM: dts: da850: enable the memctrl and mstpri nodes per board Date: Thu, 24 Nov 2016 10:31:24 +0100 Message-Id: <1479979884-9624-1-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 Cc: linux-devicetree , LKML , linux-drm , Bartosz Golaszewski , Tomi Valkeinen , Jyri Sarha , Sudeep Holla , Robin Murphy , arm-soc , Laurent Pinchart X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 3b99a88..94504c8 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -283,3 +283,11 @@ &display { status = "okay"; }; + +&prictrl { + status = "okay"; +}; + +&memctrl { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 36066fa..4e40187 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -212,6 +212,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"; @@ -457,5 +458,6 @@ memctrl: memory-controller@b0000000 { compatible = "ti,da850-ddr-controller"; reg = <0xb0000000 0xe8>; + status = "disabled"; }; };