Skip to content

Commit 7205489

Browse files
authored
dts: msm8909: Add support for Lenovo Tab 10 (TB-X103F)
1 parent ecaf3b5 commit 7205489

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- Haier G151 / Andromax A (quirky - see comment in `lk2nd/device/dts/msm8909/msm8909-1gb-qrd-skuc.dts`)
7070
- Lenovo Yoga Tab 3 10 LTE
7171
- Lenovo Yoga Tab 3 10 WIFI
72+
- Lenovo Tab 10 (TB-X103F)
7273
- Mobvoi TicWatch Pro (WF12096)
7374
- Nokia 6300 4G
7475
- Nokia 8000 4G
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
3+
/dts-v1/;
4+
#include <skeleton32.dtsi>
5+
#include <lk2nd.dtsi>
6+
7+
/ {
8+
qcom,msm-id = <QCOM_ID_APQ8009 0x00020000>;
9+
qcom,board-id = <0x0801000b 8>;
10+
};
11+
12+
&lk2nd {
13+
model = "Lenovo Tab 10 (TB-X103F)";
14+
compatible = "lenovo,tb-x103f";
15+
16+
lk2nd,dtb-files = "msm8909-lenovo-tb-x103f";
17+
lk2nd,match-panel;
18+
19+
panel {
20+
compatible = "lenovo,tb-x103f-panel", "lk2nd,panel";
21+
22+
qcom,mdss_dsi_nt35521s_xingyuan_wxga_video {
23+
compatible = "lenovo,nt35521s-xingyuan";
24+
};
25+
};
26+
27+
gpio-keys {
28+
compatible = "gpio-keys";
29+
volume-up {
30+
lk2nd,code = <KEY_VOLUMEUP>;
31+
gpios = <&tlmm 90 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
32+
};
33+
};
34+
};

lk2nd/device/dts/msm8909/rules.mk

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

55
QCDTBS += \
66
$(LOCAL_DIR)/apq8009-qrd-skue.dtb \
7+
$(LOCAL_DIR)/apq8009-lenovo-tb-x103f.dtb \
78
$(LOCAL_DIR)/msm8905-qrd-skub.dtb \
89
$(LOCAL_DIR)/msm8909-1gb-qrd-skuc.dtb \
910
$(LOCAL_DIR)/msm8909-mtp.dtb \

0 commit comments

Comments
 (0)