Skip to content

Commit

Permalink
Add support for 10or G (G) (#67)
Browse files Browse the repository at this point in the history
* Adhere to the officially rebranded name.
* Adjust memory allocation for the pstore logs.
* Use the touchscreen-compatible support to associate the Goodix GT917D touchscreen with panels Ilitek ili7807 and  Focaltech ft5406 with panel Himax hx8399c.
---------
Co-authored-by: Barnabás Czémán <[email protected]>
  • Loading branch information
MarvelMathesh authored Jun 21, 2024
1 parent 3c6e86e commit 8545278
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and then loaded by lk2nd.
- SDM632

### Supported devices
- 10or G (G)
- Motorola Moto G4 Play (harpia)
- Motorola Moto G5 Plus (potter)
- Motorola Moto G6 (ali) NOTE: Build with motorola-ali-secondary
Expand Down
16 changes: 9 additions & 7 deletions dts/msm8953-tenor-holland.dts → dts/msm8953-10or-g.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@
qcom,board-id= <0x2000b 0x0>;
qcom,pmic-id = <0x10016 0x10011 0x00 0x00>;

model = "10Or G";
compatible = "tenor,g", "qcom,msm8953", "lk2nd,device";
model = "10or G";
compatible = "10or,g", "qcom,msm8953", "lk2nd,device";
lk2nd,pstore = <0x9ff00000 0x100000>;

panel {

compatible = "tenor,g-panel";
compatible = "10or,g-panel";

qcom,mdss_dsi_hx8399c_auo_53_1080p_video {
compatible = "tenor,hx8399c_auo";
compatible = "10or,g-hx8399c-auo";
// touchscreen-compatible = "edt,edt-ft5406";
};

qcom,mdss_dsi_ili7807d_djn_53_1080p_video {
compatible = "tenor,ili7807d_djn";
compatible = "10or,g-ili7807d-djn";
// touchscreen-compatible = "goodix,gt917d";
};

qcom,mdss_dsi_ili7807d_djn_auo_53_1080p_video {
compatible = "tenor,ili7807d_djn_auo";
compatible = "10or,g-ili7807d-djn-auo";
// touchscreen-compatible = "goodix,gt917d";
};

};
Expand Down
2 changes: 1 addition & 1 deletion dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ DTBS += \
endif
ifeq ($(PROJECT), msm8953-secondary)
DTBS += \
$(LOCAL_DIR)/msm8953-10or-g.dtb \
$(LOCAL_DIR)/msm8953-huawei-milan.dtb \
$(LOCAL_DIR)/msm8953-lenovo-kuntao.dtb \
$(LOCAL_DIR)/msm8953-meizu-m1721.dtb \
$(LOCAL_DIR)/msm8953-motorola-potter.dtb \
$(LOCAL_DIR)/msm8953-tenor-holland.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-common.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-daisy.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-markw.dtb \
Expand Down

0 comments on commit 8545278

Please sign in to comment.