Skip to content

Commit 517bb38

Browse files
authored
dts: msm8952: Add Lenovo Tab 4 10(TB-X304x) support
1 parent 7179e20 commit 517bb38

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
- Huawei MediaPad T3 8 (kob- l09/l09chn/w09/w09chn) (quirky - see comment in `lk2nd/device/dts/msm8952/msm8917-huawei-kobe.dts`)
109109
- Leeco s2
110110
- Lenovo K5 Play (l38011)
111+
- Lenovo Tab 4 10x (TB-X304x)
111112
- Lenovo Tab M10 HD (TB-X505X) (requires flashing [minimal DTBO](#minimal-dtb-overlay))
112113
- Medion Lifetab P10610 (Malata)
113114
- Motorola Moto E4 (perry) (MSM8917)
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/dts-v1/;
3+
#include <skeleton64.dtsi>
4+
#include <lk2nd.dtsi>
5+
#include <dt-bindings/lk2nd/regulator.h>
6+
7+
/ {
8+
qcom,msm-id = <QCOM_ID_MSM8917 0>;
9+
qcom,board-id = <QCOM_BOARD_ID(QRD, 1, 0) 0>;
10+
};
11+
12+
&lk2nd {
13+
lenovo-tbx304x {
14+
model = "Lenovo Tab 4 10 (TB-X304X)";
15+
compatible = "lenovo,tbx304x";
16+
17+
lk2nd,dtb-files = "msm8917-lenovo-tbx304x";
18+
lk2nd,match-panel;
19+
20+
panel {
21+
compatible = "lenovo,tbx304x-panel", "lk2nd,panel";
22+
23+
qcom,mdss_dsi_nt35521s_wxga_video {
24+
compatible = "lenovo,tbx304x-nt35521s";
25+
};
26+
27+
qcom,mdss_dsi_nt35521s_boe_wxga_video {
28+
compatible = "lenovo,tbx304x-nt35521s-boe";
29+
};
30+
31+
qcom,mdss_dsi_jd9364_boe_video {
32+
compatible = "lenovo,tbx304x-jd9364-boe";
33+
};
34+
};
35+
36+
sdcard-regulator {
37+
compatible = "regulator-ldo";
38+
id = <REG_LDO12>;
39+
};
40+
};
41+
};

lk2nd/device/dts/msm8952/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
33

44
ADTBS += \
55
$(LOCAL_DIR)/msm8917-mtp.dtb \
6+
$(LOCAL_DIR)/msm8917-qrd-sku5.dtb \
67
$(LOCAL_DIR)/msm8917-xiaomi-common.dtb \
78
$(LOCAL_DIR)/msm8917-xiaomi-riva.dtb \
89
$(LOCAL_DIR)/msm8920-motorola-jeter.dtb \

0 commit comments

Comments
 (0)