[PATCH v2 00/13] dt-check-style strict fixes for Apple M3, M3 Pro/Max/Ultra

Janne Grunau posted 13 patches 1 week, 4 days ago
arch/arm64/boot/dts/apple/t6030-pmgr.dtsi      |   1 -
arch/arm64/boot/dts/apple/t6030.dtsi           | 277 ++++++++++++++-----------
arch/arm64/boot/dts/apple/t6031-base.dtsi      | 191 +++++++++--------
arch/arm64/boot/dts/apple/t6031-die0.dtsi      |  61 +++---
arch/arm64/boot/dts/apple/t6031-dieX.dtsi      |  92 ++++----
arch/arm64/boot/dts/apple/t6031-gpio-pins.dtsi |  18 +-
arch/arm64/boot/dts/apple/t6031-pmgr.dtsi      |   6 +
arch/arm64/boot/dts/apple/t6031.dtsi           |   7 +-
arch/arm64/boot/dts/apple/t6032-j575d.dts      |  10 +-
arch/arm64/boot/dts/apple/t6032.dtsi           | 175 +++++++++-------
arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi |  15 +-
arch/arm64/boot/dts/apple/t8122-j504.dts       |  10 +-
arch/arm64/boot/dts/apple/t8122-j613.dts       |   9 +-
arch/arm64/boot/dts/apple/t8122-j615.dts       |   9 +-
arch/arm64/boot/dts/apple/t8122-jxxx.dtsi      |   5 +-
arch/arm64/boot/dts/apple/t8122-pmgr.dtsi      |   1 -
arch/arm64/boot/dts/apple/t8122.dtsi           | 256 +++++++++++++----------
17 files changed, 640 insertions(+), 503 deletions(-)
[PATCH v2 00/13] dt-check-style strict fixes for Apple M3, M3 Pro/Max/Ultra
Posted by Janne Grunau 1 week, 4 days ago
Hej,

this series fixes most dt-check-style issues in strict strict mode for
Apple M3 and M3 Pro, Max and Ultra device trees. These device trees are
small so fixing most of the issues helps to check that new additions do
not introduce new dt-check-style issues.

Not handled in this series are property-order and line-length issues in
t*-pmgr.dtsi. I don't expect those files to be touched often and the
diffs would be huge.
In addition it leaves line-length issues for lines with up to 82
columns.

Cache related properties for CPU nodes unfortunately do not share a
prefix so strict property-order would decrease human readability. This
series does not address property-order order for "d-cache-size" and adds
a blank line before it to keep all cache related properties grouped
together.

I verified that the series does not introduce functional changes by
comparing the preprocessed device trees with dtdiff. The diff shows only
phandle changes caused by reordering nodes.

Series based on apple-soc/dt-7.4 (commit f3f2d38a606e ("arm64: dts:
apple: Fix style issues for t6031 multi die .dtsi")).

Janne

Signed-off-by: Janne Grunau <j@jannau.net>
---
Changes in v2:
- s/dt-style-check/dt-check-style/ in the commit messages
- move comment with line it refers to in t8122' serial0 node
- Link to v1: https://lore.kernel.org/r/20260909-apple-dts-m3-dt-style-check-v1-0-4c546e2d9d51@jannau.net

---
Janne Grunau (13):
      arm64: dts: apple: t603x: Fix all blank line dt-check-style issues
      arm64: dts: apple: t8122: Fix blank line related dt-check-style issues
      arm64: dts: apple: t603x: Fix child-name-order dt-check-style issues
      arm64: dts: apple: t8122: Fix child-name-order dt-check-style issues
      arm64: dts: apple: t8122: Fix child-address-order dt-check-style issues
      arm64: dts: apple: t6031: Fix continuation alignment
      arm64: dts: apple: t8122: Fix continuation alignment
      arm64: dts: apple: t6030: Fix most property-order dt-check-style issues
      arm64: dts: apple: t603[12]: Fix most property-order dt-check-style issues
      arm64: dts: apple: t8122: Fix most property-order dt-check-style issues
      arm64: dts: apple: t6032-j575d: Remove unused "framebuffer0" label
      arm64: dts: apple: t603x: Break overly long lines
      arm64: dts: apple: t8122: Break overly long lines

 arch/arm64/boot/dts/apple/t6030-pmgr.dtsi      |   1 -
 arch/arm64/boot/dts/apple/t6030.dtsi           | 277 ++++++++++++++-----------
 arch/arm64/boot/dts/apple/t6031-base.dtsi      | 191 +++++++++--------
 arch/arm64/boot/dts/apple/t6031-die0.dtsi      |  61 +++---
 arch/arm64/boot/dts/apple/t6031-dieX.dtsi      |  92 ++++----
 arch/arm64/boot/dts/apple/t6031-gpio-pins.dtsi |  18 +-
 arch/arm64/boot/dts/apple/t6031-pmgr.dtsi      |   6 +
 arch/arm64/boot/dts/apple/t6031.dtsi           |   7 +-
 arch/arm64/boot/dts/apple/t6032-j575d.dts      |  10 +-
 arch/arm64/boot/dts/apple/t6032.dtsi           | 175 +++++++++-------
 arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi |  15 +-
 arch/arm64/boot/dts/apple/t8122-j504.dts       |  10 +-
 arch/arm64/boot/dts/apple/t8122-j613.dts       |   9 +-
 arch/arm64/boot/dts/apple/t8122-j615.dts       |   9 +-
 arch/arm64/boot/dts/apple/t8122-jxxx.dtsi      |   5 +-
 arch/arm64/boot/dts/apple/t8122-pmgr.dtsi      |   1 -
 arch/arm64/boot/dts/apple/t8122.dtsi           | 256 +++++++++++++----------
 17 files changed, 640 insertions(+), 503 deletions(-)
---
base-commit: f3f2d38a606edf92259aa5e57e083484798d7ea8
change-id: 20260909-apple-dts-m3-dt-style-check-02c9711a89dd

Best regards,
-- 
Janne Grunau <j@jannau.net>
Re: [PATCH v2 00/13] dt-check-style strict fixes for Apple M3, M3 Pro/Max/Ultra
Posted by Sven Peter 3 days, 3 hours ago
On Mon, 14 Sep 2026 10:40:30 +0200, Janne Grunau wrote:
> Hej,
> 
> this series fixes most dt-check-style issues in strict strict mode for
> Apple M3 and M3 Pro, Max and Ultra device trees. These device trees are
> small so fixing most of the issues helps to check that new additions do
> not introduce new dt-check-style issues.
> 
> [...]

Applied to git@github.com:AsahiLinux/linux.git (apple-soc/dt-7.4), thanks!

[01/13] arm64: dts: apple: t603x: Fix all blank line dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/eaec5e1207c1
[02/13] arm64: dts: apple: t8122: Fix blank line related dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/aca5ce9bfb0a
[03/13] arm64: dts: apple: t603x: Fix child-name-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/c7513cd44e08
[04/13] arm64: dts: apple: t8122: Fix child-name-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/29cf25245028
[05/13] arm64: dts: apple: t8122: Fix child-address-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/2448980d56e5
[06/13] arm64: dts: apple: t6031: Fix continuation alignment
        https://github.com/AsahiLinux/linux/commit/030d45664eb6
[07/13] arm64: dts: apple: t8122: Fix continuation alignment
        https://github.com/AsahiLinux/linux/commit/14ed3757881a
[08/13] arm64: dts: apple: t6030: Fix most property-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/bd48cf6ef754
[09/13] arm64: dts: apple: t603[12]: Fix most property-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/d9ac2af8714b
[10/13] arm64: dts: apple: t8122: Fix most property-order dt-check-style issues
        https://github.com/AsahiLinux/linux/commit/8578146c48d9
[11/13] arm64: dts: apple: t6032-j575d: Remove unused "framebuffer0" label
        https://github.com/AsahiLinux/linux/commit/be0bd5b0d880
[12/13] arm64: dts: apple: t603x: Break overly long lines
        https://github.com/AsahiLinux/linux/commit/d8f5ecdd7712
[13/13] arm64: dts: apple: t8122: Break overly long lines
        https://github.com/AsahiLinux/linux/commit/6b49aa53f416

Best regards,
-- 
Sven Peter <sven@kernel.org>