Skip to content

Commit

Permalink
dts: msm8952: Add support for Xiaomi Redmi 4A (rolex)
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Gonzales <[email protected]>
Co-authored-by: Barnabás Czémán <[email protected]>
  • Loading branch information
semfault and barni2000 authored Sep 3, 2024
1 parent b7b49f4 commit 030b7dc
Show file tree
Hide file tree
Showing 3 changed files with 35 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 @@ -79,6 +79,7 @@
- Motorola Moto G6 Play (jeter)
- OPPO A57 (A57) (quirky - see comment in `lk2nd/device/dts/msm8952/msm8940-oppo-a57.dts`)
- Redmi 3S (land) (quirky - see comment in `lk2nd/device/dts/msm8952/msm8937-xiaomi-land.dts`)
- Redmi 4A (rolex)
- Redmi 4X (santoni)
- Redmi 5A (riva)
- Redmi Note 3 Pro (kenzo)
Expand Down
33 changes: 33 additions & 0 deletions lk2nd/device/dts/msm8952/msm8917-xiaomi-rolex.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// SPDX-License-Identifier: BSD-3-Clause

/dts-v1/;

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

/ {
qcom,msm-id = <QCOM_ID_MSM8917 0>;
qcom,board-id = <0x1000b 1>, <0x2000b 1>;
};

&lk2nd {
model = "Xiaomi Redmi 4A (rolex)";
compatible = "xiaomi,rolex";

lk2nd,dtb-files = "msm8917-xiaomi-rolex";

lk2nd,match-panel;
panel {
compatible = "xiaomi,rolex-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8394f_boe_c3a_720p_video {
compatible = "xiaomi,rolex-hx8394f-boe";
};
qcom,mdss_dsi_ili9881c_ebbg_c3a_720p_video {
compatible = "xiaomi,rolex-ili9881c-ebbg";
};
qcom,mdss_dsi_nt35521s_ebbg_720p_video {
compatible = "xiaomi,rolex-nt35521s-ebbg";
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8952/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)

ADTBS += \
$(LOCAL_DIR)/msm8917-mtp.dtb \
$(LOCAL_DIR)/msm8917-xiaomi-rolex.dtb \
$(LOCAL_DIR)/msm8917-xiaomi-riva.dtb \
$(LOCAL_DIR)/msm8937-huawei-aum.dtb \
$(LOCAL_DIR)/msm8937-motorola-jeter.dtb \
Expand Down

0 comments on commit 030b7dc

Please sign in to comment.