Skip to content

Commit

Permalink
dts: msm8939: Add support for Huawei MediaPad T2 10.0 Pro (federer)
Browse files Browse the repository at this point in the history
  • Loading branch information
datenpanne authored and TravMurav committed Feb 9, 2025
1 parent 61b1142 commit 54b322d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Huawei Ascend G7 - G7-L01
- Huawei G7 Plus / G8 / GX8 - rio
- Huawei Honor 5X / GR5 (2016) - kiwi
- Huawei MediaPad T2 10.0 Pro - federer
- Huawei Y635 - Y635-L01 (quirky - see comment in `lk2nd/device/dts/msm8916/msm8916-huawei-y635-l01.dts`)
- Lenovo A6000
- Lenovo A6010
Expand Down
32 changes: 32 additions & 0 deletions lk2nd/device/dts/msm8916/msm8939-huawei-federer.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: BSD-3-Clause

#include <skeleton64.dtsi>
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8939 0>;
qcom,board-id =
<8000 0>, <8000 4>,
<8016 0>, <8016 4>,
<8032 0>, <8032 4>,
<8112 0>, <8112 4>,
<8128 0>, <8128 4>;
};

&lk2nd {
model = "Huawei MediaPad T2 10.0 Pro";
compatible = "huawei,federer";

lk2nd,dtb-files = "msm8939-huawei-federer";

panel {
compatible = "huawei,federer-panel", "lk2nd,panel";

qcom,mdss_dsi_boe_nt51021_10_1200p_video {
compatible = "huawei,boe-nt51021";
};
qcom,mdss_dsi_cmi_nt51021_10_1200p_video {
compatible = "huawei,cmi-nt51021";
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8916/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ QCDTBS += \
$(LOCAL_DIR)/msm8929-samsung.dtb \
$(LOCAL_DIR)/msm8929-qrd-wt82918hd.dtb \
$(LOCAL_DIR)/msm8939-asus-z00t.dtb \
$(LOCAL_DIR)/msm8939-huawei-federer.dtb \
$(LOCAL_DIR)/msm8939-huawei-kiwi.dtb \
$(LOCAL_DIR)/msm8939-huawei-rio.dtb \
$(LOCAL_DIR)/msm8939-mtp.dtb \
Expand Down

0 comments on commit 54b322d

Please sign in to comment.