From patchwork Wed Jul 25 16:43:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10544441 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1766A112E for ; Wed, 25 Jul 2018 16:43:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0584C2A6A1 for ; Wed, 25 Jul 2018 16:43:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB2ED2A789; Wed, 25 Jul 2018 16:43:55 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 900D02A6A1 for ; Wed, 25 Jul 2018 16:43:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729130AbeGYR4N (ORCPT ); Wed, 25 Jul 2018 13:56:13 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:44801 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728813AbeGYR4N (ORCPT ); Wed, 25 Jul 2018 13:56:13 -0400 Received: by mail-lj1-f193.google.com with SMTP id q127-v6so7244815ljq.11 for ; Wed, 25 Jul 2018 09:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jRU9GikHXa6h4npvd0wCJx9D8EWCfZXGrr8qbx68gUY=; b=anjGPT7tesUWNoSWmIRxrQXyRA84B1vSZHcckZhJrPvEz4Une5mh4XEAnDgN8RlNYD 1UB/ZuH5bq+Fk4LT4KpWL0RdCD3JN9RpAZHfPScz92cmWe4yucKsGLvl93lTB6n5Lk8I /d633ClgfaVMwNkykMKcD/0x9WEQ1maXr3vIrCC+qWoHRKz5gxe3RRiIajMmw16UiM6f 9h4PIxx6W72H05/ykEGg2RGa8udd7nl/KMyZGzrkhoG9GeXzmym/A0sFE80SCFmduCIT a0HSWt/fxBeJ0EAGj1Rrp9BG488dlTb/Mudz3AS3NFohUiekfZEKoL90g2WZRRUlgO92 c6LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=jRU9GikHXa6h4npvd0wCJx9D8EWCfZXGrr8qbx68gUY=; b=RtgvsWtbWfzgHMKdyfhgN/b1i+WKb0/9ARso4BpsMJqE5xJfGN0/N38Lh28UP0rEVR vJ3kl7mpoT0GWbKAkMhdrCUzi3tcOLW7Kgeg7qV+Gshv0Yk8xM5QiUX0GkWLjhW17TCX s0ib0OQAHv154Nfy4BCO80yVT/gZ8YBfVtvOe6hcwyttcGDSOvvfppdka8euo+KLuPsK neFYi1hXl2/6zfFtW+m7yY0nDR9bgggAL1YEYgASm8FfMPBAIJvWbTdsR71JPifhxOPh GXvQjrKjP1Ca76KYTa1o9EIbsf83AxzqQ3lXo5nvFhW0DIOouv+hALwDoiyCPrqtoRb7 obdQ== X-Gm-Message-State: AOUpUlFEWCy3AlYAxpUvqKlhSIEBMSM5645xGY1qo0Jt9/IUhEOubv3z X/4dis/cIq8KwCfyqOXkHUQPXA== X-Google-Smtp-Source: AAOMgpc5+xDQ7j0ruYLKu2VYdVI1vva5DuYZHPyEkwAiAKxaQiQFNT7TVzA30wASGNoJBMzohnTOXQ== X-Received: by 2002:a2e:6c07:: with SMTP id h7-v6mr15528846ljc.81.1532537022900; Wed, 25 Jul 2018 09:43:42 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.87.238]) by smtp.gmail.com with ESMTPSA id f93-v6sm2855652lji.76.2018.07.25.09.43.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 09:43:41 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] arm64: dts: renesas: r8a77980: add Cortex-A53 PMU support To: Simon Horman , linux-renesas-soc@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Catalin Marinas , Will Deacon Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org References: <2368353.xfo5beGC5E@wasted.cogentembedded.com> Organization: Cogent Embedded Message-ID: Date: Wed, 25 Jul 2018 19:43:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <2368353.xfo5beGC5E@wasted.cogentembedded.com> Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Describe the performance monitor unit (PMU) for the Cortex-A53 cores in the R8A77970 SoC's device tree. Based on the original (and large) patch by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- The patch is against the 'renesas-devel-20180724-v4.18-rc6' tag of Simon Horman's 'renesas.git' repo. arch/arm64/boot/dts/renesas/r8a77980.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77980.dtsi @@ -98,6 +98,15 @@ clock-frequency = <0>; }; + pmu_a53 { + compatible = "arm,cortex-a53-pmu"; + interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, + <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, + <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, + <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>; + }; + psci { compatible = "arm,psci-1.0", "arm,psci-0.2"; method = "smc";