/ {
        model = "Sony Xperia Z4 Tablet (Wi-Fi)";
        compatible = "sony,karin_windy", "qcom,apq8094";
+       chassis-type = "tablet";
 
        /*
         * This model uses the APQ variant of MSM8994 (APQ8094).
 
 / {
        model = "Alcatel OneTouch Idol 3 (4.7)";
        compatible = "alcatel,idol347", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "Asus Zenfone 2 Laser";
        compatible = "asus,z00l", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "Huawei Ascend G7";
        compatible = "huawei,g7", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "Longcheer L8150";
        compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "BQ Aquaris X5 (Longcheer L8910)";
        compatible = "longcheer,l8910", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "Samsung Galaxy A3U (EUR)";
        compatible = "samsung,a3u-eur", "qcom,msm8916";
+       chassis-type = "handset";
 
        reg_panel_vdd3: regulator-panel-vdd3 {
                compatible = "regulator-fixed";
 
 / {
        model = "Samsung Galaxy A5U (EUR)";
        compatible = "samsung,a5u-eur", "qcom,msm8916";
+       chassis-type = "handset";
 
        reg_touch_key: regulator-touch-key {
                compatible = "regulator-fixed";
 
 / {
        model = "Xiaomi Redmi 2 (Wingtech WT88047)";
        compatible = "wingtech,wt88047", "qcom,msm8916";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "LG Nexus 5X";
        compatible = "lg,bullhead", "qcom,msm8992";
+       chassis-type = "handset";
+
        /* required for bootloader to select correct board */
        qcom,msm-id = <251 0>, <252 0>;
        qcom,board-id = <0xb64 0>;
 
 / {
        model = "Microsoft Lumia 950";
        compatible = "microsoft,talkman", "qcom,msm8992";
+       chassis-type = "handset";
 };
 
 / {
        model = "Xiaomi Mi 4C";
        compatible = "xiaomi,libra", "qcom,msm8992";
+       chassis-type = "handset";
+
        /* required for bootloader to select correct board */
        qcom,msm-id = <251 0 252 0>;
        qcom,pmic-id = <65545 65546 0 0>;
 
 / {
        model = "Huawei Nexus 6P";
        compatible = "huawei,angler", "qcom,msm8994";
+       chassis-type = "handset";
        /* required for bootloader to select correct board */
        qcom,msm-id = <207 0x20000>;
        qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
 
 / {
        model = "Microsoft Lumia 950 XL";
        compatible = "microsoft,cityman", "qcom,msm8994";
+       chassis-type = "handset";
 };
 
 / {
        model = "Sony Xperia Z3+/Z4";
        compatible = "sony,ivy-row", "qcom,msm8994";
+       chassis-type = "handset";
 };
 
 &pm8994_l3 {
 
 / {
        model = "Sony Xperia Z4 Tablet (LTE)";
        compatible = "sony,karin-row", "qcom,msm8994";
+       chassis-type = "tablet";
 };
 
 &blsp2_i2c5 {
 
 / {
        model = "Sony Xperia Z5 Premium";
        compatible = "sony,satsuki-row", "qcom,msm8994";
+       chassis-type = "handset";
 };
 
 &pm8994_l14 {
 
 / {
        model = "Sony Xperia Z5";
        compatible = "sony,sumire-row", "qcom,msm8994";
+       chassis-type = "handset";
 };
 
 /delete-node/ &pm8994_l19;
 
 / {
        model = "Sony Xperia Z5 Compact";
        compatible = "sony,suzuran-row", "qcom,msm8994";
+       chassis-type = "handset";
 };
 
 &pm8994_l14 {
 
 / {
        model = "Sony Xperia X Performance";
        compatible = "sony,dora-row", "qcom,msm8996";
+       chassis-type = "handset";
 };
 
 /delete-node/ &tof_sensor;
 
 / {
        model = "Sony Xperia XZ";
        compatible = "sony,kagura-row", "qcom,msm8996";
+       chassis-type = "handset";
 };
 
 / {
        model = "Sony Xperia XZs";
        compatible = "sony,keyaki-row", "qcom,msm8996";
+       chassis-type = "handset";
 };
 
 &pm8994_l19 {
 
 / {
        model = "Xiaomi Mi 5";
        compatible = "xiaomi,gemini", "qcom,msm8996";
+       chassis-type = "handset";
        qcom,msm-id = <246 0x30001>;
        qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>;
        qcom,board-id = <31 0>;
 
 / {
        model = "Xiaomi Mi Note 2";
        compatible = "xiaomi,scorpio", "qcom,msm8996";
+       chassis-type = "handset";
        qcom,msm-id = <305 0x10000>;
        qcom,board-id = <34 0>;
 
 
 / {
        model = "Asus NovaGo TP370QL";
        compatible = "asus,novago-tp370ql", "qcom,msm8998";
+       chassis-type = "convertible";
 };
 
 &blsp1_i2c6 {
 
 / {
        model = "F(x)tec Pro1 (QX1000)";
        compatible = "fxtec,pro1", "qcom,msm8998";
+       chassis-type = "handset";
        qcom,board-id = <0x02000b 0x10>;
 
        /*
 
 / {
        model = "HP Envy x2";
        compatible = "hp,envy-x2", "qcom,msm8998";
+       chassis-type = "convertible";
 };
 
 &blsp1_i2c6 {
 
 / {
        model = "Lenovo Miix 630";
        compatible = "lenovo,miix-630", "qcom,msm8998";
+       chassis-type = "convertible";
 };
 
 &blsp1_i2c6 {
 
 / {
        model = "OnePlus 5";
        compatible = "oneplus,cheeseburger", "qcom,msm8998";
+       chassis-type = "handset";
        /* Required for bootloader to select correct board */
        qcom,board-id = <8 0 16859 23>;
 
 
 / {
        model = "OnePlus 5T";
        compatible = "oneplus,dumpling", "qcom,msm8998";
+       chassis-type = "handset";
        /* Required for bootloader to select correct board */
        qcom,board-id = <8 0 17801 43>;
 };
 
 / {
        model = "Sony Xperia XZ1 Compact";
        compatible = "sony,xperia-lilac", "qcom,msm8998";
+       chassis-type = "handset";
 };
 
 &ibb {
 
 / {
        model = "Sony Xperia XZ Premium";
        compatible = "sony,xperia-maple", "qcom,msm8998";
+       chassis-type = "handset";
 
        disp_dvdd_vreg: disp-dvdd-vreg {
                compatible = "regulator-fixed";
 
 / {
        model = "Sony Xperia XZ1";
        compatible = "sony,xperia-poplar", "qcom,msm8998";
+       chassis-type = "handset";
 };
 
 &ibb {
 
 / {
        model = "Sony Xperia 10";
        compatible = "sony,kirin-row", "qcom,sdm630";
+       chassis-type = "handset";
 
        chosen {
                framebuffer@9d400000 {
 
 / {
        model = "Sony Xperia XA2 Ultra";
        compatible = "sony,discovery-row", "qcom,sdm630";
+       chassis-type = "handset";
 };
 
 / {
        model = "Sony Xperia XA2";
        compatible = "sony,pioneer-row", "qcom,sdm630";
+       chassis-type = "handset";
 };
 
 / {
        model = "Sony Xperia XA2 Plus";
        compatible = "sony,voyager-row", "qcom,sdm630";
+       chassis-type = "handset";
 
        chosen {
                framebuffer@9d400000 {
 
 / {
        model = "Xiaomi Redmi Note 7";
        compatible = "xiaomi,lavender", "qcom,sdm660";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &blsp1_uart2;
 
 / {
        model = "OnePlus 6";
        compatible = "oneplus,enchilada", "qcom,sdm845";
+       chassis-type = "handset";
 };
 
 &display_panel {
 
 / {
        model = "OnePlus 6T";
        compatible = "oneplus,fajita", "qcom,sdm845";
+       chassis-type = "handset";
 };
 
 &display_panel {
 
 / {
        model = "Xiaomi Pocophone F1";
        compatible = "xiaomi,beryllium", "qcom,sdm845";
+       chassis-type = "handset";
 
        /* required for bootloader to select correct board */
        qcom,board-id = <69 0>;
 
 / {
        model = "Lenovo Yoga C630";
        compatible = "lenovo,yoga-c630", "qcom,sdm845";
+       chassis-type = "convertible";
 
        aliases {
                hsuart0 = &uart6;
 
 
        model = "Sony Xperia 10 II";
        compatible = "sony,pdx201", "qcom,sm6125";
+       chassis-type = "handset";
 
        chosen {
                #address-cells = <2>;
 
 / {
        model = "Sony Xperia 10 III";
        compatible = "sony,pdx213", "qcom,sm6350";
+       chassis-type = "handset";
        qcom,msm-id = <434 0x10000>, <459 0x10000>;
        qcom,board-id = <0x1000B 0>;
 
 
 / {
        model = "Microsoft Surface Duo";
        compatible = "microsoft,surface-duo", "qcom,sm8150";
+       chassis-type = "handset";
 
        aliases {
                serial0 = &uart2;
 
 / {
        model = "Sony Xperia 5";
        compatible = "sony,bahamut-generic", "qcom,sm8150";
+       chassis-type = "handset";
 };
 
 &framebuffer {
 
 / {
        model = "Sony Xperia 1";
        compatible = "sony,griffin-generic", "qcom,sm8150";
+       chassis-type = "handset";
 };
 
 / {
        model = "Sony Xperia 1 II";
        compatible = "sony,pdx203-generic", "qcom,sm8250";
+       chassis-type = "handset";
 };
 
 /delete-node/ &vreg_l7f_1p8;
 
 / {
        model = "Sony Xperia 5 II";
        compatible = "sony,pdx206-generic", "qcom,sm8250";
+       chassis-type = "handset";
 };
 
 &framebuffer {