Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- Motorola Moto E (2015) - surnia
- Motorola Moto G (2015) - osprey
- Motorola Moto G4 Play - harpia
- OPPO A33 (ql790)
- Panasonic ELUGA U2
- Samsung Galaxy A3 (2015) - SM-A300F, SM-A300FU, SM-A300YZ
- Samsung Galaxy A5 (Duos) (2015) - SM-A5000, SM-A500F, SM-A500FU, SM-A500H, SM-A500YZ
Expand Down
34 changes: 34 additions & 0 deletions lk2nd/device/dts/msm8916/msm8916-oppo-a33.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// SPDX-License-Identifier: BSD-3-Clause

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

/ {
qcom,msm-id = <QCOM_ID_MSM8916 0>;
qcom,board-id = <QCOM_BOARD_ID(QRD, 0x21, 1) 5>,
<QCOM_BOARD_ID(QRD, 0x22, 1) 5>,
<QCOM_BOARD_ID(QRD, 0x23, 1) 5>;
};

&lk2nd {
model = "OPPO A33";
compatible = "oppo,a33", "oppo,ql790";
lk2nd,dtb-files = "msm8916-oppo-a33";

panel {
compatible = "oppo,a33-panel", "lk2nd,panel";

qcom,mdss_dsi_nt35521h_720p_video {
compatible = "oppo,dijing-nt35521h";
};
};

gpio-keys {
compatible = "gpio-keys";

volume-up {
lk2nd,code = <KEY_VOLUMEUP>;
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8916/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ QCDTBS += \
$(LOCAL_DIR)/msm8916-motorola-surnia.dtb \
$(LOCAL_DIR)/msm8916-mtp.dtb \
$(LOCAL_DIR)/msm8916-mtp-smb1360.dtb \
$(LOCAL_DIR)/msm8916-oppo-a33.dtb \
$(LOCAL_DIR)/msm8916-qrd-4.dtb \
$(LOCAL_DIR)/msm8916-qrd-5.dtb \
$(LOCAL_DIR)/msm8916-qrd-7+12.dtb \
Expand Down
Loading