Skip to content

Commit

Permalink
dts: msm8916: Add Samsung Galaxy Core Prime LTE SM-G360G
Browse files Browse the repository at this point in the history
* dts: coreprimelte: Use msm8916-samsung-cprime.dtsi
* dts: Add Samsung Galaxy Core Prime LTE SM-G360G
  • Loading branch information
博麗霊夢 committed May 27, 2022
1 parent 6692274 commit c420e87
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- 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 Core Prime LTE - SM-G360F, SM-G360G (rossaltezt is quirky - see comment in `dts/msm8916/msm8916-samsung-r03.dts`)
- Samsung Galaxy E7 - SM-E7000
- Samsung Galaxy Grand Prime - SM-G530FZ, SM-G530H, SM-G530W, SM-G530Y (G530Y is quirky - see comment in `dts/msm8916/msm8916-samsung-r11.dts`)
- Samsung Galaxy J3 (2016) - SM-J3109, SM-J320YZ
Expand Down
16 changes: 16 additions & 0 deletions dts/msm8916/msm8916-samsung-cprime.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
samsung,muic-reset {
i2c-gpio-pins = <2 3>;
i2c-address = <0x14>;
};

panel {
compatible = "samsung,cprime-panel";

ss_dsi_panel_HX8369B_BV045WVM_WVGA {
compatible = "samsung,hx8369b-bv045wvm";
};

ss_dsi_panel_SC7798A_BV045WVM_WVGA {
compatible = "samsung,sc7798a-bv045wvm";
};
};
5 changes: 1 addition & 4 deletions dts/msm8916/msm8916-samsung-r00.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
qcom,msm-id = <206 0>;
qcom,board-id = <0xCE08FF01 1>;

samsung,muic-reset {
i2c-gpio-pins = <2 3>;
i2c-address = <0x14>;
};
#include "msm8916-samsung-cprime.dtsi"
};
};
11 changes: 7 additions & 4 deletions dts/msm8916/msm8916-samsung-r01.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@
model = "Samsung Galaxy Core Prime LTE (SM-G360F)";
compatible = "samsung,coreprimelte", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "G360F*";
#include "msm8916-samsung-cprime.dtsi"
};

samsung,muic-reset {
i2c-gpio-pins = <2 3>;
i2c-address = <0x14>;
};
rossaltedv {
model = "Samsung Galaxy Core Prime LTE (SM-G360G)";
compatible = "samsung,rossaltexsa", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "G360GD*";
#include "msm8916-samsung-cprime.dtsi"
};
};
12 changes: 12 additions & 0 deletions dts/msm8916/msm8916-samsung-r03.dts
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,16 @@
i2c-address = <0x25>;
};
};

/*
* Before building for rossaltezt, please comment out all dtbs except
* "$(LOCAL_DIR)/msm8916-samsung-r03.dtb" at './rules.mk'.
* rossaltezt doesn't work with multi-dtbs; only goes into "Download mode".
*/
rossaltezt {
model = "Samsung Galaxy Core Prime LTE (SM-G360G)";
compatible = "samsung,rossaltexsa", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "G360GZT*";
#include "msm8916-samsung-cprime.dtsi"
};
};
11 changes: 11 additions & 0 deletions dts/msm8916/msm8916-samsung-r04.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,15 @@
i2c-address = <0x25>;
};
};

rossaltedv {
model = "Samsung Galaxy Core Prime LTE (SM-G360G)";
compatible = "samsung,rossaltexsa", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "G360GD*";

qcom,msm-id = <206 0>;
qcom,board-id = <0xCE08FF01 1>;

#include "msm8916-samsung-cprime.dtsi"
};
};

0 comments on commit c420e87

Please sign in to comment.