Skip to content

Commit

Permalink
dts: msm8909: add ZTE N818S sapphire
Browse files Browse the repository at this point in the history
  • Loading branch information
kclinx committed Nov 17, 2024
1 parent 4754d48 commit 7ccc879
Show file tree
Hide file tree
Showing 3 changed files with 37 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 @@ -69,6 +69,7 @@
- Nokia 6300 4G
- Nokia 8000 4G
- Nokia 8110 4G
- ZTE N818S (sapphire)

### lk2nd-msm8952

Expand Down
35 changes: 35 additions & 0 deletions lk2nd/device/dts/msm8909/msm8909-zte-sapphire.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// SPDX-License-Identifier: BSD-3-Clause

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

/ {
qcom,msm-id = <QCOM_ID_MSM8909 0>;
qcom,board-id = <0x1000b 0x6e>, <0x1040b 0x6e>;

compatible = "qcom,msm8909-qrd", "qcom,msm8909", "qcom,qrd";
};

&lk2nd {
zte-sapphire {
model = "ZTE N818S (sapphire)";
compatible = "zte,sapphire";
lk2nd,match-panel;
lk2nd,dtb-files = "msm8909-zte-sapphire";

panel {
// FIXME: this panel does not exist in mainline
// mdss_dsi_hlt_jd9161_hsd_4p_fwvga_video
compatible = "zte,sapphire-panel", "lk2nd,panel";

qcom,mdss_dsi_hlt_jd9161_hsd_4p_fwvga_video {
compatible = "helitai,jd9161-hsd";
};

// possible other variant
qcom,zte-lianchuang-ili9806e-hsd-4p0-fwvga-video {
compatible = "zte,lianchuang-ili9806e-hsd";
};
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8909/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ QCDTBS += \
$(LOCAL_DIR)/msm8909-1gb-qrd-skuc.dtb \
$(LOCAL_DIR)/msm8909-mtp.dtb \
$(LOCAL_DIR)/msm8909-qrd-skue.dtb \
$(LOCAL_DIR)/msm8909-zte-sapphire.dtb \

ADTBS += \
$(LOCAL_DIR)/apq8009w-wtp.dtb \

0 comments on commit 7ccc879

Please sign in to comment.