mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-18 12:22:27 -04:00
arm64: dts: apple: Add chassis-type property for all Macbooks
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>
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/ {
|
||||
chassis-type = "laptop";
|
||||
|
||||
aliases {
|
||||
bluetooth0 = &bluetooth0;
|
||||
serial0 = &serial0;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user