]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: Add chassis-type property for all Macbooks
authorJanne Grunau <j@jannau.net>
Fri, 9 Jan 2026 15:25:43 +0000 (16:25 +0100)
committerSven Peter <sven@kernel.org>
Tue, 13 Jan 2026 07:01:26 +0000 (08:01 +0100)
All Macbook Air and Pro devices are laptops so annotate this as
chassis-tpe in the root node.

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Link: https://patch.msgid.link/20260109-apple-dt-chassis-type-v1-1-c215503734c5@jannau.net
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
arch/arm64/boot/dts/apple/t8103-j293.dts
arch/arm64/boot/dts/apple/t8103-j313.dts
arch/arm64/boot/dts/apple/t8112-j413.dts
arch/arm64/boot/dts/apple/t8112-j415.dts
arch/arm64/boot/dts/apple/t8112-j493.dts

index c0aac59a6fae4f6f4b387483665349a8e2521c1e..15bd157a486c0d6f8fa23e628a87dc3cf4cac731 100644 (file)
@@ -12,6 +12,8 @@
 #include <dt-bindings/leds/common.h>
 
 / {
+       chassis-type = "laptop";
+
        aliases {
                bluetooth0 = &bluetooth0;
                serial0 = &serial0;
index 5b3c42e9f0e6776241bf746d3458766e44e3639a..91cca3000abc10c302ff59c148c0895de70415e0 100644 (file)
@@ -16,6 +16,7 @@
 / {
        compatible = "apple,j293", "apple,t8103", "apple,arm-platform";
        model = "Apple MacBook Pro (13-inch, M1, 2020)";
+       chassis-type = "laptop";
 
        /*
         * All of those are used by the bootloader to pass calibration
index 97a4344d8dca685708aff136af92a1b316f3c3dd..778e482a6fb67071b13a30bb31cac8d65afd5666 100644 (file)
@@ -16,6 +16,7 @@
 / {
        compatible = "apple,j313", "apple,t8103", "apple,arm-platform";
        model = "Apple MacBook Air (M1, 2020)";
+       chassis-type = "laptop";
 
        led-controller {
                compatible = "pwm-leds";
index 6f69658623bf89ce73e3486bce504f1f5f8003f3..bb9f34e8dc90e55ac2817ce70f17ee4867919fc9 100644 (file)
@@ -16,6 +16,7 @@
 / {
        compatible = "apple,j413", "apple,t8112", "apple,arm-platform";
        model = "Apple MacBook Air (13-inch, M2, 2022)";
+       chassis-type = "laptop";
 
        aliases {
                bluetooth0 = &bluetooth0;
index b54e218e5384ca89155e4350d6680a28a531f408..061629e153eaaa8f96d351feccae2d9152aefb6f 100644 (file)
@@ -16,6 +16,7 @@
 / {
        compatible = "apple,j415", "apple,t8112", "apple,arm-platform";
        model = "Apple MacBook Air (15-inch, M2, 2023)";
+       chassis-type = "laptop";
 
        aliases {
                bluetooth0 = &bluetooth0;
index fb8ad7d4c65a8fe7966f5541f24f03a379143cfb..1f98ab70d7c3ab4f178d78ce3732661401ba77eb 100644 (file)
@@ -16,6 +16,7 @@
 / {
        compatible = "apple,j493", "apple,t8112", "apple,arm-platform";
        model = "Apple MacBook Pro (13-inch, M2, 2022)";
+       chassis-type = "laptop";
 
        /*
         * All of those are used by the bootloader to pass calibration