Skip to content

Commit b7ec7e0

Browse files
luk1337TravMurav
authored andcommitted
dts: msm8996: Add support for Xiaomi Mi 5s Plus
1 parent 1e4432f commit b7ec7e0

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
- OnePlus 3T
175175
- Xiaomi Mi 5 - gemini
176176
- Xiaomi Mi 5s - capricorn
177+
- Xiaomi Mi 5s Plus - natrium
177178
- ZTE Axon 7
178179

179180
### lk2nd-msm8960
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
3+
#include <skeleton64.dtsi>
4+
#include <lk2nd.dtsi>
5+
6+
/ {
7+
qcom,msm-id =
8+
<QCOM_ID_MSM8996 0x30000>,
9+
<QCOM_ID_MSM8996SG 0x10000>;
10+
qcom,board-id = <47 0>;
11+
qcom,pmic-id = <0x20009 0x10013 0x00 0x00>;
12+
};
13+
14+
&lk2nd {
15+
model = "Xiaomi Mi 5s Plus";
16+
compatible = "xiaomi,natrium";
17+
};

lk2nd/device/dts/msm8996/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ ADTBS += \
77
$(LOCAL_DIR)/msm8996-lg-h990.dtb \
88
$(LOCAL_DIR)/msm8996-xiaomi-mi5.dtb \
99
$(LOCAL_DIR)/msm8996-xiaomi-mi5s.dtb \
10+
$(LOCAL_DIR)/msm8996-xiaomi-mi5s-plus.dtb \
1011
$(LOCAL_DIR)/msm8996-zte-axon7.dtb \

0 commit comments

Comments
 (0)