Skip to content

Commit

Permalink
dts: Add Huawei Maimang 5 / Nova (Plus) / G9 (Plus)
Browse files Browse the repository at this point in the history
Codename: milan
  • Loading branch information
bzy-080408 authored and z3ntu committed Jul 8, 2023
1 parent d74aab4 commit cbf97d9
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ and then loaded by lk2nd.
- Xiaomi Mi A1 - tissot
- XIaomi Mi A2 Lite - daisy
- Samsung Galaxy Tab A2 XL WiFi (2018) - SM-T590
- Huawei Maimang 5 / Nova (Plus) / G9 (Plus) - milan

## Installation
1. Download `lk2nd.img` (as of now there's no build available so you'll need to build it yourself.)
Expand Down
49 changes: 49 additions & 0 deletions dts/msm8953-huawei-milan.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2023, bzy-080408 <[email protected]>

/dts-v1/;

/include/ "msm8953.dtsi"

/ {
model = "Huawei Maimang 5 / Nova (Plus) / G9 (Plus)";
compatible = "huawei,milan", "qcom,msm8953", "lk2nd,device";
qcom,msm-id = <293 0x0>;
qcom,board-id = <8000 0>, <8001 0>, <8002 0>, <8003 0>, <8016 0>,
<8017 0>, <8018 0>, <8019 0>, <8032 0>, <8033 0>,
<8035 0>, <8048 0>, <8049 0>, <8050 0>, <8051 0>,
<8066 0>, <8064 0>, <8067 0>, <8080 0>, <8082 0>,
<8083 0>, <8098 0>, <8099 0>, <8114 0>, <8130 0>;

panel {
compatible = "huawei,milan-panel";

qcom,mdss_dsi_boe_otm1906c_5p5_1080p_cmd {
compatible = "huawei,boe_otm1906c_5p5_1080p_cmd";
};
qcom,mdss_dsi_boe_td4322_5p5_1080p_cmd {
compatible = "huawei,boe_td4322_5p5_1080p_cmd";
};
qcom,mdss_dsi_boe_test1906c_5p5_1080p_cmd {
compatible = "huawei,boe_test1906c_5p5_1080p_cmd";
};
qcom,mdss_dsi_ctc_nt35596s_5p5_1080p_video {
compatible = "huawei,ctc_nt35596s_5p5_1080p_video";
};
qcom,mdss_dsi_ctc_otm1906c_5p5_1080p_cmd {
compatible = "huawei,ctc_otm1906c_5p5_1080p_cmd";
};
qcom,mdss_dsi_jdi_r63452_5p5_1080p_cmd {
compatible = "huawei,jdi_r63452_5p5_1080p_cmd";
};
qcom,mdss_dsi_tianma_fic8736_5p5_1080p_cmd {
compatible = "huawei,tianma_fic8736_5p5_1080p_cmd";
};
qcom,mdss_dsi_tianma_focal8716_5p5_1080p_video {
compatible = "huawei,tianma_focal8716_5p5_1080p_video";
};
qcom,mdss_dsi_tianma_otm1906c_5p5_1080p_cmd {
compatible = "huawei,tianma_otm1906c_5p5_1080p_cmd";
};
};
};
1 change: 1 addition & 0 deletions dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DTBS += \
endif
ifeq ($(PROJECT), msm8953-secondary)
DTBS += \
$(LOCAL_DIR)/msm8953-huawei-milan.dtb \
$(LOCAL_DIR)/msm8953-meizu-m1721.dtb \
$(LOCAL_DIR)/msm8953-motorola-potter.dtb \
$(LOCAL_DIR)/msm8953-tenor-holland.dtb \
Expand Down

0 comments on commit cbf97d9

Please sign in to comment.