From: Janne Grunau <j@jannau.net>
To: Sven Peter <sven@svenpeter.dev>
Cc: Hector Martin <marcan@marcan.st>,
Alyssa Rosenzweig <alyssa@rosenzweig.io>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.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
Subject: Re: [PATCH v2 16/16] arm64: dts: apple: t8112: Initial t8112 (M2) device trees
Date: Sun, 19 Feb 2023 14:22:08 +0100 [thread overview]
Message-ID: <20230219132208.GA32724@jannau.net> (raw)
In-Reply-To: <8303bbae-2f98-49fb-8fd6-550ecb272bae@app.fastmail.com>
On 2023-02-19 13:36:22 +0100, Sven Peter wrote:
> Hi,
>
>
> On Tue, Feb 14, 2023, at 12:03, Janne Grunau wrote:
> > From: Hector Martin <marcan@marcan.st>
> >
> > This adds device trees for the following devices:
> > - Macbook Air (M2, 2022)
> > - Macbook Pro 13" (M2, 2022)
> > - Mac mini (M2, 2023)
> >
> > Signed-off-by: Hector Martin <marcan@marcan.st>
> > Co-developed-by: Janne Grunau <j@jannau.net>
> > Signed-off-by: Janne Grunau <j@jannau.net>
> > ---
> > arch/arm64/boot/dts/apple/Makefile | 3 +
> > arch/arm64/boot/dts/apple/t8112-j413.dts | 63 ++
> > arch/arm64/boot/dts/apple/t8112-j473.dts | 54 ++
> > arch/arm64/boot/dts/apple/t8112-j493.dts | 52 ++
> > arch/arm64/boot/dts/apple/t8112-jxxx.dtsi | 81 ++
> > arch/arm64/boot/dts/apple/t8112-pmgr.dtsi | 1141 +++++++++++++++++++++++++++++
> > arch/arm64/boot/dts/apple/t8112.dtsi | 912 +++++++++++++++++++++++
> > 7 files changed, 2306 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/apple/Makefile
> > b/arch/arm64/boot/dts/apple/Makefile
> > index 5a7506ff5ea3..aec5e29cdfb7 100644
> > --- a/arch/arm64/boot/dts/apple/Makefile
> > +++ b/arch/arm64/boot/dts/apple/Makefile
> > @@ -10,3 +10,6 @@ dtb-$(CONFIG_ARCH_APPLE) += t6000-j316s.dtb
> > dtb-$(CONFIG_ARCH_APPLE) += t6001-j316c.dtb
> > dtb-$(CONFIG_ARCH_APPLE) += t6001-j375c.dtb
> > dtb-$(CONFIG_ARCH_APPLE) += t6002-j375d.dtb
> > +dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb
> > +dtb-$(CONFIG_ARCH_APPLE) += t8112-j473.dtb
> > +dtb-$(CONFIG_ARCH_APPLE) += t8112-j493.dtb
> > diff --git a/arch/arm64/boot/dts/apple/t8112-j413.dts
> > b/arch/arm64/boot/dts/apple/t8112-j413.dts
> > new file mode 100644
> > index 000000000000..9e758edeaa82
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/apple/t8112-j413.dts
> > @@ -0,0 +1,63 @@
> > +// SPDX-License-Identifier: GPL-2.0+ OR MIT
> > +/*
> > + * Apple MacBook Air (M2, 2022)
> > + *
> > + * target-type: J413
> > + *
> > + * Copyright The Asahi Linux Contributors
> > + */
> > +
> > +/dts-v1/;
> > +
> > +#include "t8112.dtsi"
> > +#include "t8112-jxxx.dtsi"
> > +
> > +/ {
> > + compatible = "apple,j413", "apple,t8112", "apple,arm-platform";
> > + model = "Apple MacBook Air (13-inch, M2, 2022)";
> > +
> > + aliases {
> > + bluetooth0 = &bluetooth0;
> > + wifi0 = &wifi0;
> > + };
> > +};
> > +
> > +/*
> > + * Force the bus number assignments so that we can declare some of the
> > + * on-board devices and properties that are populated by the bootloader
> > + * (such as MAC addresses).
> > + */
> > +&port00 {
> > + bus-range = <1 1>;
> > + wifi0: wifi@0,0 {
> > + compatible = "pci14e4,4433";
>
> I'm not sure how these pci compatibles are usually handled. Do they have to
> be added to the dt-bindings Documentation as well or is it fine to just have them
> here since they're not really used to match anything?
I suppose they have to be added (at least for dtb validation) but
"pci14e4,4433" is already in net/wireless/brcm,bcm4329-fmac.yaml. Added
via e2e37224e8b3 ("dt-bindings: net: bcm4329-fmac: Add Apple properties
& chips").
Janne
next prev parent reply other threads:[~2023-02-19 13:22 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-14 11:03 [PATCH v2 00/16] Device trees for Apple M2 (t8112) based devices Janne Grunau
2023-02-14 11:03 ` [PATCH v2 01/16] dt-bindings: power: apple,pmgr-pwrstate: Add t8112 compatible Janne Grunau
2023-02-14 11:05 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 02/16] dt-bindings: arm: apple: apple,pmgr: Add t8112-pmgr compatible Janne Grunau
2023-02-14 11:03 ` [PATCH v2 03/16] dt-bindings: watchdog: apple,wdt: Add t8112-wdt compatible Janne Grunau
2023-02-14 11:05 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 04/16] dt-bindings: arm: cpus: Add apple,avalanche & blizzard compatibles Janne Grunau
2023-02-14 11:03 ` [PATCH v2 05/16] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8112-aic compatible Janne Grunau
2023-02-14 11:06 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 06/16] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string Janne Grunau
2023-02-14 11:06 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 07/16] dt-bindings: mailbox: apple,mailbox: Add t8112 compatibles Janne Grunau
2023-02-14 11:06 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 08/16] dt-bindings: nvme: apple: Add apple,t8112-nvme-ans2 compatible string Janne Grunau
2023-02-14 11:06 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 09/16] dt-bindings: pci: apple,pcie: Add t8112 support Janne Grunau
2023-02-14 11:07 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 10/16] dt-bindings: pinctrl: apple,pinctrl: Add apple,t8112-pinctrl compatible Janne Grunau
2023-02-14 11:07 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 11/16] dt-bindings: i2c: apple,i2c: Add apple,t8112-i2c compatible Janne Grunau
2023-02-14 11:07 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 12/16] dt-bindings: clock: apple,nco: Add t8112-nco compatible Janne Grunau
2023-02-14 11:07 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 13/16] dt-bindings: sound: apple,mca: Add t8112-mca compatible Janne Grunau
2023-02-14 11:03 ` [PATCH v2 14/16] dt-bindings: dma: apple,admac: Add t8112-admac compatible Janne Grunau
2023-02-14 11:08 ` Krzysztof Kozlowski
2023-02-14 11:03 ` [PATCH v2 15/16] dt-bindings: arm: apple: Add t8112 j413/j473/j493 compatibles Janne Grunau
2023-02-14 11:03 ` [PATCH v2 16/16] arm64: dts: apple: t8112: Initial t8112 (M2) device trees Janne Grunau
2023-02-19 12:36 ` Sven Peter
2023-02-19 13:22 ` Janne Grunau [this message]
2023-02-19 13:23 ` Sven Peter
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=20230219132208.GA32724@jannau.net \
--to=j@jannau.net \
--cc=alyssa@rosenzweig.io \
--cc=asahi@lists.linux.dev \
--cc=devicetree@vger.kernel.org \
--cc=kettenis@openbsd.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcan@marcan.st \
--cc=robh+dt@kernel.org \
--cc=sven@svenpeter.dev \
/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