Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14895896rwb; Mon, 28 Nov 2022 06:07:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf6uApRCUAwbffbqet1Ls1uxodPv7WZJXpW0+IYcjdfakD0yGIyUe9ceyZESJn3NmilPksxS X-Received: by 2002:ac2:4558:0:b0:494:6bb2:485f with SMTP id j24-20020ac24558000000b004946bb2485fmr12332093lfm.451.1669644428031; Mon, 28 Nov 2022 06:07:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669644428; cv=none; d=google.com; s=arc-20160816; b=PeMgqrCPs1/938DsgNjXfogtrj1p82j2zEoEPFs9/0rCnozDzciRCtodk+/a9U7Wxy 3Qx3b8ZgGnU44Q5gTmVgp63ENkSCyTUzPn69YXtWrvH8gDpRt/kV2Y6DBvyBufabo7Q8 +4JAMYjYRLU0cgb8ZmcYDABny6Lh0ZeMZWbEcOT0NuCG8aOCDwRm+pgQzA6bg11nkMy2 uUTm2S2xJ8zkCZReQy05f4JA9oTuhFJg71gHnBJZ7WUUGfrVXYVUkUIuheetGnGxMUmB HR9ypXKHQrg8hTifzGBtPFyWQQn+7hZCOeRIf7lS9P17osmZP+nt7RcnhP+pHdjwXPR2 TBpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WrTKzX5mkJ1/cnUxa5KSll0v8PL/eQF1nOOjRXGuBSM=; b=G+tIRwnFSwpm7u+aJJcAqw1b+9oExvqSVo3xL4RNPcEeJvAFkw/uWSkEynUbOTi/Dy t5KS31xmKpGpLlaZfMjiIkJEWmYbEzdLRDIQ90+4eaeIGwqs0nCRp+4GLjT6P/mT7aGU BgpC+TBHqHEjsUOUc1wbX0OuPAQ6iKrUpsSV0V4IisTCAx8S5DEsMMll7DchSdUu1bYz lr4CEvKJXNDj9BNaXDa/UQqxiLFpadrI3VgZlTF9ml+/lYRlaEVHYqsC6MezpeikS18T RT24hFLOaWQ6/US1x6fDWvGekmC5tHBts5CPEGPN1PKH4d4HWPl+2KST5IKY+7KR7C7a IkbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=I4j7QaFy; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a50eb02000000b00461cdda451dsi9832890edp.435.2022.11.28.06.06.37; Mon, 28 Nov 2022 06:07:07 -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; dkim=pass header.i=@marcan.st header.s=default header.b=I4j7QaFy; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231898AbiK1NSA (ORCPT + 84 others); Mon, 28 Nov 2022 08:18:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231722AbiK1NRj (ORCPT ); Mon, 28 Nov 2022 08:17:39 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61BE220346; Mon, 28 Nov 2022 05:15:20 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id A944D3FB17; Mon, 28 Nov 2022 13:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1669641291; bh=FIkQB5lmPZ4s9NS7JtxyZUKE03ixueajpd0v6qEFWhY=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=I4j7QaFyIkkiCf6wp4xp7IiFLrNgBX4uvHR4J9RZSgrRabszG/xGCknbFN3Lsv5Vt eB38csaqIghQPRuYpLkZBflq9ZVQT2tNkF7uLYihmOQFdHWF4bw63mdMOJdDo6zasE dWuaDG7P+Im0nFkATFeSsX4LNJD6dj0/vajMo64hv3GfX8ObB7fK8d17l5cpTJIjPg xqorCK/GyExauyLoVS0aww8QuYdWwrUoNMcCi780QD4BbKvBPDFy7ihYcEC8jjtG4t YW0S//3Ymvu8jP6Sf6HXGI8CFPM//rQW0LNGaHHZ53BfCWPIBHIXaNqWzVGoaWmSbj qD5lfyPZGXvgw== Message-ID: <0b250757-b7b4-2df9-5d16-1b540fa85b0d@marcan.st> Date: Mon, 28 Nov 2022 22:14:43 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v4 2/4] dt-bindings: cpufreq: apple,soc-cpufreq: Add binding for Apple SoC cpufreq Content-Language: en-US To: Krzysztof Kozlowski , "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger Cc: Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Ulf Hansson , Marc Zyngier , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221128124216.13477-1-marcan@marcan.st> <20221128124216.13477-3-marcan@marcan.st> <0b608b1e-e7a0-0084-e691-6e957028dd90@linaro.org> From: Hector Martin In-Reply-To: <0b608b1e-e7a0-0084-e691-6e957028dd90@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 On 28/11/2022 21.56, Krzysztof Kozlowski wrote: > On 28/11/2022 13:42, Hector Martin wrote: >> This binding represents the cpufreq/DVFS hardware present in Apple SoCs. >> The hardware has an independent controller per CPU cluster, and we >> represent them as unique nodes in order to accurately describe the >> hardware. The driver is responsible for binding them as a single cpufreq >> device (in the Linux cpufreq model). >> >> Acked-by: Marc Zyngier >> Signed-off-by: Hector Martin >> --- >> .../cpufreq/apple,cluster-cpufreq.yaml | 117 ++++++++++++++++++ >> 1 file changed, 117 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml >> >> diff --git a/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml b/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml >> new file mode 100644 >> index 000000000000..a21271f73fc1 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml >> @@ -0,0 +1,117 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/cpufreq/apple,cluster-cpufreq.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Apple SoC cluster 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: >> + oneOf: >> + - items: >> + - oneOf: > > This is enum. Sigh. Every single time I think the changes are too simple and I definitely don't need to run the DT checker this time. I'll send a v5 shortly because this is just me being an idiot. > Any other changes? Your cover letter say quite unspecific "minor review > feedback"... For the DT, the things you asked for ;) (this, dropping the reg description, and the performance-controller thing). - Hector