ARM: dts: exynos: add 'chassis-type' property
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 17 Oct 2021 10:12:27 +0000 (12:12 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 19 Oct 2021 08:57:40 +0000 (10:57 +0200)
A new 'chassis-type' root node property has recently been approved for
the device-tree specification.

Add this property for end-user devices (such as laptops,
smartphones and tablets) based on Samsung Exynos ARM SoCs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211017101228.19478-2-krzysztof.kozlowski@canonical.com
14 files changed:
arch/arm/boot/dts/exynos3250-rinato.dts
arch/arm/boot/dts/exynos4210-i9100.dts
arch/arm/boot/dts/exynos4210-trats.dts
arch/arm/boot/dts/exynos4210-universal_c210.dts
arch/arm/boot/dts/exynos4412-i9300.dts
arch/arm/boot/dts/exynos4412-i9305.dts
arch/arm/boot/dts/exynos4412-n710x.dts
arch/arm/boot/dts/exynos4412-p4note-n8010.dts
arch/arm/boot/dts/exynos4412-trats2.dts
arch/arm/boot/dts/exynos5250-snow-rev5.dts
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5250-spring.dts
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5800-peach-pi.dts

index f6ba5e42604043a4966600e89dc6b271be5671e6..5f7f8fedfb926c63b4c40e09204e8a48069dcbb4 100644 (file)
@@ -19,6 +19,7 @@
 / {
        model = "Samsung Rinato board";
        compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
+       chassis-type = "watch";
 
        aliases {
                i2c7 = &i2c_max77836;
index 55922176807e67023e5c7940ab1c0472c7809e2d..19bb7dc98b3391eb56764ba07a7b6558c2077f13 100644 (file)
@@ -18,6 +18,7 @@
 / {
        model = "Samsung Galaxy S2 (GT-I9100)";
        compatible = "samsung,i9100", "samsung,exynos4210", "samsung,exynos4";
+       chassis-type = "handset";
 
        memory@40000000 {
                device_type = "memory";
index 3eb8df319246c936827b6a9ad2c4042ad784aeb5..9c4ff7521348f3109884f3c900671b937b262635 100644 (file)
@@ -16,6 +16,7 @@
 / {
        model = "Samsung Trats based on Exynos4210";
        compatible = "samsung,trats", "samsung,exynos4210", "samsung,exynos4";
+       chassis-type = "handset";
 
        memory@40000000 {
                device_type = "memory";
index f052853244a4c2c08f7f3c41cbb36a055be823f0..9f93e7464aedd602816cc88f8da1e41ea03bc377 100644 (file)
@@ -16,6 +16,7 @@
 / {
        model = "Samsung Universal C210 based on Exynos4210 rev0";
        compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4";
+       chassis-type = "handset";
 
        memory@40000000 {
                device_type = "memory";
index 07fbcf845c49f8e5096b8eaad10f37bb4fa0b4b1..61aca5798f388dd3c33949bf648e40ae65efdc53 100644 (file)
@@ -12,6 +12,7 @@
 / {
        model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412";
        compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
+       chassis-type = "handset";
 
        /* bootargs are passed in by bootloader */
 
index 6bc3d897f43299555abb78e7d6a9da0a3e862cdc..77083f1a827314e8f8638224d74ed66382ffd7c8 100644 (file)
@@ -5,6 +5,7 @@
 / {
        model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412";
        compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
+       chassis-type = "handset";
 
        /* bootargs are passed in by bootloader */
 
index 2c792142605c28dbce40f0fcce66e9ab9de42800..9ae05b0d684cb7d538f12fcd9b82a37e87198f3d 100644 (file)
@@ -5,6 +5,7 @@
 / {
        compatible = "samsung,n710x", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
        model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
+       chassis-type = "handset";
 
        memory@40000000 {
                device_type = "memory";
index 9f559425bd2cbe5a21b1420b13a2e4dcfa7c0290..0932ec5866cc7d944a59267465fea7731fa0db83 100644 (file)
@@ -12,6 +12,7 @@
 / {
        model = "Samsung Galaxy Note 10.1 (GT-N8010/N8013) based on Exynos4412";
        compatible = "samsung,n8010", "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
+       chassis-type = "tablet";
 
        /* this is the base variant without any kind of modem */
 };
index 7b447b63007ea4e3dbb1fb3575dbb61572aea0d4..3c2d2a7836da810dbfa3b9bf3cb9a37c69e0b9d9 100644 (file)
@@ -15,6 +15,7 @@
 / {
        model = "Samsung Trats 2 based on Exynos4412";
        compatible = "samsung,trats2", "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
+       chassis-type = "handset";
 
        memory@40000000 {
                device_type = "memory";
index 0822b778c035a81693fb83dd639e043124976b86..f8ca61df698182aae89055252953e49ba418e247 100644 (file)
@@ -14,6 +14,7 @@
        model = "Google Snow Rev 5+";
        compatible = "google,snow-rev5", "samsung,exynos5250",
                "samsung,exynos5";
+       chassis-type = "laptop";
 
        sound {
                compatible = "google,snow-audio-max98090";
index 9946dce54d746bb693e978011f5831529c83571d..a630bc654a49aff443b9f4cdc431eeea69c1bde1 100644 (file)
@@ -12,6 +12,7 @@
        model = "Google Snow";
        compatible = "google,snow-rev4", "google,snow", "samsung,exynos5250",
                "samsung,exynos5";
+       chassis-type = "laptop";
 
        sound {
                compatible = "google,snow-audio-max98095";
index fba1462b19dfddbffe0faf07d4f7464e1ce124be..e0feedcf54bba2763f5f719b34d1503a09c3fdd4 100644 (file)
@@ -16,6 +16,7 @@
 / {
        model = "Google Spring";
        compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5";
+       chassis-type = "laptop";
 
        memory@40000000 {
                device_type = "memory";
index 315b3dc9c017e3b9a61e936b45517f6dd93cd2a1..e76fb104db19ac09933d168e9c1d11aa9e2e2ab3 100644 (file)
@@ -26,6 +26,7 @@
                "google,pit-rev7", "google,pit-rev6",
                "google,pit", "google,peach","samsung,exynos5420",
                "samsung,exynos5";
+       chassis-type = "laptop";
 
        aliases {
                /* Assign 20 so we don't get confused w/ builtin ones */
index 0ce3443d39a833a32370984bd0e42a5e43fd773c..77013ee586f87d75f1c7c45c37937e8743c1f47d 100644 (file)
@@ -24,6 +24,7 @@
                "google,pi-rev11", "google,pi-rev10",
                "google,pi", "google,peach", "samsung,exynos5800",
                "samsung,exynos5";
+       chassis-type = "laptop";
 
        aliases {
                /* Assign 20 so we don't get confused w/ builtin ones */