Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: msm8953: Add support for Xiaomi Redmi 5 (rosy) #405

Merged
merged 2 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
- Xiaomi Mi A1 (tissot)
- Xiaomi Mi A2 Lite (daisy)
- Xiaomi Redmi 4 Prime (markw)
- Xiaomi Redmi 5 (rosy)
- Xiaomi Redmi 5 Plus (vince)
- Xiaomi Redmi 6 Pro (sakura)
- Xiaomi Redmi 7 (onclite)
Expand Down
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8953/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ADTBS += \
$(LOCAL_DIR)/msm8953-xiaomi-vince.dtb \
$(LOCAL_DIR)/sdm450-samsung-r04.dtb \
$(LOCAL_DIR)/sdm450-samsung-r05.dtb \
$(LOCAL_DIR)/sdm450-xiaomi-rosy.dtb \
$(LOCAL_DIR)/sdm632-fairphone-fp3.dtb \
$(LOCAL_DIR)/sdm632-motorola-ocean.dtb \
$(LOCAL_DIR)/sdm632-mtp.dtb \
Expand Down
18 changes: 18 additions & 0 deletions lk2nd/device/dts/msm8953/sdm450-xiaomi-rosy.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause

/dts-v1/;

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

/ {
qcom,msm-id = <QCOM_ID_SDM450 0>;
qcom,board-id = <QCOM_BOARD_ID(QRD, 1, 0) 1>;
};

&lk2nd {
model = "Xiaomi Redmi 5";
compatible = "xiaomi,rosy";

lk2nd,dtb-files = "sdm450-xiaomi-rosy";
};