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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39A26C433F5 for ; Thu, 5 May 2022 08:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bLT4afnUW2J8XTWGTid7LBiCFlAI9A6DGre0P84Fm7I=; b=gnG3xbcwEukSvv 8spKOphd6sZ+RN+Bz5esGyNwJaeDYHhD0S/oMKBjIpW7TU/GhacI9T1wI65XCi0QFCH48eVYw7CWY IOqzpvhs47t1P+FUJrdrQk9rsK8Wqblx5g26oUqPYuqwmW3h884vK62jY1itbdd2nkG9H4s4efe2A TtmgahZhIulV0CiExmtVdLdDTPkaozMy82eKUK9ieZ2yw2bLFSGJYcpKpUxfPovc9jDsP5xa/cRvH 7kb7F+fMMnKMl0y1fuOSG8wLqb4GLsUF3//uoyI3vL6FRhDxXHKi094DFOXJKajMdG9BWF5B77B1y /WUT1UrzzgWNSMrywA2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmX53-00EnKn-8T; Thu, 05 May 2022 08:43:25 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmX4z-00EnIR-Gw for linux-arm-kernel@lists.infradead.org; Thu, 05 May 2022 08:43:23 +0000 Received: by mail-wr1-x429.google.com with SMTP id k2so5119752wrd.5 for ; Thu, 05 May 2022 01:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=BwjG084Xyrd7fADRYx0ezYbwXyTCoFvt7uuDOTPBHVM=; b=eSG+xQ6Za+GMDm3ceu6hy+snhovBeUc+FuGNwmDZKa4ozBG+V0K4Qh34hvSYU+2tCC eyMSm8bYsZCOeUSqKtMweysaGEysyBIy4+DqaTU4ZKgQBfgBbbnR3vLLHbocQvbY0jau tNiBBmqbBZ1VugNSpTmpzsbUcS3jVsTN8GNia7a8pmkD3hIdLBdKwxGsC3i5mmwOmaJF a/+mse7tB6ON0BzLJU6YZ4uWadZuUqe5hZm5mW3FAIBDYxmN5/uCUdc0q0k2MhVkDMVW jAP6zYj6Llx3l9/R4fhMYFf5pyICaoe4yY3w/nxbcYKGjzl24nZ1Fm2LH3Xhtel1939v HZWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=BwjG084Xyrd7fADRYx0ezYbwXyTCoFvt7uuDOTPBHVM=; b=BdZVetmEdyU4XjIgM8/5GpjiYuSY099LMW3fzpNNI/tBbjfbVcjfD1sC2iBrP8CFEP rMVTmPmYoi+70aPbJzyg/mzuqX/deSDm6JnUKMrcs7lxGdcALWgX3BECgPYgG0+SuwF2 v0X6Htiv4lbbmQ5p3Kjx3CGKGLKAjyc4g77F76izdou/ljYvsw7s5PaYUFP9ieqnQdNb kxgFJRJ6o3D74ckxcMuRyzrwiF2sdzsjmXg6EOAmAHM5FHeytYvhjpLcRWKGk/dFcCV1 xA6Gku8g/WC9PCL2lDvXbpprzSC0liC4KKJFv1VY1ItJl3DTfe6skxYGjhDYtck/g0Jy yhow== X-Gm-Message-State: AOAM531ntwrQVGsXUXeesYDWwUxWmJV6KqBNu9Gr0IaTHqV41Hr03YNx 21r0FIWHqbU3y4u3kPVxgSphIg== X-Google-Smtp-Source: ABdhPJwmQhK1ZcYAGmIxjq4j+RBTxbsirN7o4QKAN7u+NAm4A6FE89uknsM/XPvO/DH89ZUQA1Maxg== X-Received: by 2002:a05:6000:168e:b0:20c:547d:11a1 with SMTP id y14-20020a056000168e00b0020c547d11a1mr18987733wrd.37.1651740199003; Thu, 05 May 2022 01:43:19 -0700 (PDT) Received: from [192.168.0.217] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id z8-20020a1cf408000000b003942a244ecdsm948690wma.18.2022.05.05.01.43.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 May 2022 01:43:18 -0700 (PDT) Message-ID: Date: Thu, 5 May 2022 10:43:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 2/4] dt-bindings: cpufreq: apple,soc-cpufreq: Add binding for Apple SoC cpufreq Content-Language: en-US To: Hector Martin , "Rafael J. Wysocki" , Viresh Kumar Cc: Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Ulf Hansson , Marc Zyngier , Mark Kettenis , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220504075153.185208-1-marcan@marcan.st> <20220504075153.185208-3-marcan@marcan.st> From: Krzysztof Kozlowski In-Reply-To: <20220504075153.185208-3-marcan@marcan.st> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220505_014321_593793_34352069 X-CRM114-Status: GOOD ( 20.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 04/05/2022 09:51, Hector Martin wrote: > This binding represents the cpufreq/DVFS hardware present in Apple SoCs. > The hardware has an independent controller per CPU cluster, but we > represent them as a single cpufreq node since there can only be one > systemwide cpufreq device (and since in the future, interactions with > memory controller performance states will also involve cooperation > between multiple frequency domains). > > Signed-off-by: Hector Martin > --- > .../bindings/cpufreq/apple,soc-cpufreq.yaml | 121 ++++++++++++++++++ > 1 file changed, 121 insertions(+) > create mode 100644 Documentation/devicetree/bindings/cpufreq/apple,soc-cpufreq.yaml > > diff --git a/Documentation/devicetree/bindings/cpufreq/apple,soc-cpufreq.yaml b/Documentation/devicetree/bindings/cpufreq/apple,soc-cpufreq.yaml > new file mode 100644 > index 000000000000..f398c1bd5de5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/cpufreq/apple,soc-cpufreq.yaml > @@ -0,0 +1,121 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/cpufreq/apple,soc-cpufreq.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Apple SoC cpufreq device > + > +maintainers: > + - Hector Martin > + > +description: | > + Apple SoCs (e.g. M1) have a per-cpu-cluster DVFS controller that is part of > + the cluster management register block. This binding uses the standard > + operating-points-v2 table to define the CPU performance states, with the > + opp-level property specifying the hardware p-state index for that level. > + > +properties: > + compatible: > + items: > + - enum: > + - apple,t8103-soc-cpufreq > + - apple,t6000-soc-cpufreq > + - const: apple,soc-cpufreq > + > + reg: > + minItems: 1 > + maxItems: 6 Is the number of clusters fixed for t8103 and t6000? Are these compatibles strictly related to some specific M1 SoC? If yes, then you should have constraints in allOf:if:then. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel