linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
@ 2025-08-28 14:01 Janne Grunau
  2025-08-28 14:01 ` [PATCH 01/37] dt-bindings: arm: apple: Add t6020x compatibles Janne Grunau
                   ` (33 more replies)
  0 siblings, 34 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

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.

t6020 is a cut-down version of t6021, so the former just includes the
latter and disables the missing bits.

t6022 is two connected t6021 dies. The implementation seems to use
t6021 and disables blocks based on whether it is useful to carry
multiple instances. The disabled blocks are mostly on the second die.
MMIO addresses on the second die have a constant offset. The interrupt
controller is multi-die aware. This setup can be represented in the
device tree with two top level "soc" nodes. The MMIO offset is applied
via "ranges" and devices are included with preprocessor macros to make
the node labels unique and to specify the die number for the interrupt
definition.

The devices itself are very similar to their M1 Pro, M1 Max and M1 Ultra
counterparts. The existing device templates are SoC agnostic so the new
devices can reuse them and include their t602{0,1,2}.dtsi file. The
minor differences in pinctrl and gpio numbers can be easily adjusted.

With the t602x SoC family Apple introduced two new devices:

The M2 Pro Mac mini is similar to the larger M1 and M2 Max Mac Studio. The
missing SDHCI card reader and two front USB3.1 type-c ports and their
internal USB hub can be easily deleted.

The M2 Ultra Mac Pro (tower and rack-mount cases) differs from all other
devices but may share some bits with the M2 Ultra Mac Studio. The PCIe
implementation on the M2 Ultra in the Mac Pro differs slightly. Apple
calls the PCIe controller "apcie-ge" in their device tree. The
implementation seems to be mostly compatible with the base t6020 PCIe
controller. The main difference is that there is only a single port with
with 8 or 16 PCIe Gen4 lanes. These ports connect to a Microchip
Switchtec PCIe switch with 100 lanes to which all internal PCIe devices
and PCIe slots connect too.

This series does not include PCIe support for the Mac Pro for two
reasons:
- the linux switchtec driver fails to probe and the downstream PCIe
  connections come up as PCIe Gen1
- some of the internal devices require PERST# and power control to come
  up. Since the device are connected via the PCIe switch the PCIe
  controller can not do this. The PCI slot pwrctrl can be utilized for
  power control but misses integration with PERST# as proposed in [1].

This series depends on "[PATCH v2 0/5] Apple device tree sync from
downstream kernel" [2] due to the reuse of the t600x device templates
(patch dependencies and DT compilation) and 4 page table level support
in apple-dart and io-pgtable-dart [3] since the dart instances report
42-bit IAS (IOMMU device attach fails without the series).

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.

[1]: https://lore.kernel.org/linux-pci/20250819-pci-pwrctrl-perst-v1-0-4b74978d2007@oss.qualcomm.com/
[2]: https://lore.kernel.org/asahi/20250823-apple-dt-sync-6-17-v2-0-6dc0daeb4786@jannau.net/
[3]: https://lore.kernel.org/asahi/20250821-apple-dart-4levels-v2-0-e39af79daa37@jannau.net/
[4]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
Hector Martin (3):
      arm64: dts: apple: Add initial t6020/t6021/t6022 DTs
      arm64: dts: apple: Add J414 and J416 Macbook Pro device trees
      arm64: dts: apple: Add J180d (Mac Pro, M2 Ultra, 2023) device tree

Janne Grunau (34):
      dt-bindings: arm: apple: Add t6020x compatibles
      dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible
      pmdomain: apple: Add "apple,t8103-pmgr-pwrstate"
      dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible
      dt-bindings: cpufreq: apple,cluster-cpufreq: Add t6020 compatible
      dt-bindings: interrupt-controller: apple,aic2: Add apple,t6020-aic compatible
      dt-bindings: iommu: dart: Add apple,t6020-dart compatible
      pinctrl: apple: Add "apple,t8103-pinctrl" as compatible
      dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible
      dt-bindings: i2c: apple,i2c: Add apple,t6020-i2c compatible
      dt-bindings: mailbox: apple,mailbox: Add t6020 compatible
      dt-bindings: gpu: apple,agx: Add agx-{g14s,g14c,g14d} compatibles
      dt-bindings: iommu: apple,sart: Add apple,t6020-sart compatible
      nvme-apple: Add "apple,t8103-nvme-ans2" as compatible
      dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible
      dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible
      dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible
      mfd: macsmc: Add "apple,t8103-smc" compatible
      dt-bindings: mfd: apple,smc: Add t6020-smc compatible
      dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible
      spmi: apple: Add "apple,t8103-spmi" compatible
      dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible
      watchdog: apple: Add "apple,t8103-wdt" compatible
      dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible
      clk: clk-apple-nco: Add "apple,t8103-nco" compatible
      dt-bindings: clock: apple,nco: Add t6020-nco compatible
      dmaengine: apple-admac: Add "apple,t8103-admac" compatible
      dt-bindings: dma: apple,admac: Add t6020-admac compatible
      ASoC: apple: mca: Add "apple,t8103-mca" compatible
      ASoC: dt-bindings: apple,mca: Add t6020-mca compatible
      spi: apple: Add "apple,t8103-spi" compatible
      spi: dt-bindings: apple,spi: Add t6020-spi compatible
      arm64: dts: apple: Add ethernet0 alias for J375 template
      arm64: dts: apple: Add J474s, J475c and J475d device trees

 Documentation/devicetree/bindings/arm/apple.yaml   |   39 +-
 .../devicetree/bindings/arm/apple/apple,pmgr.yaml  |   33 +-
 .../devicetree/bindings/clock/apple,nco.yaml       |   17 +-
 .../bindings/cpufreq/apple,cluster-cpufreq.yaml    |    3 +
 .../devicetree/bindings/dma/apple,admac.yaml       |   17 +-
 .../devicetree/bindings/gpu/apple,agx.yaml         |    6 +
 .../devicetree/bindings/i2c/apple,i2c.yaml         |   27 +-
 .../bindings/interrupt-controller/apple,aic2.yaml  |    1 +
 .../devicetree/bindings/iommu/apple,dart.yaml      |   14 +-
 .../devicetree/bindings/iommu/apple,sart.yaml      |    4 +-
 .../devicetree/bindings/mailbox/apple,mailbox.yaml |    1 +
 .../devicetree/bindings/mfd/apple,smc.yaml         |   17 +-
 .../net/bluetooth/brcm,bcm4377-bluetooth.yaml      |    1 +
 .../bindings/net/wireless/brcm,bcm4329-fmac.yaml   |    1 +
 .../devicetree/bindings/nvme/apple,nvme-ans.yaml   |   29 +-
 .../devicetree/bindings/pinctrl/apple,pinctrl.yaml |   27 +-
 .../bindings/power/apple,pmgr-pwrstate.yaml        |   27 +-
 .../devicetree/bindings/pwm/apple,s5l-fpwm.yaml    |    3 +-
 .../devicetree/bindings/sound/apple,mca.yaml       |   17 +-
 .../devicetree/bindings/spi/apple,spi.yaml         |   16 +-
 .../devicetree/bindings/spmi/apple,spmi.yaml       |   17 +-
 .../devicetree/bindings/watchdog/apple,wdt.yaml    |   27 +-
 arch/arm64/boot/dts/apple/Makefile                 |    8 +
 arch/arm64/boot/dts/apple/t600x-j375.dtsi          |    1 +
 arch/arm64/boot/dts/apple/t6020-j414s.dts          |   26 +
 arch/arm64/boot/dts/apple/t6020-j416s.dts          |   26 +
 arch/arm64/boot/dts/apple/t6020-j474s.dts          |   47 +
 arch/arm64/boot/dts/apple/t6020.dtsi               |   22 +
 arch/arm64/boot/dts/apple/t6021-j414c.dts          |   26 +
 arch/arm64/boot/dts/apple/t6021-j416c.dts          |   26 +
 arch/arm64/boot/dts/apple/t6021-j475c.dts          |   37 +
 arch/arm64/boot/dts/apple/t6021.dtsi               |   69 +
 arch/arm64/boot/dts/apple/t6022-j180d.dts          |  121 ++
 arch/arm64/boot/dts/apple/t6022-j475d.dts          |   42 +
 arch/arm64/boot/dts/apple/t6022-jxxxd.dtsi         |   38 +
 arch/arm64/boot/dts/apple/t6022.dtsi               |  347 +++
 arch/arm64/boot/dts/apple/t602x-common.dtsi        |  465 ++++
 arch/arm64/boot/dts/apple/t602x-die0.dtsi          |  577 +++++
 arch/arm64/boot/dts/apple/t602x-dieX.dtsi          |  129 ++
 arch/arm64/boot/dts/apple/t602x-gpio-pins.dtsi     |   81 +
 arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi     |   45 +
 arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi     |   38 +
 arch/arm64/boot/dts/apple/t602x-nvme.dtsi          |   42 +
 arch/arm64/boot/dts/apple/t602x-pmgr.dtsi          | 2268 ++++++++++++++++++++
 drivers/clk/clk-apple-nco.c                        |    1 +
 drivers/dma/apple-admac.c                          |    1 +
 drivers/mfd/macsmc.c                               |    1 +
 drivers/nvme/host/apple.c                          |    1 +
 drivers/pinctrl/pinctrl-apple-gpio.c               |    1 +
 drivers/pmdomain/apple/pmgr-pwrstate.c             |    1 +
 drivers/spi/spi-apple.c                            |    1 +
 drivers/spmi/spmi-apple-controller.c               |    1 +
 drivers/watchdog/apple_wdt.c                       |    1 +
 sound/soc/apple/mca.c                              |    1 +
 54 files changed, 4722 insertions(+), 113 deletions(-)
---
base-commit: 50ee15a27ec4cc41e99ee5e9011de7875569cd52
change-id: 20250811-dt-apple-t6020-1359ce9bf2e7
prerequisite-change-id: 20250813-apple-dt-sync-6-17-d1fc1c89f7ca:v2
prerequisite-patch-id: 1405c7c78139704a4cbeb1adc67786b2c7971a3f
prerequisite-patch-id: 65865050e9e7427bac04f47d0b7927aacaac19bd
prerequisite-patch-id: 9240e5f435fb3406e77b4e4e9b02eb3d52e660e6
prerequisite-patch-id: c16715c9a9fcb396b7e4365fd767b05604b8de81
prerequisite-patch-id: a675ad20c2b427a021dafb5d6c8716497741604c

Best regards,
-- 
Janne Grunau <j@jannau.net>


^ permalink raw reply	[flat|nested] 46+ messages in thread

* [PATCH 01/37] dt-bindings: arm: apple: Add t6020x compatibles
  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 ` 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
                   ` (32 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

This adds the following apple,t6020/t6021/t6022 platforms:

- apple,j414s - MacBook Pro (14-inch, M2 Pro, 2023)
- apple,j414c - MacBook Pro (14-inch, M2 Nax, 2023)
- apple,j416s - MacBook Pro (16-inch, M2 Pro, 2023)
- apple,j416c - MacBook Pro (16-inch, M2 Max, 2023)
- apple,j474s - Mac mini (M2 Pro, 2023)
- apple,j475c - Mac Studio (M2 Max, 2023)
- apple,j475d - Mac Studio (M2 Ultra, 2023)
- apple,j475d - Mac Pro (M2 Ultra, 2023)

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/arm/apple.yaml | 39 +++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml
index 7073535b7c5b5ce885391699af56751241ddacb5..5c2629ec3d4cbcee49d3ff6a4db1cc8298e2a2e1 100644
--- a/Documentation/devicetree/bindings/arm/apple.yaml
+++ b/Documentation/devicetree/bindings/arm/apple.yaml
@@ -96,7 +96,7 @@ description: |
   - MacBook Pro (13-inch, M2, 2022)
   - Mac mini (M2, 2023)
 
-  And devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:
+  Devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:
 
   - MacBook Pro (14-inch, M1 Pro, 2021)
   - MacBook Pro (14-inch, M1 Max, 2021)
@@ -105,6 +105,17 @@ description: |
   - Mac Studio (M1 Max, 2022)
   - Mac Studio (M1 Ultra, 2022)
 
+  Devices based on the "M2 Pro", "M2 Max" and "M2 Ultra" SoCs:
+
+  - MacBook Pro (14-inch, M2 Pro, 2023)
+  - MacBook Pro (14-inch, M2 Max, 2023)
+  - MacBook Pro (16-inch, M2 Pro, 2023)
+  - MacBook Pro (16-inch, M2 Max, 2023)
+  - Mac mini (M2 Pro, 2023)
+  - Mac Studio (M2 Max, 2023)
+  - Mac Studio (M2 Ultra, 2023)
+  - Mac Pro (M2 Ultra, 2023)
+
   The compatible property should follow this format:
 
   compatible = "apple,<targettype>", "apple,<socid>", "apple,arm-platform";
@@ -310,6 +321,32 @@ properties:
           - const: apple,t6002
           - const: apple,arm-platform
 
+      - description: Apple M2 Pro SoC based platforms
+        items:
+          - enum:
+              - apple,j414s # MacBook Pro (14-inch, M2 Pro, 2023)
+              - apple,j416s # MacBook Pro (16-inch, M2 Pro, 2023)
+              - apple,j474s # Mac mini (M2 Pro, 2023)
+          - const: apple,t6020
+          - const: apple,arm-platform
+
+      - description: Apple M2 Max SoC based platforms
+        items:
+          - enum:
+              - apple,j414c # MacBook Pro (14-inch, M2 Max, 2023)
+              - apple,j416c # MacBook Pro (16-inch, M2 Max, 2023)
+              - apple,j475c # Mac Studio (M2 Max, 2023)
+          - const: apple,t6021
+          - const: apple,arm-platform
+
+      - description: Apple M2 Ultra SoC based platforms
+        items:
+          - enum:
+              - apple,j180d # Mac Pro (M2 Ultra, 2023)
+              - apple,j475d # Mac Studio (M2 Ultra, 2023)
+          - const: apple,t6022
+          - const: apple,arm-platform
+
 additionalProperties: true
 
 ...

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 02/37] dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible
  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-08-28 14:01 ` 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
                   ` (31 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,pmgr" anymore [1]. Use
"apple,t8103-pmgr" as base compatible as it is the SoC the bindings were
written for.

The block on Apple M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-pmgr" so use it as fallback compatible and add t6020 as
per-SoC compatible.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/arm/apple/apple,pmgr.yaml  | 33 +++++++++++++---------
 1 file changed, 20 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
index 5001f4d5a0dc1726ff520a6b57a8c4dc895e98d5..b88f41a225a385e68a71de93027b5b62c38d6b63 100644
--- a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
+++ b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml
@@ -20,19 +20,26 @@ properties:
     pattern: "^power-management@[0-9a-f]+$"
 
   compatible:
-    items:
-      - enum:
-          - apple,s5l8960x-pmgr
-          - apple,t7000-pmgr
-          - apple,s8000-pmgr
-          - apple,t8010-pmgr
-          - apple,t8015-pmgr
-          - apple,t8103-pmgr
-          - apple,t8112-pmgr
-          - apple,t6000-pmgr
-      - const: apple,pmgr
-      - const: syscon
-      - const: simple-mfd
+    oneOf:
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,s5l8960x-pmgr
+              - apple,t7000-pmgr
+              - apple,s8000-pmgr
+              - apple,t8010-pmgr
+              - apple,t8015-pmgr
+              - apple,t8103-pmgr
+              - apple,t8112-pmgr
+              - apple,t6000-pmgr
+          - const: apple,pmgr
+          - const: syscon
+          - const: simple-mfd
+      - items:
+          - const: apple,t6020-pmgr
+          - const: apple,t8103-pmgr
+          - const: syscon
+          - const: simple-mfd
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 03/37] pmdomain: apple: Add "apple,t8103-pmgr-pwrstate"
  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-08-28 14:01 ` [PATCH 02/37] dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 04/37] dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible Janne Grunau
                   ` (30 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,pmgr-pwrstate" anymore [1]. Use
"apple,t8103-pmgr-pwrstate" as base compatible as it is the SoC the
driver and bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/pmdomain/apple/pmgr-pwrstate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pmdomain/apple/pmgr-pwrstate.c b/drivers/pmdomain/apple/pmgr-pwrstate.c
index 9467235110f4654e00ab96c25e160e125ef0f3e5..82c33cf727a825d2536644d2fe09c0282acd1ef8 100644
--- a/drivers/pmdomain/apple/pmgr-pwrstate.c
+++ b/drivers/pmdomain/apple/pmgr-pwrstate.c
@@ -306,6 +306,7 @@ static int apple_pmgr_ps_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_pmgr_ps_of_match[] = {
+	{ .compatible = "apple,t8103-pmgr-pwrstate" },
 	{ .compatible = "apple,pmgr-pwrstate" },
 	{}
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 04/37] dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (2 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 03/37] pmdomain: apple: Add "apple,t8103-pmgr-pwrstate" Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 05/37] dt-bindings: cpufreq: apple,cluster-cpufreq: " Janne Grunau
                   ` (29 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,pmgr-pwrstate" anymore [1]. Use
"apple,t8103-pmgr-pwrstate" as base compatible as it is the SoC the
driver and bindings were written for.

The implementation on Apple M2 Pro/Max/Ultra SoCs is compatible so add
its per-SoC compatible with the new base.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../bindings/power/apple,pmgr-pwrstate.yaml        | 27 +++++++++++++---------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml b/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
index 6e9a670eaf56c8a03d28a83fb0b7f7f8d6aaf1f1..caf15188099921d2b92a20a616945627f34fb869 100644
--- a/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
+++ b/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
@@ -29,17 +29,22 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,s5l8960x-pmgr-pwrstate
-          - apple,t7000-pmgr-pwrstate
-          - apple,s8000-pmgr-pwrstate
-          - apple,t8010-pmgr-pwrstate
-          - apple,t8015-pmgr-pwrstate
-          - apple,t8103-pmgr-pwrstate
-          - apple,t8112-pmgr-pwrstate
-          - apple,t6000-pmgr-pwrstate
-      - const: apple,pmgr-pwrstate
+    oneOf:
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,s5l8960x-pmgr-pwrstate
+              - apple,t7000-pmgr-pwrstate
+              - apple,s8000-pmgr-pwrstate
+              - apple,t8010-pmgr-pwrstate
+              - apple,t8015-pmgr-pwrstate
+              - apple,t8103-pmgr-pwrstate
+              - apple,t8112-pmgr-pwrstate
+              - apple,t6000-pmgr-pwrstate
+          - const: apple,pmgr-pwrstate
+      - items:
+          - const: apple,t6020-pmgr-pwrstate
+          - const: apple,t8103-pmgr-pwrstate
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 05/37] dt-bindings: cpufreq: apple,cluster-cpufreq: Add t6020 compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (3 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 04/37] dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 06/37] dt-bindings: interrupt-controller: apple,aic2: Add apple,t6020-aic compatible Janne Grunau
                   ` (28 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

The CPU frequency control on M2 Pro/Max/Ultra SoCs is compatible to
the M2 (T8112) one. So add this with the per-SoC compatible to the
bindings.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml b/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml
index 896276b8c6bbed25ba4d5ddb8a40159713e2a372..b51913a817917537f50e79a573d291267509850f 100644
--- a/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/apple,cluster-cpufreq.yaml
@@ -35,6 +35,9 @@ properties:
           - const: apple,t7000-cluster-cpufreq
           - const: apple,s5l8960x-cluster-cpufreq
       - const: apple,s5l8960x-cluster-cpufreq
+      - items:
+          - const: apple,t6020-cluster-cpufreq
+          - const: apple,t8112-cluster-cpufreq
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 06/37] dt-bindings: interrupt-controller: apple,aic2: Add apple,t6020-aic compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (4 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 05/37] dt-bindings: cpufreq: apple,cluster-cpufreq: " Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 07/37] dt-bindings: iommu: dart: Add apple,t6020-dart compatible Janne Grunau
                   ` (27 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

The Apple M2 Pro/Max/Ultra SoCs use AIC2 as interrupt controller. This
is the final SoC added as compatible as Apple M3 and later use AIC3.
Apple's A15 uses AIC2 as well but has no official support for alternate
operating systems.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
index 2bde6cc6fe0ae4912f7cd7aacdde2980da87ce54..ee5a0dfff437816056bda0de5523bf38be4f49ba 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml
@@ -34,6 +34,7 @@ properties:
       - enum:
           - apple,t8112-aic
           - apple,t6000-aic
+          - apple,t6020-aic
       - const: apple,aic2
 
   interrupt-controller: true

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 07/37] dt-bindings: iommu: dart: Add apple,t6020-dart compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (5 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 08/37] pinctrl: apple: Add "apple,t8103-pinctrl" as compatible Janne Grunau
                   ` (26 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

t6020-dart is compatible to t8110-dart and annotated as such in Apple's
device tree. Add its per-SoC compatible in case t6020 specific handling
becomes necessary. The dart instances on M2 Pro/Max/Ultra based SoCs
differ in one aspect from the M2 based ones. They indicate an IAS of 42
requiring implementing support for a fouth page table level in the dart
driver and its io-pgtable [1].

[1]: https://lore.kernel.org/asahi/20250821-apple-dart-4levels-v2-0-e39af79daa37@jannau.net/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/iommu/apple,dart.yaml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/iommu/apple,dart.yaml b/Documentation/devicetree/bindings/iommu/apple,dart.yaml
index 7adb1de455a5b38dfb6c76303f11c8f95395e0dd..47ec7fa52c3ac6b3e111adf6998685f18f8602dd 100644
--- a/Documentation/devicetree/bindings/iommu/apple,dart.yaml
+++ b/Documentation/devicetree/bindings/iommu/apple,dart.yaml
@@ -22,11 +22,15 @@ description: |+
 
 properties:
   compatible:
-    enum:
-      - apple,t8103-dart
-      - apple,t8103-usb4-dart
-      - apple,t8110-dart
-      - apple,t6000-dart
+    oneOf:
+      - enum:
+          - apple,t8103-dart
+          - apple,t8103-usb4-dart
+          - apple,t8110-dart
+          - apple,t6000-dart
+      - items:
+          - const: apple,t6020-dart
+          - const: apple,t8110-dart
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 08/37] pinctrl: apple: Add "apple,t8103-pinctrl" as compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (6 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 07/37] dt-bindings: iommu: dart: Add apple,t6020-dart compatible Janne Grunau
@ 2025-08-28 14:01 ` 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
                   ` (25 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,pinctrl" anymore [1]. Use
"apple,t8103-pinctrl" as fallback compatible as it is the SoC the driver
and bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/pinctrl/pinctrl-apple-gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-apple-gpio.c b/drivers/pinctrl/pinctrl-apple-gpio.c
index a09daa72bfe49191fa6691b21a7f4eb66da8a540..e1a7bc8cf7652ce5e6701bd054ab989364c75a82 100644
--- a/drivers/pinctrl/pinctrl-apple-gpio.c
+++ b/drivers/pinctrl/pinctrl-apple-gpio.c
@@ -515,6 +515,7 @@ static int apple_gpio_pinctrl_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_gpio_pinctrl_of_match[] = {
+	{ .compatible = "apple,t8103-pinctrl", },
 	{ .compatible = "apple,pinctrl", },
 	{ }
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 09/37] dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (7 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 08/37] pinctrl: apple: Add "apple,t8103-pinctrl" as compatible Janne Grunau
@ 2025-08-28 14:01 ` 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
                   ` (24 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,pinctrl" anymore [1]. Use
"apple,t8103-pinctrl" as fallback compatible as it is the SoC the driver
and bindings were written for.

The M2 Pro/Max/Ultra SoCs use the same pinctrl hardware, so just add its
per-SoC compatible using the new base as fallback.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/pinctrl/apple,pinctrl.yaml | 27 +++++++++++++---------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
index 63737d8589442953a77e3bbab08f8b59990fb33c..665ec79a69f1db1020668c68ecbb7e215cb7cb28 100644
--- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
@@ -16,17 +16,22 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,s5l8960x-pinctrl
-          - apple,t7000-pinctrl
-          - apple,s8000-pinctrl
-          - apple,t8010-pinctrl
-          - apple,t8015-pinctrl
-          - apple,t8103-pinctrl
-          - apple,t8112-pinctrl
-          - apple,t6000-pinctrl
-      - const: apple,pinctrl
+    oneOf:
+      - items:
+          - const: apple,t6020-pinctrl
+          - const: apple,t8103-pinctrl
+      - items:
+          # Do not add additional SoC to this list.
+          - enum:
+              - apple,s5l8960x-pinctrl
+              - apple,t7000-pinctrl
+              - apple,s8000-pinctrl
+              - apple,t8010-pinctrl
+              - apple,t8015-pinctrl
+              - apple,t8103-pinctrl
+              - apple,t8112-pinctrl
+              - apple,t6000-pinctrl
+          - const: apple,pinctrl
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 10/37] dt-bindings: i2c: apple,i2c: Add apple,t6020-i2c compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (8 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 09/37] dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 11/37] dt-bindings: mailbox: apple,mailbox: Add t6020 compatible Janne Grunau
                   ` (23 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,i2c" anymore [1]. Use
"apple,t8103-i2c" as fallback compatible as it is the SoC the driver
and bindings were written for.

This block is compatible with t8103, so just add the new per-SoC
compatible using apple,t8103-i2c as base.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/i2c/apple,i2c.yaml         | 27 +++++++++++++---------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
index fed3e1b8c43f67b8f5a19e5c1e046b0e17ab8017..500a965bdb7a84e4997b52e8c19dcc1a7ee0cff7 100644
--- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml
@@ -20,17 +20,22 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,s5l8960x-i2c
-          - apple,t7000-i2c
-          - apple,s8000-i2c
-          - apple,t8010-i2c
-          - apple,t8015-i2c
-          - apple,t8103-i2c
-          - apple,t8112-i2c
-          - apple,t6000-i2c
-      - const: apple,i2c
+    oneOf:
+      - items:
+          - const: apple,t6020-i2c
+          - const: apple,t8103-i2c
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,s5l8960x-i2c
+              - apple,t7000-i2c
+              - apple,s8000-i2c
+              - apple,t8010-i2c
+              - apple,t8015-i2c
+              - apple,t8103-i2c
+              - apple,t8112-i2c
+              - apple,t6000-i2c
+          - const: apple,i2c
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 11/37] dt-bindings: mailbox: apple,mailbox: Add t6020 compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (9 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 12/37] dt-bindings: gpu: apple,agx: Add agx-{g14s,g14c,g14d} compatibles Janne Grunau
                   ` (22 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

The mailbox hardware remains unchanged on M2 Pro/Max/Ultra SoCs so just
add its per-SoC compatible.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
index 474c1a0f99f34777e1bed7fc0a34f89320a93b7c..ae147bbc879fd0801b4552a0b75147d7d284aae3 100644
--- a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
+++ b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
@@ -31,6 +31,7 @@ properties:
               - apple,t8103-asc-mailbox
               - apple,t8112-asc-mailbox
               - apple,t6000-asc-mailbox
+              - apple,t6020-asc-mailbox
           - const: apple,asc-mailbox-v4
 
       - description:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 12/37] dt-bindings: gpu: apple,agx: Add agx-{g14s,g14c,g14d} compatibles
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (10 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 11/37] dt-bindings: mailbox: apple,mailbox: Add t6020 compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 13/37] dt-bindings: iommu: apple,sart: Add apple,t6020-sart compatible Janne Grunau
                   ` (21 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

Add compatibles for the GPU variants found on Apple's M2 Pro/Max/Ultra
SoCs.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/gpu/apple,agx.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpu/apple,agx.yaml b/Documentation/devicetree/bindings/gpu/apple,agx.yaml
index 51629b3833b0a8c296eaccdfd6d9eeef02a5bc63..05af942ad1744aa9a3cc523567d4382a22eed796 100644
--- a/Documentation/devicetree/bindings/gpu/apple,agx.yaml
+++ b/Documentation/devicetree/bindings/gpu/apple,agx.yaml
@@ -16,11 +16,17 @@ properties:
           - apple,agx-g13g
           - apple,agx-g13s
           - apple,agx-g14g
+          - apple,agx-g14s
       - items:
           - enum:
               - apple,agx-g13c
               - apple,agx-g13d
           - const: apple,agx-g13s
+      - items:
+          - enum:
+              - apple,agx-g14c
+              - apple,agx-g14d
+          - const: apple,agx-g14s
 
   reg:
     items:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 13/37] dt-bindings: iommu: apple,sart: Add apple,t6020-sart compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (11 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 14/37] nvme-apple: Add "apple,t8103-nvme-ans2" as compatible Janne Grunau
                   ` (20 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

"apple,t6020-sart" as found in Apple's M2 Pro/Max/Ultra SoCs is
compatible with SART3 used in t6000. Add its per-SoC compatible to allow
a distinction should it become necessary.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/iommu/apple,sart.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/Documentation/devicetree/bindings/iommu/apple,sart.yaml
index e87c1520fea60a2de549aa8a469fcded52e3b6e3..dec0a5c6219732fbfd8c28d350db4b577d9ea377 100644
--- a/Documentation/devicetree/bindings/iommu/apple,sart.yaml
+++ b/Documentation/devicetree/bindings/iommu/apple,sart.yaml
@@ -30,7 +30,9 @@ properties:
   compatible:
     oneOf:
       - items:
-          - const: apple,t8112-sart
+          - enum:
+              - apple,t6020-sart
+              - apple,t8112-sart
           - const: apple,t6000-sart
       - enum:
           - apple,t6000-sart

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 14/37] nvme-apple: Add "apple,t8103-nvme-ans2" as compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (12 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 15/37] dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible Janne Grunau
                   ` (19 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nvme-ans2" anymore [1]. Add
"apple,t8103-nvme-ans2" as fallback compatible as it is the SoC the
driver and bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/nvme/host/apple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvme/host/apple.c b/drivers/nvme/host/apple.c
index 1286c31320e630cb012009d6b962526e0553869f..1f57a7a20715cb2370f1e72872c2e08bde44bbc8 100644
--- a/drivers/nvme/host/apple.c
+++ b/drivers/nvme/host/apple.c
@@ -1626,6 +1626,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(apple_nvme_pm_ops, apple_nvme_suspend,
 				apple_nvme_resume);
 
 static const struct of_device_id apple_nvme_of_match[] = {
+	{ .compatible = "apple,t8103-nvme-ans2" },
 	{ .compatible = "apple,nvme-ans2" },
 	{},
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 15/37] dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (13 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 14/37] nvme-apple: Add "apple,t8103-nvme-ans2" as compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 16/37] dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible Janne Grunau
                   ` (18 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nvme-ans2" anymore [1]. Add
"apple,t8103-nvme-ans2" as fallback compatible as it is the SoC the
driver and bindings were written for.

Invert the condition for the 2 or 3 power-domains check to allow using
"apple,t8103-nvme-ans2" as base compatible.

"apple,t6020-nvme-ans2" on Apple M2 Pro/Max/Ultra SoCs is compatible
with "apple,t8103-nvme-ans2" so add its per-SoC compatible.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/nvme/apple,nvme-ans.yaml   | 29 +++++++++++++---------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
index fc6555724e1858e8a16f6750302ff0ad9c4e5b88..fedfacbca93714d988310f53a0a4c951d9342a61 100644
--- a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
+++ b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml
@@ -11,12 +11,17 @@ maintainers:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t8103-nvme-ans2
-          - apple,t8112-nvme-ans2
-          - apple,t6000-nvme-ans2
-      - const: apple,nvme-ans2
+    oneOf:
+      - items:
+          - const: apple,t6020-nvme-ans2
+          - const: apple,t8103-nvme-ans2
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t8103-nvme-ans2
+              - apple,t8112-nvme-ans2
+              - apple,t6000-nvme-ans2
+          - const: apple,nvme-ans2
 
   reg:
     items:
@@ -67,20 +72,20 @@ if:
     compatible:
       contains:
         enum:
-          - apple,t8103-nvme-ans2
-          - apple,t8112-nvme-ans2
+          - apple,t6000-nvme-ans2
+          - apple,t6020-nvme-ans2
 then:
   properties:
     power-domains:
-      maxItems: 2
+      minItems: 3
     power-domain-names:
-      maxItems: 2
+      minItems: 3
 else:
   properties:
     power-domains:
-      minItems: 3
+      maxItems: 2
     power-domain-names:
-      minItems: 3
+      maxItems: 2
 
 required:
   - compatible

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 16/37] dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (14 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 17/37] dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible Janne Grunau
                   ` (17 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

Add BCM4388 PCI vendor/product ID as compatible. The BCM4388 WiFi/BT
module is found on Apple silicon devices with M2 Pro/Max/Ultra and
later. Support for this variant was added in 2024 without amending the
dt-bindings.

Link: https://lore.kernel.org/asahi/20240602-btbcm4388-v1-1-210e4b4eeb3b@svenpeter.dev/
Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml
index 37cb39a3a62e6b477f0c9e5a3abba730353cc270..fd78258d71b4dfd80870130874a727e6f544ceff 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/brcm,bcm4377-bluetooth.yaml
@@ -23,6 +23,7 @@ properties:
       - pci14e4,5fa0 # BCM4377
       - pci14e4,5f69 # BCM4378
       - pci14e4,5f71 # BCM4387
+      - pci14e4,5f72 # BCM4388
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 17/37] dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (15 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 16/37] dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible Janne Grunau
                   ` (16 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

BCM4388 WiFi/BT modules are found on Apple silicon devices using
M2 Pro/Max/Ultra and later. Driver support for this module is not
submitted yet.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
index 7c8100e59a6cd045837a2f602e367f3f79ced5ba..3be7576787644571e42a4145d40af9026cec61ba 100644
--- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
@@ -53,6 +53,7 @@ properties:
           - pci14e4,4488  # BCM4377
           - pci14e4,4425  # BCM4378
           - pci14e4,4433  # BCM4387
+          - pci14e4,4434  # BCM4388
           - pci14e4,449d  # BCM43752
 
   reg:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (16 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 17/37] dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible Janne Grunau
@ 2025-08-28 14:01 ` 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
                   ` (15 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,smc" anymore [1]. Use
"apple,t8103-smc" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/mfd/macsmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/macsmc.c b/drivers/mfd/macsmc.c
index 870c8b2028a8fc0e905c8934c2636824cbe5d527..a5e0b99484830800d7ea625233dfd44613f4bbbd 100644
--- a/drivers/mfd/macsmc.c
+++ b/drivers/mfd/macsmc.c
@@ -478,6 +478,7 @@ static int apple_smc_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_smc_of_match[] = {
+	{ .compatible = "apple,t8103-smc" },
 	{ .compatible = "apple,smc" },
 	{},
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 19/37] dt-bindings: mfd: apple,smc: Add t6020-smc compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (17 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 20/37] dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible Janne Grunau
                   ` (14 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,smc" anymore [1]. Use
"apple,t8103-smc" as base compatible as it is the SoC the driver and
bindings were written for.

SMC on Apple's M2 Pro/Max/Ultra SoCs is compatible with the existing
driver so add its per-SoC compatible with the new base compatible as
fallback used by the driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/mfd/apple,smc.yaml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/apple,smc.yaml b/Documentation/devicetree/bindings/mfd/apple,smc.yaml
index 8a10e270d421ecd703848f64af597de351fcfd74..5429538f7e2e914fa4babc273350a5bf194273b0 100644
--- a/Documentation/devicetree/bindings/mfd/apple,smc.yaml
+++ b/Documentation/devicetree/bindings/mfd/apple,smc.yaml
@@ -15,12 +15,17 @@ description:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t6000-smc
-          - apple,t8103-smc
-          - apple,t8112-smc
-      - const: apple,smc
+    oneOf:
+      - items:
+          - const: apple,t6020-smc
+          - const: apple,t8103-smc
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t6000-smc
+              - apple,t8103-smc
+              - apple,t8112-smc
+          - const: apple,smc
 
   reg:
     items:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 20/37] dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (18 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 19/37] dt-bindings: mfd: apple,smc: Add t6020-smc compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 21/37] spmi: apple: Add "apple,t8103-spmi" compatible Janne Grunau
                   ` (13 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

The PWM controller on Apple's M2 Pro/Max SoCs behaves in the same way as
on previous M1 and M2 SoCs. Add its per SoC compatible.

At the same time fix the order of existing entries. The sort order logic
is having SoC numeric code families in release order, and SoCs within
each family in release order:

- t8xxx (Apple HxxP/G series, "phone"/"tablet" chips)
  - t8103 (Apple H13G/M1)
  - t8112 (Apple H14G/M2)
- t6xxx (Apple HxxJ series, "desktop" chips)
  - t6000/t6001/t6002 (Apple H13J(S/C/D) / M1 Pro/Max/Ultra)
  - t6020/t6021/t6022 (Apple H14J(S/C/D) / M2 Pro/Max/Ultra)

Note that SoCs of the t600[0-2] / t602[0-2] family share the
t6000 / t6020 compatible where the hardware is 100% compatible, which is
usually the case in this highly related set of SoCs.

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml b/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml
index 142157bff0cd851c85fbf0132d734d470c5a0761..04519b0c581d0e9fb1ae6aa219a4e850027de6a2 100644
--- a/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml
@@ -17,8 +17,9 @@ properties:
     items:
       - enum:
           - apple,t8103-fpwm
-          - apple,t6000-fpwm
           - apple,t8112-fpwm
+          - apple,t6000-fpwm
+          - apple,t6020-fpwm
       - const: apple,s5l-fpwm
 
   reg:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 21/37] spmi: apple: Add "apple,t8103-spmi" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (19 preceding siblings ...)
  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 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 22/37] dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible Janne Grunau
                   ` (12 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,spmi" anymore [1]. Use
"apple,t8103-spmi" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/spmi/spmi-apple-controller.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spmi/spmi-apple-controller.c b/drivers/spmi/spmi-apple-controller.c
index 697b3e8bb023566f17911fc222666d84f5e14c91..87e3ee9d4f2aa5517808827f5dd365055c08446a 100644
--- a/drivers/spmi/spmi-apple-controller.c
+++ b/drivers/spmi/spmi-apple-controller.c
@@ -149,6 +149,7 @@ static int apple_spmi_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_spmi_match_table[] = {
+	{ .compatible = "apple,t8103-spmi", },
 	{ .compatible = "apple,spmi", },
 	{}
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 22/37] dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (20 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 21/37] spmi: apple: Add "apple,t8103-spmi" compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 23/37] watchdog: apple: Add "apple,t8103-wdt" compatible Janne Grunau
                   ` (11 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,spmi" anymore [1]. Use
"apple,t8103-spmi" as base compatible as it is the SoC the driver and
bindings were written for.

The SPMI controller on Apple M2 Pro/Max/Ultra is compatible to
"apple,t8103-spmi" so add its per-SoC compatible with the former as
fallback used by the existing driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/spmi/apple,spmi.yaml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi.yaml b/Documentation/devicetree/bindings/spmi/apple,spmi.yaml
index 16bd7eb2b7af2c0b176f0e5b1970f4670af691da..dbf09ad0ecdecab82074344aa6a840a820bc448a 100644
--- a/Documentation/devicetree/bindings/spmi/apple,spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/apple,spmi.yaml
@@ -16,12 +16,17 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t8103-spmi
-          - apple,t6000-spmi
-          - apple,t8112-spmi
-      - const: apple,spmi
+    oneOf:
+      - items:
+          - const: apple,t6020-spmi
+          - const: apple,t8103-spmi
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t8103-spmi
+              - apple,t6000-spmi
+              - apple,t8112-spmi
+          - const: apple,spmi
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 23/37] watchdog: apple: Add "apple,t8103-wdt" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (21 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 22/37] dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 24/37] dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible Janne Grunau
                   ` (10 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,wdt" anymore [1]. Use
"apple,t8103-wdt" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/watchdog/apple_wdt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/apple_wdt.c b/drivers/watchdog/apple_wdt.c
index 66a158f67a712bbed394d660071e02140e66c2e5..6b9b0f9b05cedfd7fc5d0d79ba19ab356dc2a080 100644
--- a/drivers/watchdog/apple_wdt.c
+++ b/drivers/watchdog/apple_wdt.c
@@ -218,6 +218,7 @@ static int apple_wdt_suspend(struct device *dev)
 static DEFINE_SIMPLE_DEV_PM_OPS(apple_wdt_pm_ops, apple_wdt_suspend, apple_wdt_resume);
 
 static const struct of_device_id apple_wdt_of_match[] = {
+	{ .compatible = "apple,t8103-wdt" },
 	{ .compatible = "apple,wdt" },
 	{},
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 24/37] dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (22 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 23/37] watchdog: apple: Add "apple,t8103-wdt" compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 25/37] clk: clk-apple-nco: Add "apple,t8103-nco" compatible Janne Grunau
                   ` (9 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,wdt" anymore [1]. Use
"apple,t8103-wdt" as base compatible as it is the SoC the driver and
bindings were written for.

The block on the Apple M2 Pro/Max/Ultra SoCs is compatible with the
existing driver so add its per-SoC compatible.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 .../devicetree/bindings/watchdog/apple,wdt.yaml    | 27 +++++++++++++---------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
index 310832fa8c2803d463148954ed30795b11d97cb2..05602678c070d764331795f6df91abbc55eb0f2a 100644
--- a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
@@ -14,17 +14,22 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,s5l8960x-wdt
-          - apple,t7000-wdt
-          - apple,s8000-wdt
-          - apple,t8010-wdt
-          - apple,t8015-wdt
-          - apple,t8103-wdt
-          - apple,t8112-wdt
-          - apple,t6000-wdt
-      - const: apple,wdt
+    oneOf:
+      - items:
+          - const: apple,t6020-wdt
+          - const: apple,t8103-wdt
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,s5l8960x-wdt
+              - apple,t7000-wdt
+              - apple,s8000-wdt
+              - apple,t8010-wdt
+              - apple,t8015-wdt
+              - apple,t8103-wdt
+              - apple,t8112-wdt
+              - apple,t6000-wdt
+          - const: apple,wdt
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 25/37] clk: clk-apple-nco: Add "apple,t8103-nco" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (23 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 24/37] dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 26/37] dt-bindings: clock: apple,nco: Add t6020-nco compatible Janne Grunau
                   ` (8 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nco" anymore [1]. Use
"apple,t8103-nco" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/clk/clk-apple-nco.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-apple-nco.c b/drivers/clk/clk-apple-nco.c
index 457a48d4894128fff24d50eb7c9a3cbd7d35f245..c205b7f1dadeb837b76cfd30b6009db6c1f9a79f 100644
--- a/drivers/clk/clk-apple-nco.c
+++ b/drivers/clk/clk-apple-nco.c
@@ -318,6 +318,7 @@ static int applnco_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id applnco_ids[] = {
+	{ .compatible = "apple,t8103-nco" },
 	{ .compatible = "apple,nco" },
 	{ }
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 26/37] dt-bindings: clock: apple,nco: Add t6020-nco compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (24 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 25/37] clk: clk-apple-nco: Add "apple,t8103-nco" compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 27/37] dmaengine: apple-admac: Add "apple,t8103-admac" compatible Janne Grunau
                   ` (7 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nco" anymore [1]. Use
"apple,t8103-nco" as base compatible as it is the SoC the driver and
bindings were written for.

The block found on Apple's M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-nco" so add its per-SoC compatible with the former as
fallback used by the existing driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/clock/apple,nco.yaml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/apple,nco.yaml b/Documentation/devicetree/bindings/clock/apple,nco.yaml
index 8b8411dc42f60f83ee23dce117583e2982db5cd0..080454f56721f42d4f916d77d63d5ea71d2379cd 100644
--- a/Documentation/devicetree/bindings/clock/apple,nco.yaml
+++ b/Documentation/devicetree/bindings/clock/apple,nco.yaml
@@ -19,12 +19,17 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t6000-nco
-          - apple,t8103-nco
-          - apple,t8112-nco
-      - const: apple,nco
+    oneOf:
+      - items:
+          - const: apple,t6020-nco
+          - const: apple,t8103-nco
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t6000-nco
+              - apple,t8103-nco
+              - apple,t8112-nco
+          - const: apple,nco
 
   clocks:
     description:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 27/37] dmaengine: apple-admac: Add "apple,t8103-admac" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (25 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 26/37] dt-bindings: clock: apple,nco: Add t6020-nco compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 28/37] dt-bindings: dma: apple,admac: Add t6020-admac compatible Janne Grunau
                   ` (6 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,admac" anymore [1]. Use
"apple,t8103-admac" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 drivers/dma/apple-admac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/apple-admac.c b/drivers/dma/apple-admac.c
index bd49f03742912198804a02a22e38da2c21093761..04bbd774b3b444f928986c266c53becf286daeea 100644
--- a/drivers/dma/apple-admac.c
+++ b/drivers/dma/apple-admac.c
@@ -936,6 +936,7 @@ static void admac_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id admac_of_match[] = {
+	{ .compatible = "apple,t8103-admac", },
 	{ .compatible = "apple,admac", },
 	{ }
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 28/37] dt-bindings: dma: apple,admac: Add t6020-admac compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (26 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 27/37] dmaengine: apple-admac: Add "apple,t8103-admac" compatible Janne Grunau
@ 2025-08-28 14:01 ` Janne Grunau
  2025-08-28 14:01 ` [PATCH 29/37] ASoC: apple: mca: Add "apple,t8103-mca" compatible Janne Grunau
                   ` (5 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,admac" anymore [1]. Use
"apple,t8103-admac" as base compatible as it is the SoC the driver and
bindings were written for.

admac on Apple's M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-admac" so add its per-SoC compatible with the former as
fallback used by the existing driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/dma/apple,admac.yaml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/apple,admac.yaml b/Documentation/devicetree/bindings/dma/apple,admac.yaml
index ab193bc8bdbb3ed933bdf52adb0698225616df06..6a200cbd7d0280ae32a8a251eca805822756f25f 100644
--- a/Documentation/devicetree/bindings/dma/apple,admac.yaml
+++ b/Documentation/devicetree/bindings/dma/apple,admac.yaml
@@ -22,12 +22,17 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t6000-admac
-          - apple,t8103-admac
-          - apple,t8112-admac
-      - const: apple,admac
+    oneOf:
+      - items:
+          - const: apple,t6020-admac
+          - const: apple,t8103-admac
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t6000-admac
+              - apple,t8103-admac
+              - apple,t8112-admac
+          - const: apple,admac
 
   reg:
     maxItems: 1

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 29/37] ASoC: apple: mca: Add "apple,t8103-mca" compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (27 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 28/37] dt-bindings: dma: apple,admac: Add t6020-admac compatible Janne Grunau
@ 2025-08-28 14:01 ` 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
                   ` (4 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,mca" anymore [1]. Use
"apple,t8103-mca" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 sound/soc/apple/mca.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/apple/mca.c b/sound/soc/apple/mca.c
index 5dd24ab90d0f052bb48f451cf009dc2e9128014d..c4dcb2b545912cd02ee219cc2d4958db5aa785ba 100644
--- a/sound/soc/apple/mca.c
+++ b/sound/soc/apple/mca.c
@@ -1191,6 +1191,7 @@ static void apple_mca_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id apple_mca_of_match[] = {
+	{ .compatible = "apple,t8103-mca", },
 	{ .compatible = "apple,mca", },
 	{}
 };

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [PATCH 30/37] ASoC: dt-bindings: apple,mca: Add t6020-mca compatible
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (28 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 29/37] ASoC: apple: mca: Add "apple,t8103-mca" compatible Janne Grunau
@ 2025-08-28 14:01 ` 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
                   ` (3 subsequent siblings)
  33 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 14:01 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme, Janne Grunau

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,mca" anymore [1]. Use
"apple,t8103-mca" as base compatible as it is the SoC the driver and
bindings were written for.

mca on Apple's M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-mca" so add its per-SoC compatible with the former as
fallbeck used by the existing driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
 Documentation/devicetree/bindings/sound/apple,mca.yaml | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/apple,mca.yaml b/Documentation/devicetree/bindings/sound/apple,mca.yaml
index 5c6ec08c7d247c88f0fcceb352a545f6a95f89fc..2beb725118ad80fba2c3d5b119f8735ac849737d 100644
--- a/Documentation/devicetree/bindings/sound/apple,mca.yaml
+++ b/Documentation/devicetree/bindings/sound/apple,mca.yaml
@@ -19,12 +19,17 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,t6000-mca
-          - apple,t8103-mca
-          - apple,t8112-mca
-      - const: apple,mca
+    oneOf:
+      - items:
+          - const: apple,t6020-mca
+          - const: apple,t8103-mca
+      - items:
+          - enum:
+              # Do not add additional SoC to this list.
+              - apple,t6000-mca
+              - apple,t8103-mca
+              - apple,t8112-mca
+          - const: apple,mca
 
   reg:
     items:

-- 
2.51.0


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* Re: [PATCH 29/37] ASoC: apple: mca: Add "apple,t8103-mca" compatible
  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
  0 siblings, 0 replies; 46+ messages in thread
From: Mark Brown @ 2025-08-28 14:20 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Marc Zyngier,
	Ulf Hansson, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg, Jaroslav Kysela, Takashi Iwai, asahi,
	linux-arm-kernel, devicetree, linux-kernel, linux-pm, iommu,
	linux-gpio, linux-i2c, dri-devel, linux-bluetooth, linux-wireless,
	linux-pwm, linux-watchdog, linux-clk, dmaengine, linux-sound,
	linux-spi, linux-nvme

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

On Thu, Aug 28, 2025 at 04:01:48PM +0200, Janne Grunau wrote:
> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,mca" anymore [1]. Use
> "apple,t8103-mca" as base compatible as it is the SoC the driver and
> bindings were written for.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 30/37] ASoC: dt-bindings: apple,mca: Add t6020-mca compatible
  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
  0 siblings, 0 replies; 46+ messages in thread
From: Mark Brown @ 2025-08-28 14:22 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Marc Zyngier,
	Ulf Hansson, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg, Jaroslav Kysela, Takashi Iwai, asahi,
	linux-arm-kernel, devicetree, linux-kernel, linux-pm, iommu,
	linux-gpio, linux-i2c, dri-devel, linux-bluetooth, linux-wireless,
	linux-pwm, linux-watchdog, linux-clk, dmaengine, linux-sound,
	linux-spi, linux-nvme

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

On Thu, Aug 28, 2025 at 04:01:49PM +0200, Janne Grunau wrote:
> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,mca" anymore [1]. Use
> "apple,t8103-mca" as base compatible as it is the SoC the driver and
> bindings were written for.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (29 preceding siblings ...)
  2025-08-28 14:01 ` [PATCH 30/37] ASoC: dt-bindings: apple,mca: Add t6020-mca compatible Janne Grunau
@ 2025-08-28 15:16 ` Neal Gompa
  2025-08-28 16:11 ` Nick Chan
                   ` (2 subsequent siblings)
  33 siblings, 0 replies; 46+ messages in thread
From: Neal Gompa @ 2025-08-28 15:16 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Hector Martin, Rafael J. Wysocki, Viresh Kumar,
	Thomas Gleixner, Joerg Roedel, Will Deacon, Robin Murphy,
	Linus Walleij, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

On Thu, Aug 28, 2025 at 10:01 AM Janne Grunau <j@jannau.net> 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.
>
> t6020 is a cut-down version of t6021, so the former just includes the
> latter and disables the missing bits.
>
> t6022 is two connected t6021 dies. The implementation seems to use
> t6021 and disables blocks based on whether it is useful to carry
> multiple instances. The disabled blocks are mostly on the second die.
> MMIO addresses on the second die have a constant offset. The interrupt
> controller is multi-die aware. This setup can be represented in the
> device tree with two top level "soc" nodes. The MMIO offset is applied
> via "ranges" and devices are included with preprocessor macros to make
> the node labels unique and to specify the die number for the interrupt
> definition.
>
> The devices itself are very similar to their M1 Pro, M1 Max and M1 Ultra
> counterparts. The existing device templates are SoC agnostic so the new
> devices can reuse them and include their t602{0,1,2}.dtsi file. The
> minor differences in pinctrl and gpio numbers can be easily adjusted.
>
> With the t602x SoC family Apple introduced two new devices:
>
> The M2 Pro Mac mini is similar to the larger M1 and M2 Max Mac Studio. The
> missing SDHCI card reader and two front USB3.1 type-c ports and their
> internal USB hub can be easily deleted.
>
> The M2 Ultra Mac Pro (tower and rack-mount cases) differs from all other
> devices but may share some bits with the M2 Ultra Mac Studio. The PCIe
> implementation on the M2 Ultra in the Mac Pro differs slightly. Apple
> calls the PCIe controller "apcie-ge" in their device tree. The
> implementation seems to be mostly compatible with the base t6020 PCIe
> controller. The main difference is that there is only a single port with
> with 8 or 16 PCIe Gen4 lanes. These ports connect to a Microchip
> Switchtec PCIe switch with 100 lanes to which all internal PCIe devices
> and PCIe slots connect too.
>
> This series does not include PCIe support for the Mac Pro for two
> reasons:
> - the linux switchtec driver fails to probe and the downstream PCIe
>   connections come up as PCIe Gen1
> - some of the internal devices require PERST# and power control to come
>   up. Since the device are connected via the PCIe switch the PCIe
>   controller can not do this. The PCI slot pwrctrl can be utilized for
>   power control but misses integration with PERST# as proposed in [1].
>
> This series depends on "[PATCH v2 0/5] Apple device tree sync from
> downstream kernel" [2] due to the reuse of the t600x device templates
> (patch dependencies and DT compilation) and 4 page table level support
> in apple-dart and io-pgtable-dart [3] since the dart instances report
> 42-bit IAS (IOMMU device attach fails without the series).
>
> 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.
>
> [1]: https://lore.kernel.org/linux-pci/20250819-pci-pwrctrl-perst-v1-0-4b74978d2007@oss.qualcomm.com/
> [2]: https://lore.kernel.org/asahi/20250823-apple-dt-sync-6-17-v2-0-6dc0daeb4786@jannau.net/
> [3]: https://lore.kernel.org/asahi/20250821-apple-dart-4levels-v2-0-e39af79daa37@jannau.net/
> [4]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
>
> Signed-off-by: Janne Grunau <j@jannau.net>
> ---
> Hector Martin (3):
>       arm64: dts: apple: Add initial t6020/t6021/t6022 DTs
>       arm64: dts: apple: Add J414 and J416 Macbook Pro device trees
>       arm64: dts: apple: Add J180d (Mac Pro, M2 Ultra, 2023) device tree
>
> Janne Grunau (34):
>       dt-bindings: arm: apple: Add t6020x compatibles
>       dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible
>       pmdomain: apple: Add "apple,t8103-pmgr-pwrstate"
>       dt-bindings: power: apple,pmgr-pwrstate: Add t6020 compatible
>       dt-bindings: cpufreq: apple,cluster-cpufreq: Add t6020 compatible
>       dt-bindings: interrupt-controller: apple,aic2: Add apple,t6020-aic compatible
>       dt-bindings: iommu: dart: Add apple,t6020-dart compatible
>       pinctrl: apple: Add "apple,t8103-pinctrl" as compatible
>       dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible
>       dt-bindings: i2c: apple,i2c: Add apple,t6020-i2c compatible
>       dt-bindings: mailbox: apple,mailbox: Add t6020 compatible
>       dt-bindings: gpu: apple,agx: Add agx-{g14s,g14c,g14d} compatibles
>       dt-bindings: iommu: apple,sart: Add apple,t6020-sart compatible
>       nvme-apple: Add "apple,t8103-nvme-ans2" as compatible
>       dt-bindings: nvme: apple: Add apple,t6020-nvme-ans2 compatible
>       dt-bindings: net: bcm4377-bluetooth: Add BCM4388 compatible
>       dt-bindings: net: bcm4329-fmac: Add BCM4388 PCI compatible
>       mfd: macsmc: Add "apple,t8103-smc" compatible
>       dt-bindings: mfd: apple,smc: Add t6020-smc compatible
>       dt-bindings: pwm: apple,s5l-fpwm: Add t6020-fpwm compatible
>       spmi: apple: Add "apple,t8103-spmi" compatible
>       dt-bindings: spmi: apple,spmi: Add t6020-spmi compatible
>       watchdog: apple: Add "apple,t8103-wdt" compatible
>       dt-bindings: watchdog: apple,wdt: Add t6020-wdt compatible
>       clk: clk-apple-nco: Add "apple,t8103-nco" compatible
>       dt-bindings: clock: apple,nco: Add t6020-nco compatible
>       dmaengine: apple-admac: Add "apple,t8103-admac" compatible
>       dt-bindings: dma: apple,admac: Add t6020-admac compatible
>       ASoC: apple: mca: Add "apple,t8103-mca" compatible
>       ASoC: dt-bindings: apple,mca: Add t6020-mca compatible
>       spi: apple: Add "apple,t8103-spi" compatible
>       spi: dt-bindings: apple,spi: Add t6020-spi compatible
>       arm64: dts: apple: Add ethernet0 alias for J375 template
>       arm64: dts: apple: Add J474s, J475c and J475d device trees
>
>  Documentation/devicetree/bindings/arm/apple.yaml   |   39 +-
>  .../devicetree/bindings/arm/apple/apple,pmgr.yaml  |   33 +-
>  .../devicetree/bindings/clock/apple,nco.yaml       |   17 +-
>  .../bindings/cpufreq/apple,cluster-cpufreq.yaml    |    3 +
>  .../devicetree/bindings/dma/apple,admac.yaml       |   17 +-
>  .../devicetree/bindings/gpu/apple,agx.yaml         |    6 +
>  .../devicetree/bindings/i2c/apple,i2c.yaml         |   27 +-
>  .../bindings/interrupt-controller/apple,aic2.yaml  |    1 +
>  .../devicetree/bindings/iommu/apple,dart.yaml      |   14 +-
>  .../devicetree/bindings/iommu/apple,sart.yaml      |    4 +-
>  .../devicetree/bindings/mailbox/apple,mailbox.yaml |    1 +
>  .../devicetree/bindings/mfd/apple,smc.yaml         |   17 +-
>  .../net/bluetooth/brcm,bcm4377-bluetooth.yaml      |    1 +
>  .../bindings/net/wireless/brcm,bcm4329-fmac.yaml   |    1 +
>  .../devicetree/bindings/nvme/apple,nvme-ans.yaml   |   29 +-
>  .../devicetree/bindings/pinctrl/apple,pinctrl.yaml |   27 +-
>  .../bindings/power/apple,pmgr-pwrstate.yaml        |   27 +-
>  .../devicetree/bindings/pwm/apple,s5l-fpwm.yaml    |    3 +-
>  .../devicetree/bindings/sound/apple,mca.yaml       |   17 +-
>  .../devicetree/bindings/spi/apple,spi.yaml         |   16 +-
>  .../devicetree/bindings/spmi/apple,spmi.yaml       |   17 +-
>  .../devicetree/bindings/watchdog/apple,wdt.yaml    |   27 +-
>  arch/arm64/boot/dts/apple/Makefile                 |    8 +
>  arch/arm64/boot/dts/apple/t600x-j375.dtsi          |    1 +
>  arch/arm64/boot/dts/apple/t6020-j414s.dts          |   26 +
>  arch/arm64/boot/dts/apple/t6020-j416s.dts          |   26 +
>  arch/arm64/boot/dts/apple/t6020-j474s.dts          |   47 +
>  arch/arm64/boot/dts/apple/t6020.dtsi               |   22 +
>  arch/arm64/boot/dts/apple/t6021-j414c.dts          |   26 +
>  arch/arm64/boot/dts/apple/t6021-j416c.dts          |   26 +
>  arch/arm64/boot/dts/apple/t6021-j475c.dts          |   37 +
>  arch/arm64/boot/dts/apple/t6021.dtsi               |   69 +
>  arch/arm64/boot/dts/apple/t6022-j180d.dts          |  121 ++
>  arch/arm64/boot/dts/apple/t6022-j475d.dts          |   42 +
>  arch/arm64/boot/dts/apple/t6022-jxxxd.dtsi         |   38 +
>  arch/arm64/boot/dts/apple/t6022.dtsi               |  347 +++
>  arch/arm64/boot/dts/apple/t602x-common.dtsi        |  465 ++++
>  arch/arm64/boot/dts/apple/t602x-die0.dtsi          |  577 +++++
>  arch/arm64/boot/dts/apple/t602x-dieX.dtsi          |  129 ++
>  arch/arm64/boot/dts/apple/t602x-gpio-pins.dtsi     |   81 +
>  arch/arm64/boot/dts/apple/t602x-j414-j416.dtsi     |   45 +
>  arch/arm64/boot/dts/apple/t602x-j474-j475.dtsi     |   38 +
>  arch/arm64/boot/dts/apple/t602x-nvme.dtsi          |   42 +
>  arch/arm64/boot/dts/apple/t602x-pmgr.dtsi          | 2268 ++++++++++++++++++++
>  drivers/clk/clk-apple-nco.c                        |    1 +
>  drivers/dma/apple-admac.c                          |    1 +
>  drivers/mfd/macsmc.c                               |    1 +
>  drivers/nvme/host/apple.c                          |    1 +
>  drivers/pinctrl/pinctrl-apple-gpio.c               |    1 +
>  drivers/pmdomain/apple/pmgr-pwrstate.c             |    1 +
>  drivers/spi/spi-apple.c                            |    1 +
>  drivers/spmi/spmi-apple-controller.c               |    1 +
>  drivers/watchdog/apple_wdt.c                       |    1 +
>  sound/soc/apple/mca.c                              |    1 +
>  54 files changed, 4722 insertions(+), 113 deletions(-)
> ---
> base-commit: 50ee15a27ec4cc41e99ee5e9011de7875569cd52
> change-id: 20250811-dt-apple-t6020-1359ce9bf2e7
> prerequisite-change-id: 20250813-apple-dt-sync-6-17-d1fc1c89f7ca:v2
> prerequisite-patch-id: 1405c7c78139704a4cbeb1adc67786b2c7971a3f
> prerequisite-patch-id: 65865050e9e7427bac04f47d0b7927aacaac19bd
> prerequisite-patch-id: 9240e5f435fb3406e77b4e4e9b02eb3d52e660e6
> prerequisite-patch-id: c16715c9a9fcb396b7e4365fd767b05604b8de81
> prerequisite-patch-id: a675ad20c2b427a021dafb5d6c8716497741604c
>

This is quite a series, but pretty straightforward.

Reviewed-by: Neal Gompa <neal@gompa.dev>


-- 
真実はいつも一つ!/ Always, there's only one truth!

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (30 preceding siblings ...)
  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
  2025-08-29 19:51 ` Rob Herring
  2025-09-02  8:15 ` Krzysztof Kozlowski
  33 siblings, 1 reply; 46+ messages in thread
From: Nick Chan @ 2025-08-28 16:11 UTC (permalink / raw)
  To: Janne Grunau, Sven Peter, Alyssa Rosenzweig, Neal Gompa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme


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.


[...]

Best regards,
Nick Chan

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 16:11 ` Nick Chan
@ 2025-08-28 16:50   ` Janne Grunau
  2025-08-28 17:18     ` Nick Chan
  0 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-28 16:50 UTC (permalink / raw)
  To: Nick Chan
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme

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

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 16:50   ` Janne Grunau
@ 2025-08-28 17:18     ` Nick Chan
  0 siblings, 0 replies; 46+ messages in thread
From: Nick Chan @ 2025-08-28 17:18 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme


Janne Grunau 於 2025/8/29 凌晨12:50 寫道:
> 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".

All of these compatibles has around the same specificity as "apple,nvme-ans2" which is
a mistake of using A11's version (ans2) to describe the M1 nvme (ans3). Though I do agree
"apple,asc-mailbox-v4", "apple,s5l-fpwm" and "apple,aic2" should be fine compatibility-wise.

Although AIC2 compatible should be fine that may not hold for later versions since Linux's
AIC driver is actually AIC + core complex FIQ stuff, so when you do add newer AICs it is
probably better to use SoC-specific compatible there.

>
> Janne
>
Best regards,
Nick Chan

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 08/37] pinctrl: apple: Add "apple,t8103-pinctrl" as compatible
  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
  0 siblings, 0 replies; 46+ messages in thread
From: Linus Walleij @ 2025-08-28 20:59 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

On Thu, Aug 28, 2025 at 4:02 PM Janne Grunau <j@jannau.net> wrote:

> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,pinctrl" anymore [1]. Use
> "apple,t8103-pinctrl" as fallback compatible as it is the SoC the driver
> and bindings were written for.
>
> [1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
>
> Signed-off-by: Janne Grunau <j@jannau.net>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 09/37] dt-bindings: pinctrl: apple,pinctrl: Add apple,t6020-pinctrl compatible
  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
  0 siblings, 0 replies; 46+ messages in thread
From: Linus Walleij @ 2025-08-28 20:59 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

On Thu, Aug 28, 2025 at 4:02 PM Janne Grunau <j@jannau.net> wrote:

> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,pinctrl" anymore [1]. Use
> "apple,t8103-pinctrl" as fallback compatible as it is the SoC the driver
> and bindings were written for.
>
> The M2 Pro/Max/Ultra SoCs use the same pinctrl hardware, so just add its
> per-SoC compatible using the new base as fallback.
>
> [1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
>
> Signed-off-by: Janne Grunau <j@jannau.net>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (31 preceding siblings ...)
  2025-08-28 16:11 ` Nick Chan
@ 2025-08-29 19:51 ` Rob Herring
  2025-08-30  7:16   ` Janne Grunau
  2025-09-02  8:15 ` Krzysztof Kozlowski
  33 siblings, 1 reply; 46+ messages in thread
From: Rob Herring @ 2025-08-29 19:51 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Krzysztof Kozlowski,
	Conor Dooley, Hector Martin, Rafael J. Wysocki, Viresh Kumar,
	Thomas Gleixner, Joerg Roedel, Will Deacon, Robin Murphy,
	Linus Walleij, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

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.
> 
> t6020 is a cut-down version of t6021, so the former just includes the
> latter and disables the missing bits.
> 
> t6022 is two connected t6021 dies. The implementation seems to use
> t6021 and disables blocks based on whether it is useful to carry
> multiple instances. The disabled blocks are mostly on the second die.
> MMIO addresses on the second die have a constant offset. The interrupt
> controller is multi-die aware. This setup can be represented in the
> device tree with two top level "soc" nodes. The MMIO offset is applied
> via "ranges" and devices are included with preprocessor macros to make
> the node labels unique and to specify the die number for the interrupt
> definition.
> 
> The devices itself are very similar to their M1 Pro, M1 Max and M1 Ultra
> counterparts. The existing device templates are SoC agnostic so the new
> devices can reuse them and include their t602{0,1,2}.dtsi file. The
> minor differences in pinctrl and gpio numbers can be easily adjusted.
> 
> With the t602x SoC family Apple introduced two new devices:
> 
> The M2 Pro Mac mini is similar to the larger M1 and M2 Max Mac Studio. The
> missing SDHCI card reader and two front USB3.1 type-c ports and their
> internal USB hub can be easily deleted.
> 
> The M2 Ultra Mac Pro (tower and rack-mount cases) differs from all other
> devices but may share some bits with the M2 Ultra Mac Studio. The PCIe
> implementation on the M2 Ultra in the Mac Pro differs slightly. Apple
> calls the PCIe controller "apcie-ge" in their device tree. The
> implementation seems to be mostly compatible with the base t6020 PCIe
> controller. The main difference is that there is only a single port with
> with 8 or 16 PCIe Gen4 lanes. These ports connect to a Microchip
> Switchtec PCIe switch with 100 lanes to which all internal PCIe devices
> and PCIe slots connect too.
> 
> This series does not include PCIe support for the Mac Pro for two
> reasons:
> - the linux switchtec driver fails to probe and the downstream PCIe
>   connections come up as PCIe Gen1
> - some of the internal devices require PERST# and power control to come
>   up. Since the device are connected via the PCIe switch the PCIe
>   controller can not do this. The PCI slot pwrctrl can be utilized for
>   power control but misses integration with PERST# as proposed in [1].
> 
> This series depends on "[PATCH v2 0/5] Apple device tree sync from
> downstream kernel" [2] due to the reuse of the t600x device templates
> (patch dependencies and DT compilation) and 4 page table level support
> in apple-dart and io-pgtable-dart [3] since the dart instances report
> 42-bit IAS (IOMMU device attach fails without the series).
> 
> 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.

Rob

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-29 19:51 ` Rob Herring
@ 2025-08-30  7:16   ` Janne Grunau
  2025-09-02 19:54     ` Rob Herring
  0 siblings, 1 reply; 46+ messages in thread
From: Janne Grunau @ 2025-08-30  7:16 UTC (permalink / raw)
  To: Rob Herring
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Krzysztof Kozlowski,
	Conor Dooley, Hector Martin, Rafael J. Wysocki, Viresh Kumar,
	Thomas Gleixner, Joerg Roedel, Will Deacon, Robin Murphy,
	Linus Walleij, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

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.
> > 
> > t6020 is a cut-down version of t6021, so the former just includes the
> > latter and disables the missing bits.
> > 
> > t6022 is two connected t6021 dies. The implementation seems to use
> > t6021 and disables blocks based on whether it is useful to carry
> > multiple instances. The disabled blocks are mostly on the second die.
> > MMIO addresses on the second die have a constant offset. The interrupt
> > controller is multi-die aware. This setup can be represented in the
> > device tree with two top level "soc" nodes. The MMIO offset is applied
> > via "ranges" and devices are included with preprocessor macros to make
> > the node labels unique and to specify the die number for the interrupt
> > definition.
> > 
> > The devices itself are very similar to their M1 Pro, M1 Max and M1 Ultra
> > counterparts. The existing device templates are SoC agnostic so the new
> > devices can reuse them and include their t602{0,1,2}.dtsi file. The
> > minor differences in pinctrl and gpio numbers can be easily adjusted.
> > 
> > With the t602x SoC family Apple introduced two new devices:
> > 
> > The M2 Pro Mac mini is similar to the larger M1 and M2 Max Mac Studio. The
> > missing SDHCI card reader and two front USB3.1 type-c ports and their
> > internal USB hub can be easily deleted.
> > 
> > The M2 Ultra Mac Pro (tower and rack-mount cases) differs from all other
> > devices but may share some bits with the M2 Ultra Mac Studio. The PCIe
> > implementation on the M2 Ultra in the Mac Pro differs slightly. Apple
> > calls the PCIe controller "apcie-ge" in their device tree. The
> > implementation seems to be mostly compatible with the base t6020 PCIe
> > controller. The main difference is that there is only a single port with
> > with 8 or 16 PCIe Gen4 lanes. These ports connect to a Microchip
> > Switchtec PCIe switch with 100 lanes to which all internal PCIe devices
> > and PCIe slots connect too.
> > 
> > This series does not include PCIe support for the Mac Pro for two
> > reasons:
> > - the linux switchtec driver fails to probe and the downstream PCIe
> >   connections come up as PCIe Gen1
> > - some of the internal devices require PERST# and power control to come
> >   up. Since the device are connected via the PCIe switch the PCIe
> >   controller can not do this. The PCI slot pwrctrl can be utilized for
> >   power control but misses integration with PERST# as proposed in [1].
> > 
> > This series depends on "[PATCH v2 0/5] Apple device tree sync from
> > downstream kernel" [2] due to the reuse of the t600x device templates
> > (patch dependencies and DT compilation) and 4 page table level support
> > in apple-dart and io-pgtable-dart [3] since the dart instances report
> > 42-bit IAS (IOMMU device attach fails without the series).
> > 
> > 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.

Janne

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 01/37] dt-bindings: arm: apple: Add t6020x compatibles
  2025-08-28 14:01 ` [PATCH 01/37] dt-bindings: arm: apple: Add t6020x compatibles Janne Grunau
@ 2025-09-02  7:59   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 46+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  7:59 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme

On Thu, Aug 28, 2025 at 04:01:20PM +0200, Janne Grunau wrote:
> This adds the following apple,t6020/t6021/t6022 platforms:

"Add..."


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 02/37] dt-bindings: arm: apple: apple,pmgr: Add t6020-pmgr compatible
  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
  0 siblings, 0 replies; 46+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  8:00 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme

On Thu, Aug 28, 2025 at 04:01:21PM +0200, Janne Grunau wrote:
> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,pmgr" anymore [1]. Use
> "apple,t8103-pmgr" as base compatible as it is the SoC the bindings were
> written for.
> 
> The block on Apple M2 Pro/Max/Ultra SoCs is compatible with
> "apple,t8103-pmgr" so use it as fallback compatible and add t6020 as
> per-SoC compatible.
> 
> [1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
> 
> Signed-off-by: Janne Grunau <j@jannau.net>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-28 14:01 [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices Janne Grunau
                   ` (32 preceding siblings ...)
  2025-08-29 19:51 ` Rob Herring
@ 2025-09-02  8:15 ` Krzysztof Kozlowski
  33 siblings, 0 replies; 46+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  8:15 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme

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.
> 

37 patches, 9-15 separate subsystems. That's really not how you are
suppose to upstream things. Please split this per subsystem. Few
bindings without drivers could be together, though.


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: [PATCH 00/37] arm64: Add initial device trees for Apple M2 Pro/Max/Ultra devices
  2025-08-30  7:16   ` Janne Grunau
@ 2025-09-02 19:54     ` Rob Herring
  0 siblings, 0 replies; 46+ messages in thread
From: Rob Herring @ 2025-09-02 19:54 UTC (permalink / raw)
  To: Janne Grunau
  Cc: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Krzysztof Kozlowski,
	Conor Dooley, Hector Martin, Rafael J. Wysocki, Viresh Kumar,
	Thomas Gleixner, Joerg Roedel, Will Deacon, Robin Murphy,
	Linus Walleij, Mark Kettenis, Andi Shyti, Jassi Brar,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Sasha Finkelstein, Marcel Holtmann,
	Luiz Augusto von Dentz, Johannes Berg, van Spriel, Lee Jones,
	Uwe Kleine-König, Stephen Boyd, Wim Van Sebroeck,
	Guenter Roeck, Michael Turquette, Martin Povišer, Vinod Koul,
	Liam Girdwood, Mark Brown, Marc Zyngier, Ulf Hansson, Keith Busch,
	Jens Axboe, Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela,
	Takashi Iwai, asahi, linux-arm-kernel, devicetree, linux-kernel,
	linux-pm, iommu, linux-gpio, linux-i2c, dri-devel,
	linux-bluetooth, linux-wireless, linux-pwm, linux-watchdog,
	linux-clk, dmaengine, linux-sound, linux-spi, linux-nvme

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.
> > > 
> > > t6020 is a cut-down version of t6021, so the former just includes the
> > > latter and disables the missing bits.
> > > 
> > > t6022 is two connected t6021 dies. The implementation seems to use
> > > t6021 and disables blocks based on whether it is useful to carry
> > > multiple instances. The disabled blocks are mostly on the second die.
> > > MMIO addresses on the second die have a constant offset. The interrupt
> > > controller is multi-die aware. This setup can be represented in the
> > > device tree with two top level "soc" nodes. The MMIO offset is applied
> > > via "ranges" and devices are included with preprocessor macros to make
> > > the node labels unique and to specify the die number for the interrupt
> > > definition.
> > > 
> > > The devices itself are very similar to their M1 Pro, M1 Max and M1 Ultra
> > > counterparts. The existing device templates are SoC agnostic so the new
> > > devices can reuse them and include their t602{0,1,2}.dtsi file. The
> > > minor differences in pinctrl and gpio numbers can be easily adjusted.
> > > 
> > > With the t602x SoC family Apple introduced two new devices:
> > > 
> > > The M2 Pro Mac mini is similar to the larger M1 and M2 Max Mac Studio. The
> > > missing SDHCI card reader and two front USB3.1 type-c ports and their
> > > internal USB hub can be easily deleted.
> > > 
> > > The M2 Ultra Mac Pro (tower and rack-mount cases) differs from all other
> > > devices but may share some bits with the M2 Ultra Mac Studio. The PCIe
> > > implementation on the M2 Ultra in the Mac Pro differs slightly. Apple
> > > calls the PCIe controller "apcie-ge" in their device tree. The
> > > implementation seems to be mostly compatible with the base t6020 PCIe
> > > controller. The main difference is that there is only a single port with
> > > with 8 or 16 PCIe Gen4 lanes. These ports connect to a Microchip
> > > Switchtec PCIe switch with 100 lanes to which all internal PCIe devices
> > > and PCIe slots connect too.
> > > 
> > > This series does not include PCIe support for the Mac Pro for two
> > > reasons:
> > > - the linux switchtec driver fails to probe and the downstream PCIe
> > >   connections come up as PCIe Gen1
> > > - some of the internal devices require PERST# and power control to come
> > >   up. Since the device are connected via the PCIe switch the PCIe
> > >   controller can not do this. The PCI slot pwrctrl can be utilized for
> > >   power control but misses integration with PERST# as proposed in [1].
> > > 
> > > This series depends on "[PATCH v2 0/5] Apple device tree sync from
> > > downstream kernel" [2] due to the reuse of the t600x device templates
> > > (patch dependencies and DT compilation) and 4 page table level support
> > > in apple-dart and io-pgtable-dart [3] since the dart instances report
> > > 42-bit IAS (IOMMU device attach fails without the series).
> > > 
> > > 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:

Acked-by: Rob Herring (Arm) <robh@kernel.org>

Rob

^ permalink raw reply	[flat|nested] 46+ messages in thread

* Re: (subset) [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible
  2025-08-28 14:01 ` [PATCH 18/37] mfd: macsmc: Add "apple,t8103-smc" compatible Janne Grunau
@ 2025-09-03 13:33   ` Lee Jones
  0 siblings, 0 replies; 46+ messages in thread
From: Lee Jones @ 2025-09-03 13:33 UTC (permalink / raw)
  To: Sven Peter, Alyssa Rosenzweig, Neal Gompa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Hector Martin,
	Rafael J. Wysocki, Viresh Kumar, Thomas Gleixner, Joerg Roedel,
	Will Deacon, Robin Murphy, Linus Walleij, Mark Kettenis,
	Andi Shyti, Jassi Brar, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Sasha Finkelstein,
	Marcel Holtmann, Luiz Augusto von Dentz, Johannes Berg,
	van Spriel, Lee Jones, Uwe Kleine-König, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck, Michael Turquette,
	Martin Povišer, Vinod Koul, Liam Girdwood, Mark Brown,
	Marc Zyngier, Ulf Hansson, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Jaroslav Kysela, Takashi Iwai,
	Janne Grunau
  Cc: asahi, linux-arm-kernel, devicetree, linux-kernel, linux-pm,
	iommu, linux-gpio, linux-i2c, dri-devel, linux-bluetooth,
	linux-wireless, linux-pwm, linux-watchdog, linux-clk, dmaengine,
	linux-sound, linux-spi, linux-nvme

On Thu, 28 Aug 2025 16:01:37 +0200, Janne Grunau wrote:
> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,smc" anymore [1]. Use
> "apple,t8103-smc" as base compatible as it is the SoC the driver and
> bindings were written for.
> 
> [1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
> 
> [...]

Applied, thanks!

[18/37] mfd: macsmc: Add "apple,t8103-smc" compatible
        commit: 667ec87a2cfa50a528aaece758271794a1932141

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2025-09-03 13:33 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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-02  8:15 ` Krzysztof Kozlowski

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).