Skip to content

Commit

Permalink
Add MSM8917 Motorola Moto E5 Plus Variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Operachi061 committed Jan 27, 2025
1 parent b9c007b commit bddb368
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
- Leeco s2
- Lenovo K5 Play (l38011)
- Motorola Moto E5 (nora)
- Motorola Moto E5 Plus (hannah) (MSM8917)
- Motorola Moto E5 Plus (hannah) (MSM8937)
- Motorola Moto G5 (cedric)
- Motorola Moto G5S (montana)
Expand Down
24 changes: 24 additions & 0 deletions lk2nd/device/dts/msm8952/msm8917-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@
};

&lk2nd {
motorola-hannah {
model = "Motorola Moto E5 Plus (hannah) (msm8917)";
compatible = "motorola,hannah";
lk2nd,match-device = "hannah";

lk2nd,dtb-files = "msm8917-motorola-hannah";

lk2nd,match-panel;
panel {
compatible = "motorola,hannah-panel", "lk2nd,panel";
qcom,mdss_dsi_mot_tianma_599_hd_video_v0 {
compatible = "motorola,hannah-599-tianma";
};

qcom,mdss_dsi_mot_djn_599_hd_video_v0 {
compatible = "motorola,hannah-599-djn";
};

qcom,qcom,mdss_dsi_mot_djn_600_hd_video_v0 {
compatible = "motorola,hannah-600-djn";
};
};
};

motorola-nora {
model = "Motorola Moto E5 (nora) (MSM8917)";
compatible = "motorola,nora";
Expand Down
4 changes: 2 additions & 2 deletions lk2nd/device/dts/msm8952/msm8937-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
lk2nd,dtb-files = "msm8937-motorola-cedric";
};

hannah {
motorola-hannah {
model = "Motorola Moto E5 Plus (hannah) (MSM8937)";
compatible = "motorola,hannah";
lk2nd,match-device = "hannah";
Expand All @@ -41,7 +41,7 @@
};
};

l38011 {
l38011 {
model = "Lenovo K5 Play (l38011)";
compatible = "lenovo,l38011";
lk2nd,match-panel;
Expand Down

0 comments on commit bddb368

Please sign in to comment.