Skip to content

dts: msm8916: Add support for Core Prime Duos#655

Open
jdrowell wants to merge 1 commit intomsm8916-mainline:mainfrom
jdrowell:main
Open

dts: msm8916: Add support for Core Prime Duos#655
jdrowell wants to merge 1 commit intomsm8916-mainline:mainfrom
jdrowell:main

Conversation

@jdrowell
Copy link
Copy Markdown
Contributor

This is another variant of the G360 (sold in Brazil, dual SIMs).

Without the patch it booted to "Unknown (FIXME!)" as the device, and fastboot was not enabled. With the patch I was able to boot properly and install pmOS.

@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause
// SPDX-LicensecIdentifier: BSD-3-Clause
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// SPDX-LicensecIdentifier: BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause

Stay untouched.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
coreprimelteub {
model = "Samsung Galaxy Core Prime LTE (SM-G360M)";
compatible = "samsung,coreprimelteub", "samsung,rossa";
lk2nd,match-bootloader = "G360M*";
lk2nd,dtb-files = "msm8916-samsung-rossa";
qcom,msm-id = <QCOM_ID_MSM8916 0>;
qcom,board-id = <0xCE08FF01 1>;
muic-reset {
compatible = "samsung,muic-reset";
i2c-reg = <0x14>;
i2c-sda-gpios = <&tlmm 2 I2C_GPIO_FLAGS>;
i2c-scl-gpios = <&tlmm 3 I2C_GPIO_FLAGS>;
};
panel {
compatible = "samsung,cprime-panel", "lk2nd,panel";
ss_dsi_panel_HX8369B_BV045WVM_WVGA {
compatible = "samsung,hx8369b-bv045wvm";
};
ss_dsi_panel_SC7798A_BV045WVM_WVGA {
compatible = "samsung,sc7798a-bv045wvm";
};
};
};
  • Use tabs for indents.
  • Move from revision 0 to 1 qcom,board-id = <0xCE08FF01 1>.
  • The codename is coreprimelteub.
  • Keep the model generic. Should also work on the single SIM model.

Comment on lines +94 to +124
coreprimeduos {
// https://www.gsmarena.com/samsung_galaxy_core_prime-6716.php
model = "Samsung Galaxy Core Prime Duos (SM-G360M)";
compatible = "samsung,coreprimelte", "samsung,rossa";
lk2nd,match-bootloader = "G360M*";

lk2nd,dtb-files = "msm8916-samsung-rossa";

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

muic-reset {
compatible = "samsung,muic-reset";
i2c-reg = <0x14>;
i2c-sda-gpios = <&tlmm 2 I2C_GPIO_FLAGS>;
i2c-scl-gpios = <&tlmm 3 I2C_GPIO_FLAGS>;
};

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

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

ss_dsi_panel_SC7798A_BV045WVM_WVGA {
compatible = "samsung,sc7798a-bv045wvm";
};
};
};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
coreprimeduos {
// https://www.gsmarena.com/samsung_galaxy_core_prime-6716.php
model = "Samsung Galaxy Core Prime Duos (SM-G360M)";
compatible = "samsung,coreprimelte", "samsung,rossa";
lk2nd,match-bootloader = "G360M*";
lk2nd,dtb-files = "msm8916-samsung-rossa";
qcom,msm-id = <QCOM_ID_MSM8916 0>;
qcom,board-id = <0xCE08FF01 1>;
muic-reset {
compatible = "samsung,muic-reset";
i2c-reg = <0x14>;
i2c-sda-gpios = <&tlmm 2 I2C_GPIO_FLAGS>;
i2c-scl-gpios = <&tlmm 3 I2C_GPIO_FLAGS>;
};
panel {
compatible = "samsung,cprime-panel", "lk2nd,panel";
ss_dsi_panel_HX8369B_BV045WVM_WVGA {
compatible = "samsung,hx8369b-bv045wvm";
};
ss_dsi_panel_SC7798A_BV045WVM_WVGA {
compatible = "samsung,sc7798a-bv045wvm";
};
};
};

@wonderfulShrineMaidenOfParadise
Copy link
Copy Markdown
Contributor

And add SM-G360M to Documentation/devices.md.

@wonderfulShrineMaidenOfParadise
Copy link
Copy Markdown
Contributor

Continued in #669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants