From: Nick Chan <towinchenmi@gmail.com>
To: Conor Dooley <conor@kernel.org>
Cc: Hector Martin <marcan@marcan.st>, Sven Peter <sven@svenpeter.dev>,
Alyssa Rosenzweig <alyssa@rosenzweig.io>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Linus Walleij <linus.walleij@linaro.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Mark Kettenis <kettenis@openbsd.org>,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-watchdog@vger.kernel.org,
Konrad Dybcio <konradybcio@kernel.org>,
Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Subject: Re: [PATCH 01/22] dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores
Date: Thu, 12 Sep 2024 02:40:09 +0800 [thread overview]
Message-ID: <a3849bc0-000a-4290-b2c3-71a50a750495@gmail.com> (raw)
In-Reply-To: <20240911-unsuited-pranker-60a7d0b6caf9@spud>
On 12/9/2024 02:16, Conor Dooley wrote:
> On Wed, Sep 11, 2024 at 04:40:51PM +0800, Nick Chan wrote:
>> Add the following CPU cores:
>>
>> - apple,cyclone: A7 cores
>> - apple,typhoon: A8 cores
>> - apple,twister: A9 cores
>> - apple,hurricane-zephyr: A10 logical cores
>> - apple,monsoon: A11 performance cores
>> - apple,mistral: A11 efficiency cores
>>
>> In the Apple A10, there are physical performance-efficiency cores that
>> forms logical cores to software depending on the current p-state, and
>> only one type of core may be active at one time.
>>
>> Signed-off-by: Nick Chan <towinchenmi@gmail.com>
>> ---
>> Documentation/devicetree/bindings/arm/cpus.yaml | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
>> index f308ff6c3532..3959e022079f 100644
>> --- a/Documentation/devicetree/bindings/arm/cpus.yaml
>> +++ b/Documentation/devicetree/bindings/arm/cpus.yaml
>> @@ -89,6 +89,12 @@ properties:
>> - apple,blizzard
>> - apple,icestorm
>> - apple,firestorm
>> + - apple,mistral
>> + - apple,monsoon
>> + - apple,hurricane-zephyr
>> + - apple,twister
>> + - apple,typhoon
>> + - apple,cyclone
>
> Same on this one, can you add these in alphanumerical order, even if the
> existing 3 devices are not in it? You could take the opportunity to
> reshuffle icestorm and firestorm while you're at it.
(Same goes for the watchdog, pinctrl and cluster-cpufreq bindings)
I am not actually sure what is the right thing to do here. It seems that
these bindings are
originally sorted using SoC types (desktop or mobile) and generations.
But then again I have
looked at some other in-tree bindings from asahi, and it seems to be a
mix of alphabetical
and logical sorting in the way mentioned above.
Maybe we can get some clarification from an Asahi Maintainer?
For the soc-level machine compatibles though, I believe that should be
retaining the logical
order instead of trying to use alphabetical order.
>
> Cheers,
> Conor.
>
>> - arm,arm710t
>> - arm,arm720t
>> - arm,arm740t
>> --
>> 2.46.0
>>
Nick Chan
next prev parent reply other threads:[~2024-09-11 18:41 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 8:40 [PATCH 00/22] Initial device trees for A7-A11 based Apple devices Nick Chan
2024-09-11 8:40 ` [PATCH 01/22] dt-bindings: arm: cpus: Add Apple A7-A11 CPU cores Nick Chan
2024-09-11 18:16 ` Conor Dooley
2024-09-11 18:40 ` Nick Chan [this message]
2024-09-11 8:40 ` [PATCH 02/22] dt-bindings: watchdog: apple,wdt: Add A7-A11 compatibles Nick Chan
2024-09-11 17:52 ` Conor Dooley
2024-09-11 8:40 ` [PATCH 03/22] dt-bindings: cpufreq: apple,cluster-cpufreq: Add A10 compatible Nick Chan
2024-09-11 18:10 ` Conor Dooley
2024-09-11 8:40 ` [PATCH 04/22] dt-bindings: pinctrl: apple,pinctrl: Add A7-A11 compatibles Nick Chan
2024-09-11 18:10 ` Conor Dooley
2024-09-11 8:40 ` [PATCH 05/22] dt-bindings: arm: apple: Add A7 devices Nick Chan
2024-09-11 18:13 ` Conor Dooley
2024-09-11 18:24 ` Nick Chan
2024-09-11 18:27 ` Conor Dooley
2024-09-11 8:40 ` [PATCH 06/22] dt-bindings: arm: apple: Add A8 devices Nick Chan
2024-09-11 8:40 ` [PATCH 07/22] dt-bindings: arm: apple: Add A8X devices Nick Chan
2024-09-11 8:40 ` [PATCH 08/22] dt-bindings: arm: apple: Add A9 devices Nick Chan
2024-09-11 8:40 ` [PATCH 09/22] dt-bindings: arm: apple: Add A9X devices Nick Chan
2024-09-11 8:41 ` [PATCH 10/22] dt-bindings: arm: apple: Add A10 devices Nick Chan
2024-09-11 8:41 ` [PATCH 11/22] dt-bindings: arm: apple: Add A10X devices Nick Chan
2024-09-11 8:41 ` [PATCH 12/22] dt-bindings: arm: apple: Add A11 devices Nick Chan
2024-09-11 8:41 ` [PATCH 13/22] arm64: dts: apple: Add A7 devices Nick Chan
2024-09-11 8:41 ` [PATCH 14/22] arm64: dts: apple: Add A8 devices Nick Chan
2024-09-11 8:41 ` [PATCH 15/22] arm64: dts: apple: Add A8X devices Nick Chan
2024-09-11 8:41 ` [PATCH 16/22] arm64: dts: apple: Add A9 devices Nick Chan
2024-09-11 8:41 ` [PATCH 17/22] arm64: dts: apple: Add A9X devices Nick Chan
2024-09-11 8:41 ` [PATCH 18/22] arm64: dts: apple: Add A10 devices Nick Chan
2024-09-11 8:41 ` [PATCH 19/22] arm64: dts: apple: Add A10X devices Nick Chan
2024-09-11 8:41 ` [PATCH 20/22] arm64: dts: apple: Add A11 devices Nick Chan
2024-09-11 8:41 ` [PATCH 21/22] arm64: dts: apple: t8010: Add cpufreq nodes Nick Chan
2024-09-11 8:41 ` [PATCH 22/22] arm64: Kconfig: Update help text for CONFIG_ARCH_APPLE Nick Chan
2024-09-11 12:13 ` [PATCH 00/22] Initial device trees for A7-A11 based Apple devices Nick Chan
2024-09-11 14:10 ` Nick Chan
2024-09-11 13:50 ` Rob Herring (Arm)
2024-09-11 13:57 ` Nick Chan
2024-09-11 14:05 ` Nick Chan
2024-09-11 14:21 ` Nick Chan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a3849bc0-000a-4290-b2c3-71a50a750495@gmail.com \
--to=towinchenmi@gmail.com \
--cc=alyssa@rosenzweig.io \
--cc=asahi@lists.linux.dev \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ivo.ivanov.ivanov1@gmail.com \
--cc=kettenis@openbsd.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lpieralisi@kernel.org \
--cc=marcan@marcan.st \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=sven@svenpeter.dev \
--cc=viresh.kumar@linaro.org \
--cc=will@kernel.org \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox