From patchwork Sun Feb 12 15:41:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 55924 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1948500wrn; Sun, 12 Feb 2023 07:42:24 -0800 (PST) X-Google-Smtp-Source: AK7set/pQiDN7Hy+Owb99SQmKgRmnNa5C4MzT7YBpAov+RmxzYvJIxIO0VXST548P4C4Jl593fWY X-Received: by 2002:a17:903:228c:b0:19a:89d4:802f with SMTP id b12-20020a170903228c00b0019a89d4802fmr5001735plh.57.1676216544511; Sun, 12 Feb 2023 07:42:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676216544; cv=none; d=google.com; s=arc-20160816; b=fY/X4YUS+aJw/F/z3cnJcc4/GTSknqj43lM33CtxxODEg4w81G/eu19ohx6XF/TNd3 d56iVmegHRC27u9j+pywkEqFxcOUk4dkphB/V9+TgxJzLYKYrG8NOg4KSoO4Xmqr0h09 bjUPRt0xCwSHPwAz3Y8/uuRYXjV42yBUW5q8QQN81EvFCIiueE4qaUEPl3DwcVOoF5xq e8gq1fREJifvW81eIvcF9D67zGK+8jqDudPK2SCBAPkcj0NYw9H2cxd0DWKpKDWi6NF2 ex8fOFSf8uSKg91X53P3/jhVGRDW2UtGfcRoG8QoBe75Kkp+SvJu9a6TiwMdsf5o+Cs1 8zNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=knvPsBSBTxuJZVmkwDJsoFkXpf6DXEVivgTc3dxzY4E=; b=HeV3Fn3GYKEsf/goM+ev/d2esyqP4pWIEJ6dYnTXZYAJGupoqPS5b2oVLwwwYjw1Gu pDLdKCeIeHie/OA4GplIflzO6FpgYp7tKv9qAaQWhWRHIMyi5ZHKruShTGIPtROnP6xr q7/urcvsp72nBTG5iwJ3X584rUi7dyqUBQEZAFXAfHIXEdqX65qeM7l9wuJgVUTp6wRZ a/jEfKQvXKPENDpAnyb1zgQJseFOcHtYqfP4gOsWDZlGbNFetaucUZdHW9o/j486wm9I 64SksyeOAaQzyHS2bFjWpK+zOwjJjeVDqlrs3okJOQYcDG7+YWXdHvZ0Hr5lDm5J7ZxF U43w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020a656a48000000b004f22f5297b4si9850044pgu.742.2023.02.12.07.42.12; Sun, 12 Feb 2023 07:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbjBLPls (ORCPT + 99 others); Sun, 12 Feb 2023 10:41:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjBLPld (ORCPT ); Sun, 12 Feb 2023 10:41:33 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88BEECA3D; Sun, 12 Feb 2023 07:41:32 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 3CFC226F77B; Sun, 12 Feb 2023 16:41:31 +0100 (CET) From: Janne Grunau To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis , Will Deacon , Mark Rutland Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/17] dt-bindings: arm-pmu: Add PMU compatible strings for Apple M2 cores Date: Sun, 12 Feb 2023 16:41:16 +0100 Message-Id: <20230202-asahi-t8112-dt-v1-6-cb5442d1c229@jannau.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230202-asahi-t8112-dt-v1-0-cb5442d1c229@jannau.net> References: <20230202-asahi-t8112-dt-v1-0-cb5442d1c229@jannau.net> MIME-Version: 1.0 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1092; i=j@jannau.net; h=from:subject:message-id; bh=70aLQCthrgk4W+FY4KI9HKrMII5ATNhhq2xdSLcypVA=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuSX7CcCeL9Zvn94+H61XxdDZp1V5f0nxf4MJZPMP7+rf JUwMTC5o5SFQYyDQVZMkSVJ+2UHw+oaxZjaB2Ewc1iZQIYwcHEKwESuWDAybNIIEExaFTNhyeNf F867/Ta6Y1zWtp4pbtfLNC4dC0cRRoZ/Kinfbq45skn61eU1jdI3LY4fOFCWpvCoWWW1Ypd/yt1 qNgA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757640439529386325?= X-GMAIL-MSGID: =?utf-8?q?1757640439529386325?= The PMUs on the avalanche and blizzard CPU two micro-architectures are mostly compatible with M1 ones. They miss support for a single counter according to Apple's PMU counter list. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- This trivial dt-bindings update should be merged through the asahi-soc tree to ensure validation of the Apple M2 (t8112) devicetrees in this series. The necessary driver update will be sent separately. --- Documentation/devicetree/bindings/arm/pmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml index dbb6f3dc5ae5..e14358bf0b9c 100644 --- a/Documentation/devicetree/bindings/arm/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/pmu.yaml @@ -20,6 +20,8 @@ properties: items: - enum: - apm,potenza-pmu + - apple,avalanche-pmu + - apple,blizzard-pmu - apple,firestorm-pmu - apple,icestorm-pmu - arm,armv8-pmuv3 # Only for s/w models