From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F7E5C4346E for ; Tue, 29 Sep 2020 08:00:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B314320936 for ; Tue, 29 Sep 2020 08:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601366444; bh=8fBhrfdOj4o17YaAM3cUbpe1Gkp7ugH39AIX9l9tEVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=v93+DWXKp80Qpzr4bhA7g9noYHpuQYKFtVvnNKI8EQMfL4nHljeYGhvAb9nIcJGd/ UcQisxsuAgCh17OuodjRCBz6Xy9wCuHyjGnlvHRB3AeziHLwPFyhOjuFL/7WY3Suo8 AbnH5iiswo0WP6NAntynkKesWuatRevqnz7CLXYI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725779AbgI2IAo (ORCPT ); Tue, 29 Sep 2020 04:00:44 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:37433 "EHLO mail-ej1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgI2IAo (ORCPT ); Tue, 29 Sep 2020 04:00:44 -0400 Received: by mail-ej1-f67.google.com with SMTP id nw23so13691658ejb.4 for ; Tue, 29 Sep 2020 01:00:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HKgZE9BzcCZtJAa+9x3WUux57s80SbH2mXwDnzuejGs=; b=l2uHsd1ICb1h+RI0KK2X4kcTYRYeR7HXsDH581iM+2bj3Mlo5QWIKq+UYIENIOPUVr zbgnIDU73qiyive+ffTQGhErU0bbQUhwJXopjNMAIxh8UYknZlw+ZzL/UzO6RsCaOVBz QkBVKMw1ftYfqc2YabIpsoKMnMr5ZcIFC36qHpBn6+flmX45SVsV20PEraZXItEEWAqU 9DMpSCrmeab/f20o3rfZVk9FohTllsFxxaWEs7kMOZIXbf0vxZSUAyl/W4L/ZmKjXYcQ obF+myG9bPkuPG3thnXpcJqIfDH+GtJuS5/17oRW2x7rCYAhX19Hel9x6EhS0eVr+oes aqRw== X-Gm-Message-State: AOAM531OxesyWpu6872phbTuye0KO/bqr7x6POIVd5aXDcX7DhtfTJRK W47G1FubAl4oKJTlMOxtU0g= X-Google-Smtp-Source: ABdhPJyiBycVmdGrU8tRUhcjIWA6vezcDUvl9nzsgxDArhcLsnp0pvCAmTA2FhJLNxySiOG39wxxXQ== X-Received: by 2002:a17:906:7fcc:: with SMTP id r12mr2691728ejs.360.1601366442159; Tue, 29 Sep 2020 01:00:42 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id p25sm5154529edm.60.2020.09.29.01.00.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Sep 2020 01:00:41 -0700 (PDT) Date: Tue, 29 Sep 2020 10:00:39 +0200 From: Krzysztof Kozlowski To: Jacky Bai Cc: shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] arm64: dts: freescale: Add pmu support on imx8mp Message-ID: <20200929080039.GC7139@kozik-lap> References: <20200927094742.2714535-1-ping.bai@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200927094742.2714535-1-ping.bai@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sun, Sep 27, 2020 at 05:47:41PM +0800, Jacky Bai wrote: > Add PMU node to enable pmu support on imx8mp. > > Signed-off-by: Jacky Bai > --- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index 6038f66aefc1..8b07a70545f6 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -133,6 +133,13 @@ clk_ext4: clock-ext4 { > clock-output-names = "clk_ext4"; > }; > > + pmu { > + compatible = "arm,armv8-pmuv3"; > + interrupts = + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; How many cores do you have there? 4 or 6? Best regards, Krzysztof