[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260109-apple-dt-chassis-type-v1-0-c215503734c5@jannau.net>
Date: Fri, 09 Jan 2026 16:25:42 +0100
From: Janne Grunau <j@...nau.net>
To: Sven Peter <sven@...nel.org>, Neal Gompa <neal@...pa.dev>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Janne Grunau <j@...nau.net>
Subject: [PATCH 0/4] arm64: dts: apple: Add chassis-type properties
Add chassis-type properties for all Apple silicon Macs. "chassis-type"
is used by u-boot to fill the SMBIOS "System Enclosure or Chassis Type"
field. User space software uses this field to to determine if a device
is an laptop. The exact use case eludes me unfortunately.
The Mac Pro uses "server" as chassis-type which is not entirely
accurate. The tower and rack mount Mac Pro versions share the same .dts
file and are identical except for the enclosure. I haven't found an
obvious property in Apple's device tree to distinguish between those so
both use "server" instead of the more accurate "tower" and "rack mount
chassis". The latter chassis-types are not in dt-schema anyway.
Signed-off-by: Janne Grunau <j@...nau.net>
---
Janne Grunau (4):
arm64: dts: apple: Add chassis-type property for all Macbooks
arm64: dts: apple: Add chassis-type property for Apple desktop devices
arm64: dts: apple: Add chassis-type property for Mac Pro
arm64: dts: apple: Add chassis-type property for Apple iMacs
arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi | 2 ++
arch/arm64/boot/dts/apple/t600x-j375.dtsi | 2 ++
arch/arm64/boot/dts/apple/t6022-j180d.dts | 2 ++
arch/arm64/boot/dts/apple/t8103-j274.dts | 1 +
arch/arm64/boot/dts/apple/t8103-j293.dts | 1 +
arch/arm64/boot/dts/apple/t8103-j313.dts | 1 +
arch/arm64/boot/dts/apple/t8103-j456.dts | 1 +
arch/arm64/boot/dts/apple/t8103-j457.dts | 1 +
arch/arm64/boot/dts/apple/t8112-j413.dts | 1 +
arch/arm64/boot/dts/apple/t8112-j415.dts | 1 +
arch/arm64/boot/dts/apple/t8112-j473.dts | 1 +
arch/arm64/boot/dts/apple/t8112-j493.dts | 1 +
12 files changed, 15 insertions(+)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20260109-apple-dt-chassis-type-f31523a1f681
Best regards,
--
Janne Grunau <j@...nau.net>
Powered by blists - more mailing lists