From patchwork Mon Dec 14 17:37:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 7846191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 543389F32E for ; Mon, 14 Dec 2015 17:39:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 640C7202C8 for ; Mon, 14 Dec 2015 17:39:39 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 989ED202AE for ; Mon, 14 Dec 2015 17:39:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8X4m-00046G-He; Mon, 14 Dec 2015 17:38:20 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8X4k-00041y-8t for linux-arm-kernel@lists.infradead.org; Mon, 14 Dec 2015 17:38:18 +0000 Received: by mail-wm0-x22c.google.com with SMTP id n186so57513895wmn.0 for ; Mon, 14 Dec 2015 09:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=NlTLwuuEPJ8xSX3pm6QuPAQneTuEX/xf9w9DqoH4Gvc=; b=Du1joZmiyEXm7RVnXTnEeRSMnQMi4vdYQx7OoiAzpTG9PmkYuuS/tXE2RQhkZt6G+w K1V0OK5xrm1BJUbApzMcFZflbmctVuY6a4iCTzz7jjLbz5RQMOz1pUxdhIhcq6TYFg+E 72kA/wydQvkxgpxWFly+uSHGG0QuMih4pCw9mq3adeewIKTZlU9q9DnKd3+nZVXWV749 CnRFzvD2aqvePSmb5Mg4MzRDdVlTgAyKQjVpq0gmKvhHQ59ghSktTmitO3fywyOoo++9 LgK3o1xSNgdrzFlmMiMu6FKtZlq8veNbOW6lGbNCRKlVnYlx3EOMltxjrOHFQauHEax+ +etQ== X-Received: by 10.194.71.202 with SMTP id x10mr45283132wju.169.1450114676418; Mon, 14 Dec 2015 09:37:56 -0800 (PST) Received: from localhost.localdomain (p4FEE2ED6.dip0.t-ipconnect.de. [79.238.46.214]) by smtp.gmail.com with ESMTPSA id v129sm16309596wmg.21.2015.12.14.09.37.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 09:37:55 -0800 (PST) From: Dirk Behme To: linux-sh@vger.kernel.org, horms@verge.net.au, geert+renesas@glider.be Subject: [PATCH] arm64: dts: r8a7795: pmu: switch to Cortex specific device nodes Date: Mon, 14 Dec 2015 18:37:51 +0100 Message-Id: <1450114671-10711-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 2.6.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151214_093818_497375_AF3AC282 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -2.7 (--) 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: devicetree@vger.kernel.org, Dirk Behme , linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Instead of using the generic armv8-pmuv3 compatibility use the more specific Cortex A57 and A53 compatibility. Signed-off-by: Dirk Behme --- Note: This patch applies on top of https://patchwork.kernel.org/patch/7834201/ https://patchwork.kernel.org/patch/7834211/ arch/arm64/boot/dts/renesas/r8a7795.dtsi | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 30ebc08..590c510 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -287,21 +287,26 @@ power-domains = <&cpg>; }; - pmu { - compatible = "arm,armv8-pmuv3"; + pmu_a57 { + compatible = "arm,cortex-a57-pmu"; interrupts = , , , - , - , - , - , - ; + ; interrupt-affinity = <&a57_0>, <&a57_1>, <&a57_2>, - <&a57_3>, - <&a53_0>, + <&a57_3>; + + }; + + pmu_a53 { + compatible = "arm,cortex-a53-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;