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: 83828 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp53318obn; Thu, 24 Nov 2016 01:31:31 -0800 (PST) X-Received: by 10.84.209.161 with SMTP id y30mr3325340plh.163.1479979891468; Thu, 24 Nov 2016 01:31:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si9880290plj.182.2016.11.24.01.31.31; Thu, 24 Nov 2016 01:31:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936618AbcKXJba (ORCPT + 7 others); Thu, 24 Nov 2016 04:31:30 -0500 Received: from mail-wj0-f181.google.com ([209.85.210.181]:36638 "EHLO mail-wj0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936537AbcKXJb3 (ORCPT ); Thu, 24 Nov 2016 04:31:29 -0500 Received: by mail-wj0-f181.google.com with SMTP id qp4so28801757wjc.3 for ; Thu, 24 Nov 2016 01:31:28 -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=crI0GAFxzMuYhZwU95uVIxQ4eH2lL/oIVmTKvUeF4zB75E/tcme5/Nm4UdBmkzhXkl 8z+OPxKn0aFaDjfbXafEPYgOXWE/aixMXze9sqytql1hv/4k4HEbcpjHYkS4NDH0LBEa b3HPzLOhHLthrTnuAq3E2Tj79BBTl3+D8DAGvcRLCQkg6imnAB0/X8hI16GXeGEv+Lyt e+kPFBdN3CQVnM9B0Ge1v62EAPazLRZpPBSkcesMofvnO91uV+wIRzW7Cshdsbu6UzBq un6iqK4hT1RKQrmM6NHN8BgRDFY4gRZ+J06tmGVOaBPrG1urjORmxommYqXyvT2nceBS fhNw== X-Gm-Message-State: AKaTC00Q8fFlSDAxj34IA2Zl+uJ2TMeG6czm5SLMjJJfKEH7ZyYDCfm6TjE0fqhtyWyozdXJ 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 Cc: LKML , arm-soc , linux-drm , linux-devicetree , Jyri Sarha , Tomi Valkeinen , David Airlie , Laurent Pinchart , Robin Murphy , Sudeep Holla , Bartosz Golaszewski 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; }; };