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: 7846181 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E963CBEEE1 for ; Mon, 14 Dec 2015 17:38:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32EFF203AB for ; Mon, 14 Dec 2015 17:38:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53A4E202C8 for ; Mon, 14 Dec 2015 17:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbbLNRh6 (ORCPT ); Mon, 14 Dec 2015 12:37:58 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:34648 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752916AbbLNRh6 (ORCPT ); Mon, 14 Dec 2015 12:37:58 -0500 Received: by mail-wm0-f43.google.com with SMTP id p66so73349016wmp.1; 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 Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, Dirk Behme 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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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>;