diff --git a/README.md b/README.md index 8f25aa114..1c0c7f532 100644 --- a/README.md +++ b/README.md @@ -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.) diff --git a/dts/msm8953-huawei-milan.dts b/dts/msm8953-huawei-milan.dts index ccf46d186..7b57d056b 100644 --- a/dts/msm8953-huawei-milan.dts +++ b/dts/msm8953-huawei-milan.dts @@ -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"; }; @@ -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"; - }; - }; -}; \ No newline at end of file + 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"; + }; + }; +}; diff --git a/dts/rules.mk b/dts/rules.mk index 5c1c90e20..764172bf0 100644 --- a/dts/rules.mk +++ b/dts/rules.mk @@ -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 \ @@ -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 \