Skip to content

Commit

Permalink
Add initial support for Samsung Galaxy Ace 4
Browse files Browse the repository at this point in the history
  • Loading branch information
garethppls authored and stephan-gh committed Mar 23, 2022
1 parent 447bf99 commit 6fa7f52
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- Samsung Galaxy A3 (2015) - SM-A300F, SM-A300FU
- Samsung Galaxy A5 (2015) - SM-A500F, SM-A500FU, SM-A500YZ, SM-A500H
- Samsung Galaxy A7 (2015) - SM-A700YD
- Samsung Galaxy Ace 4 - SM-G357FZ (quirky - see comment in `dts/msm8916/msm8916-samsung-r02.dts`)
- Samsung Galaxy Core Max - SM-G5108Q (quirky - see comment in `dts/msm8916/msm8916-samsung-r08.dts`)
- Samsung Galaxy Core Prime LTE - SM-G360F
- Samsung Galaxy E7 - SM-E7000
Expand Down
15 changes: 15 additions & 0 deletions dts/msm8916/msm8916-samsung-r02.dts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,19 @@
lk2nd,match-bootloader = "G530W*";
#include "msm8916-samsung-gprime.dtsi"
};

/*
* Before building for G357FZ, please comment out all dtbs except
* "$(LOCAL_DIR)/msm8916-samsung-r02.dtb" at './rules.mk'.
* heatqlte doesn't work with multi-dtbs; only goes into "Download mode".
*/
heatqlte {
model = "Samsung Galaxy Ace 4 (SM-G357FZ)";
compatible = "samsung,heatqlte", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "G357FZ*";
samsung,muic-reset {
i2c-gpio-pins = <2 3>;
i2c-address = <0x14>;
};
};
};

0 comments on commit 6fa7f52

Please sign in to comment.