Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
z3ntu committed Jul 7, 2023
1 parent 7d70319 commit 480f0e1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +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 - Milan
- Huawei Nova (Plus) - Milan
- Huawei G9 (Plus) - Milan
- 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
58 changes: 30 additions & 28 deletions dts/msm8953-huawei-milan.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@
/include/ "msm8953.dtsi"

/ {
model = "Huawei Maimang 5 / Nova (Plus) / G9 (Plus)";
compatible = "huawei,sdm625", "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>;
model = "Huawei Maimang 5 / Nova (Plus) / G9 (Plus)";
compatible = "huawei,sdm625", "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,sdm625-panel";

qcom,mdss_dsi_boe_otm1906c_5p5_1080p_cmd {
compatible = "huawei,boe_otm1906c_5p5_1080p_cmd";
};
Expand All @@ -25,23 +27,23 @@
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";
};
};
};
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";
};
};
};
2 changes: 1 addition & 1 deletion dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ DTBS += \
endif
ifeq ($(PROJECT), msm8953-secondary)
DTBS += \
$(LOCAL_DIR)/msm8953-huawei-milan.dtb \
$(LOCAL_DIR)/sdm450-samsung-r04.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-common.dtb \
$(LOCAL_DIR)/sdm632-fairphone-fp3.dtb \
Expand All @@ -16,6 +15,7 @@ DTBS += \
$(LOCAL_DIR)/msm8953-xiaomi-vince.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-markw.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-ysl.dtb \
$(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 480f0e1

Please sign in to comment.