From patchwork Sun Mar 11 16:00:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Monakov X-Patchwork-Id: 10274823 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 224666055C for ; Sun, 11 Mar 2018 16:01:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1040128CA1 for ; Sun, 11 Mar 2018 16:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0377828CB7; Sun, 11 Mar 2018 16:01:46 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 83A4E28CA1 for ; Sun, 11 Mar 2018 16:01:46 +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:References: In-Reply-To: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:List-Owner; bh=LDQQZFozxsKBjdTS1CiKEWfn4F9wVCf5R8gXCIGK5h8=; b=a1WzmQVZUeY9Ax8Y8zkxpNkgdm sW4KvgZWd2J15Qb3jYoU8yQ3ewYAKXeK3yp7K4b1eVfeqoYY2JIPWFjMufQCSWTW2D7Vn8ViSaWQM O4Bt+c91N9tk+1ABtjiBzbuw5Z8mwFSpzFWkDkmnB7LfqaNIs2Shh8GTOrEPLzECaplCmStnyezgv tYjXjapv8ClAxn1kFdq2YHNeY2kE6jANnKm+YRH9Y7ZZCpU6f5bcrUp0zKq5fjavULPOKAqqGModd /62d4IdSrys0XVXZx7/YsQxFZKJ3Mvn6YYxoo28dJSlXCYjY//jvoHv3VtuxWe7CEVp8c8mnBwPyH HhFbQQDA==; 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 1ev3Pm-0001VD-83; Sun, 11 Mar 2018 16:01:38 +0000 Received: from bran.ispras.ru ([83.149.199.196] helo=smtp.ispras.ru) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ev3PC-00012v-OD for linux-arm-kernel@lists.infradead.org; Sun, 11 Mar 2018 16:01:07 +0000 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id E6AC6224FC; Sun, 11 Mar 2018 19:00:47 +0300 (MSK) From: Alexander Monakov To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/8] ARM: dts: berlin2cd: move PMU node from soc to root Date: Sun, 11 Mar 2018 19:00:03 +0300 Message-Id: <20180311160008.22928-4-amonakov@ispras.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180311160008.22928-1-amonakov@ispras.ru> References: <20180311160008.22928-1-amonakov@ispras.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180311_090103_203555_F3A7CCB4 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. 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: Antoine Tenart , Jisheng Zhang , Alexander Monakov , Sebastian Hesselbarth 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 Cortex-A9 PMU has no associated memory ranges and "make dtbs W=1" warns about missing reg or ranges property. To avoid the warning, move the PMU node out of soc subtree to the root. Signed-off-by: Alexander Monakov --- arch/arm/boot/dts/berlin2cd.dtsi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index 8c8bf3194f34..572e99ce5940 100644 --- a/arch/arm/boot/dts/berlin2cd.dtsi +++ b/arch/arm/boot/dts/berlin2cd.dtsi @@ -73,6 +73,12 @@ }; }; + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupt-parent = <&gic>; + interrupts = ; + }; + refclk: oscillator { compatible = "fixed-clock"; #clock-cells = <0>; @@ -87,11 +93,6 @@ ranges = <0 0xf7000000 0x1000000>; - pmu { - compatible = "arm,cortex-a9-pmu"; - interrupts = ; - }; - sdhci0: sdhci@ab0000 { compatible = "mrvl,pxav3-mmc"; reg = <0xab0000 0x200>;