Skip to content

Commit

Permalink
dts: msm8996: Add support for Xiaomi Mi 5
Browse files Browse the repository at this point in the history
  • Loading branch information
sib0ndt authored Nov 30, 2024
1 parent 29fd021 commit 93d6d65
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@

- LG V20 - h990
- OnePlus 3T
- Xiaomi Mi5 - Gemini

### lk2nd-msm8960

Expand Down
15 changes: 15 additions & 0 deletions lk2nd/device/dts/msm8996/msm8996-xiaomi-mi5.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BSD-3-Clause

#include <skeleton64.dtsi>
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8996 0x30001>;
qcom,board-id = <31 0>, <32 0>;
qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>;
};

&lk2nd {
model = "Xiaomi Mi 5";
compatible = "xiaomi,gemini";
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8996/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
ADTBS += \
$(LOCAL_DIR)/msm8996pro-oneplus3t.dtb \
$(LOCAL_DIR)/msm8996-lg-h990.dtb \
$(LOCAL_DIR)/msm8996-xiaomi-mi5.dtb \

0 comments on commit 93d6d65

Please sign in to comment.