Skip to content

Commit

Permalink
dts: msm8953: Add Xiaomi Mi Max 2 (oxygen)
Browse files Browse the repository at this point in the history
  • Loading branch information
barni2000 authored and TravMurav committed Jan 3, 2025
1 parent 2422c80 commit ccd16a0
Show file tree
Hide file tree
Showing 3 changed files with 32 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 @@ -116,6 +116,7 @@
- Samsung Tab A2 XL WIFI
- Xiaomi Mi A1 (tissot)
- Xiaomi Mi A2 Lite (daisy)
- Xiaomi Mi Max 2 (oxygen)
- Xiaomi Redmi 4 Prime (markw)
- Xiaomi Redmi 5 (rosy)
- Xiaomi Redmi 5 Plus (vince)
Expand Down
30 changes: 30 additions & 0 deletions lk2nd/device/dts/msm8953/msm8953-xiaomi-oxygen.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// SPDX-License-Identifier: BSD-3-Clause

/dts-v1/;

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

/ {
qcom,msm-id = <QCOM_ID_MSM8953 0>;
qcom,board-id = <26 0>;
};

&lk2nd {
model = "Mi Max 2 (oxygen)";
compatible = "xiaomi,oxygen";
lk2nd,match-panel;

lk2nd,dtb-files = "msm8953-xiaomi-oxygen";

panel {
compatible = "xiaomi,oxygen-panel", "lk2nd,panel";

qcom,mdss_dsi_auo_r61322_1080p_video {
compatible = "xiaomi,oxygen-r61322-auo";
};
qcom,mdss_dsi_tianma_r63350_1080p_video {
compatible = "xiaomi,oxygen-r63350-tianma";
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8953/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ADTBS += \
$(LOCAL_DIR)/msm8953-xiaomi-common.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-daisy.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-markw.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-oxygen.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-vince.dtb \
$(LOCAL_DIR)/sdm450-motorola-ali.dtb \
$(LOCAL_DIR)/sdm450-samsung-r04.dtb \
Expand Down

0 comments on commit ccd16a0

Please sign in to comment.