From: Janne Grunau <j@jannau.net>
To: Nick Chan <towinchenmi@gmail.com>
Cc: "Sven Peter" <sven@kernel.org>,
"Alyssa Rosenzweig" <alyssa@rosenzweig.io>,
"Neal Gompa" <neal@gompa.dev>, "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Hector Martin" <marcan@marcan.st>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Viresh Kumar" <viresh.kumar@linaro.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Mark Kettenis" <kettenis@openbsd.org>,
"Andi Shyti" <andi.shyti@kernel.org>,
"Jassi Brar" <jassisinghbrar@gmail.com>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Sasha Finkelstein" <fnkl.kernel@gmail.com>,
"Marcel Holtmann" <marcel@holtmann.org>,
"Luiz Augusto von Dentz" <luiz.dentz@gmail.com>,
"Johannes Berg" <johannes@sipsolutions.net>,
"van Spriel" <arend@broadcom.com>, "Lee Jones" <lee@kernel.org>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Stephen Boyd" <sboyd@kernel.org>,
"Wim Van Sebroeck" <wim@linux-watchdog.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"Michael Turquette" <mturquette@baylibre.com>,
"Martin Povišer" <povik+lin@cutebit.org>,
"Vinod Koul" <vkoul@kernel.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Marc Zyngier" <maz@kernel.org>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Keith Busch" <kbusch@kernel.org>, "Jens Axboe" <axboe@kernel.dk>,
"Christoph Hellwig" <hch@lst.de>,
"Sagi Grimberg" <sagi@grimberg.me>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, iommu@lists.linux.dev,
linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org,
dri-devel@lists.freedesktop.org, linux-bluetooth@vger.kernel.org,
linux-wireless@vger.kernel.org, linux-pwm@vger.kernel.org,
linux-watchdog@vger.kernel.org, linux-clk@vger.kernel.org,
dmaengine@vger.kernel.org, linux-sound@vger.kernel.org,
linux-spi@vger.kernel.org, linux-nvme@lists.infradead.org
Subject: Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
Date: Thu, 28 Aug 2025 18:50:12 +0200 [thread overview]
Message-ID: <20250828165012.GC204299@robin.jannau.net> (raw)
In-Reply-To: <932e0085-c901-40f8-b0d5-67f8f0b934e6@gmail.com>
On Fri, Aug 29, 2025 at 12:11:40AM +0800, Nick Chan wrote:
>
> Janne Grunau 於 2025/8/28 晚上10:01 寫道:
> > This series adds device trees for Apple's M2 Pro, Max and Ultra based
> > devices. The M2 Pro (t6020), M2 Max (t6021) and M2 Ultra (t6022) SoCs
> > follow design of the t600x family so copy the structure of SoC *.dtsi
> > files.
> [...]
> > After discussion with the devicetree maintainers we agreed to not extend
> > lists with the generic compatibles anymore [1]. Instead either the first
> > compatible SoC or t8103 is used as fallback compatible supported by the
> > drivers. t8103 is used as default since most drivers and bindings were
> > initially written for M1 based devices.
> >
> > The series adds those fallback compatibles to drivers where necessary,
> > annotates the SoC lists for generic compatibles as "do not extend" and
> > adds t6020 per-SoC compatibles.
>
> The series is inconsistent about the use of generic fallback compatibles.
>
> "apple,aic2", "apple,s5l-fpwm", "apple,asc-mailbox-v4" is still used.
Those are less generic than say "apple,spi". For "apple,aic2" especially
it's clear which SoCs use it and the set is closed (ignoring iphone SoCs
which very likely will never run linux). For the interrupt controller
the fallout of not using the "apple,aic2" is larger since even m1n1
expect that. irq driver is special in so far as it requires more than
adding a compatible.
I think "apple,s5l-fpwm" and "apple,asc-mailbox-v4" are specific enough
and describe simple hardware so the will not cause issues unlike the
complex firmware based "apple,nvme-ans2".
Janne
next prev parent reply other threads:[~2025-08-28 16:50 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
2025-08-28 14:01 ` [PATCH 01/37] dt-bindings: arm: apple: Add t6020x compatibles Janne Grunau
2025-09-02 7:59 ` Krzysztof Kozlowski
2025-08-28 14:01 ` [PATCH 02/37] dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible Janne Grunau
2025-09-02 8:00 ` Krzysztof Kozlowski
2025-08-28 14:01 ` [PATCH 03/37] pmdomain: apple: Add "apple,t8103-pmgr-pwrstate" Janne Grunau
2025-08-28 14:01 ` [PATCH 04/37] dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 05/37] dt-bindings: cpufreq: apple,cluster-cpufreq: " Janne Grunau
2025-08-28 14:01 ` [PATCH 06/37] dt-bindings: interrupt-controller: apple,aic2: Add apple,t6020-aic compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 07/37] dt-bindings: iommu: dart: Add apple,t6020-dart compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 08/37] pinctrl: apple: Add "apple,t8103-pinctrl" as compatible Janne Grunau
2025-08-28 20:59 ` Linus Walleij
2025-08-28 14:01 ` [PATCH 09/37] dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible Janne Grunau
2025-08-28 20:59 ` Linus Walleij
2025-08-28 14:01 ` [PATCH 10/37] dt-bindings: i2c: apple,i2c: Add apple,t6020-i2c compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 11/37] dt-bindings: mailbox: apple,mailbox: Add t6020 compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 12/37] dt-bindings: gpu: apple,agx: Add agx-{g14s,g14c,g14d} compatibles Janne Grunau
2025-08-28 14:01 ` [PATCH 13/37] dt-bindings: iommu: apple,sart: Add apple,t6020-sart compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 14/37] nvme-apple: Add "apple,t8103-nvme-ans2" as compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 15/37] dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 16/37] dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 17/37] dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible Janne Grunau
2025-09-03 13:33 ` (subset) " Lee Jones
2025-08-28 14:01 ` [PATCH 19/37] dt-bindings: mfd: apple,smc: Add t6020-smc compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 20/37] dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 21/37] spmi: apple: Add "apple,t8103-spmi" compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 22/37] dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 23/37] watchdog: apple: Add "apple,t8103-wdt" compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 24/37] dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 25/37] clk: clk-apple-nco: Add "apple,t8103-nco" compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 26/37] dt-bindings: clock: apple,nco: Add t6020-nco compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 27/37] dmaengine: apple-admac: Add "apple,t8103-admac" compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 28/37] dt-bindings: dma: apple,admac: Add t6020-admac compatible Janne Grunau
2025-08-28 14:01 ` [PATCH 29/37] ASoC: apple: mca: Add "apple,t8103-mca" compatible Janne Grunau
2025-08-28 14:20 ` Mark Brown
2025-08-28 14:01 ` [PATCH 30/37] ASoC: dt-bindings: apple,mca: Add t6020-mca compatible Janne Grunau
2025-08-28 14:22 ` Mark Brown
2025-08-28 15:16 ` [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Neal Gompa
2025-08-28 16:11 ` Nick Chan
2025-08-28 16:50 ` Janne Grunau [this message]
2025-08-28 17:18 ` Nick Chan
2025-08-29 19:51 ` Rob Herring
2025-08-30 7:16 ` Janne Grunau
2025-09-02 19:54 ` Rob Herring
2025-09-04 12:24 ` Janne Grunau
2025-09-02 8:15 ` Krzysztof Kozlowski
2025-09-04 10:41 ` Ulf Hansson
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=20250828165012.GC204299@robin.jannau.net \
--to=j@jannau.net \
--cc=airlied@gmail.com \
--cc=alyssa@rosenzweig.io \
--cc=andi.shyti@kernel.org \
--cc=arend@broadcom.com \
--cc=asahi@lists.linux.dev \
--cc=axboe@kernel.dk \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fnkl.kernel@gmail.com \
--cc=hch@lst.de \
--cc=iommu@lists.linux.dev \
--cc=jassisinghbrar@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=joro@8bytes.org \
--cc=kbusch@kernel.org \
--cc=kettenis@openbsd.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=luiz.dentz@gmail.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marcan@marcan.st \
--cc=marcel@holtmann.org \
--cc=maz@kernel.org \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=neal@gompa.dev \
--cc=perex@perex.cz \
--cc=povik+lin@cutebit.org \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sagi@grimberg.me \
--cc=sboyd@kernel.org \
--cc=simona@ffwll.ch \
--cc=sven@kernel.org \
--cc=tglx@linutronix.de \
--cc=tiwai@suse.com \
--cc=towinchenmi@gmail.com \
--cc=tzimmermann@suse.de \
--cc=ukleinek@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=vkoul@kernel.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;
as well as URLs for NNTP newsgroup(s).