[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250904122423.GB89417@robin.jannau.net>
Date: Thu, 4 Sep 2025 14:24:23 +0200
From: Janne Grunau <j@...nau.net>
To: Rob Herring <robh@...nel.org>
Cc: Sven Peter <sven@...nel.org>, Alyssa Rosenzweig <alyssa@...enzweig.io>,
Neal Gompa <neal@...pa.dev>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Hector Martin <marcan@...can.st>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Viresh Kumar <viresh.kumar@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
Linus Walleij <linus.walleij@...aro.org>,
Mark Kettenis <kettenis@...nbsd.org>, Andi Shyti <andi.shyti@...nel.org>,
Jassi Brar <jassisinghbrar@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Sasha Finkelstein <fnkl.kernel@...il.com>,
Marcel Holtmann <marcel@...tmann.org>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
Johannes Berg <johannes@...solutions.net>,
van Spriel <arend@...adcom.com>, Lee Jones <lee@...nel.org>,
Uwe Kleine-König <ukleinek@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Michael Turquette <mturquette@...libre.com>,
Martin Povišer <povik+lin@...ebit.org>,
Vinod Koul <vkoul@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Marc Zyngier <maz@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>, Keith Busch <kbusch@...nel.org>,
Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, asahi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
iommu@...ts.linux.dev, linux-gpio@...r.kernel.org,
linux-i2c@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-bluetooth@...r.kernel.org, linux-wireless@...r.kernel.org,
linux-pwm@...r.kernel.org, linux-watchdog@...r.kernel.org,
linux-clk@...r.kernel.org, dmaengine@...r.kernel.org,
linux-sound@...r.kernel.org, linux-spi@...r.kernel.org,
linux-nvme@...ts.infradead.org
Subject: Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2
Pro/Max/Ultra devices
On Tue, Sep 02, 2025 at 02:54:34PM -0500, Rob Herring wrote:
> On Sat, Aug 30, 2025 at 09:16:20AM +0200, Janne Grunau wrote:
> > On Fri, Aug 29, 2025 at 02:51:19PM -0500, Rob Herring wrote:
> > > On Thu, Aug 28, 2025 at 04:01:19PM +0200, Janne Grunau wrote:
> > > > 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.
> > >
> > > An issue here is any OS without the compatibles added to the drivers
> > > won't work. Does that matter here? Soon as you need any new drivers or
> > > significant driver changes it won't. The compatible additions could be
> > > backported to stable. They aren't really any different than new PCI IDs
> > > which get backported.
> >
> > I don't think backporting the driver compatible additions to stable
> > linux is very useful. It is only relevant for t602x devices and the only
> > way to interact with them is the serial console. The T602x PCIe support
> > added in v6.16 requires dart changes (the posted 4th level io page table
> > support) to be useful. After that PCIe ethernet works so there is a
> > practical way to interact with t602x systems. So there are probably zero
> > user of upstream linux on those devices
> > I'm more concerned about other projects already supporting t602x
> > devices. At least u-boot and OpenBSD will be affected by this. As short
> > term solution m1n1 will add the generic compatibles [1] temporarily.
> > I think keeping this roughly for a year should allow to add the
> > compatibles and wait for "fixed" releases of those projects.
> > I'll send fixes for u-boot once the binding changes are reviewed.
>
> Honestly, at least in the cases where the generic compatible works for
> every chip so far, I'd just stick with it. The issue with generic
> compatibles is more that you don't really know if things are going to be
> the same or not. And most of the time, the h/w ends up changing.
>
> If you want to keep it like this since you've already done it, then for
> all the binding patches:
Let's keep with this series. I still have a branch with dt-binding
changes using the generic compatibles but let's keep this approach to
confusion and duplicate review work.
> Acked-by: Rob Herring (Arm) <robh@...nel.org>
Thanks
Janne
Powered by blists - more mailing lists