Skip to content

Commit b262fa9

Browse files
committed
dts: msm8952: add support for Nokia 4.2 (panther)
1 parent c7a0aa2 commit b262fa9

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
- Alcatel Idol 4 (6055*)
8585
- BQ X5 Plus (Longcheer L9360)
8686
- Fossil Gen 6 (hoki)
87+
- HMD Global Nokia 4.2 (panther)
8788
- HMD Global Nokia 5 (nd1)
8889
- HMD Global Nokia 6 (ple)
8990
- Huawei Honor 7C (aum-l41) (quirky - see comment in `lk2nd/device/dts/msm8952/msm8937-huawei-aum.dts`)

lk2nd/device/dts/msm8952/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ADTBS += \
2222
$(LOCAL_DIR)/msm8976-qrd.dtb \
2323
$(LOCAL_DIR)/sdm429-lenovo-tbx505x.dtb \
2424
$(LOCAL_DIR)/sdm429w-fossil-hoki.dtb \
25+
$(LOCAL_DIR)/sdm439-nokia-panther.dtb \
2526
$(LOCAL_DIR)/sdm439-xiaomi-pine.dtb \
2627

2728
DTBS += \
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
3+
/dts-v1/;
4+
5+
#include <skeleton64.dtsi>
6+
#include <lk2nd.dtsi>
7+
8+
/ {
9+
qcom,msm-id = <QCOM_ID_SDM439 0>;
10+
qcom,board-id = <QCOM_BOARD_ID_QRD 2>;
11+
/* Bootloader appears to really want to access symbols */
12+
__symbols__ {};
13+
};
14+
15+
&lk2nd {
16+
model = "HMD Global Nokia 4.2 (panther)";
17+
compatible = "nokia,panther";
18+
19+
lk2nd,dtb-files = "sdm439-nokia-panther";
20+
21+
lk2nd,match-panel;
22+
23+
panel {
24+
compatible = "nokia,panther-panel", "lk2nd,panel";
25+
26+
qcom,mdss_dsi_ili9881c_720p_led_video {
27+
compatible = "nokia,panther-ili9881c";
28+
};
29+
};
30+
};

0 commit comments

Comments
 (0)