Skip to content

Commit 2ce450f

Browse files
chipmunkmcandersson
authored andcommitted
arm64: dts: qcom: msm8916-samsung-coreprimeltevzw: add device tree
Samsung Galaxy Core Prime Verizon Wireless is a phone based on MSM8916. They are similar to the other Samsung devices based on MSM8916 with only a few minor differences. The device trees contain initial support with: - GPIO keys - Regulator haptic - SDHCI (internal and external storage) - USB Device Mode - UART (on USB connector via the SM5502 MUIC) - WCNSS (WiFi/BT) - Regulators - QDSP6 audio - Speaker/earpiece/headphones/microphones via digital/analog codec in MSM8916/PM8916 - WWAN Internet via BAM-DMUX - PMIC and charger - Touchscreen There are different variants of Core Prime, with some differences in NFC and MUIC. The common parts are shared in msm8916-samsung-fortuna-common.dtsi and msm8916-samsung-rossa-common.dtsi to reduce duplication. Signed-off-by: Max McNamee <maxmcnamee@proton.me> [Raymond: Refactor touchscreen and MUIC. Add commit messages.] Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260223220514.2556033-4-wonderfulshrinemaidenofparadise@postmarketos.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent bb0a09a commit 2ce450f

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-motorola-surnia.dtb
8282
dtb-$(CONFIG_ARCH_QCOM) += msm8916-mtp.dtb
8383
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a3u-eur.dtb
8484
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-a5u-eur.dtb
85+
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-coreprimeltevzw.dtb
8586
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-e5.dtb
8687
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-e7.dtb
8788
dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-gprimeltecan.dtb
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
/dts-v1/;
4+
5+
#include "msm8916-samsung-rossa-common.dtsi"
6+
7+
/ {
8+
model = "Samsung Galaxy Core Prime LTE Verizon Wireless";
9+
compatible = "samsung,coreprimeltevzw", "qcom,msm8916";
10+
chassis-type = "handset";
11+
};
12+
13+
&battery {
14+
charge-term-current-microamp = <150000>;
15+
constant-charge-current-max-microamp = <700000>;
16+
constant-charge-voltage-max-microvolt = <4400000>;
17+
};
18+
19+
&charger {
20+
richtek,usb-connector = <&usb_con_sm5502>;
21+
status = "okay";
22+
};
23+
24+
&mpss_mem {
25+
/* Firmware for coreprimeltevzw needs more space */
26+
reg = <0x0 0x86800000 0x0 0x5400000>;
27+
};
28+
29+
&muic_sm5502 {
30+
status = "okay";
31+
};
32+
33+
&s3fwrn5_nfc {
34+
status = "disabled";
35+
};
36+
37+
&usb {
38+
extcon = <&muic_sm5502>, <&muic_sm5502>;
39+
status = "okay";
40+
};
41+
42+
&usb_hs_phy {
43+
extcon = <&muic_sm5502>;
44+
};

0 commit comments

Comments
 (0)