From nobody Fri Apr 17 03:10:18 2026 Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D93A337C111 for ; Mon, 23 Feb 2026 22:05:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884337; cv=none; b=HIGnq6KXzL9tteUygGHxmAKDDc6BrH5cKrQVM3kKOz+g2TTy3twR7CxlAClomxPX58k1AMPbDYr+Y5EYxlHqpocynl1SQjIWd0eZpZnaJUgMJju6ZXPASUeNWxXOjPfKT41OgtTImxVoLIs/t62rjTl3DzmBkgiLsyxX1ozIMpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884337; c=relaxed/simple; bh=iJ4CbTCrYdLmFrPnd8AD2DQXbeKk4toKBexKglpoUVs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m4GlHwZHOBrBtG0Ef0X+XCrJrg618N1VmiY64tgMKr3jya+7sUC1i/tFMwxyKreoBP/LApf09foa4NWgSZ5VBvXqBvu9cqKeY9c8hF9UY5WExCg7hARW68UgguQXILEP29dQYACim+yQHzKSVCg/aO7V3CcvkGDp9jKgHkyXtLM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=sDVSFi+Q; arc=none smtp.client-ip=91.218.175.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="sDVSFi+Q" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1771884334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NgbEvxCqnxS2xWV0vKpYj1iqUy5PwFQB8T1ITONd/tY=; b=sDVSFi+QofqC3UwKp7uh5iF1KQAg1iW5fNL8K3nBvK/KYl2tnEUBXtCYVxqDjjqP08D0Gm JQSHcqywRIBxmvInqISR+/LluT5F5ssRo79BVvzq/Sp81zwM1c+TyHDppZjGYTzxKxBA1S lr7pwD7AYfgM/kXK+2h3Gt9ZV7MjhDOvf5BRm/vTh2K6aoFV6/56s5aTl+yhlgk01LFJ2Q 3pkFDgs6kLJspHP82IKYcliU17x5UaaYPvewnQkpWC2BhyLUAUISRTWYNPUOCD98Gl8vR6 Gy0Nd52XnqoZVKUNwR4haWAtdzK5qwg2FKBRzV1oX0DaIeTOfH39lNZbpjwy1g== From: Raymond Hackley To: linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Max McNamee , Stephan Gerhold , Nikita Travkin , ~postmarketos/upstreaming@lists.sr.ht, Raymond Hackley Subject: [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-fortuna: Move SM5504 from rossa and refactor MUIC Date: Mon, 23 Feb 2026 22:05:12 +0000 Message-ID: <20260223220514.2556033-2-wonderfulshrinemaidenofparadise@postmarketos.org> In-Reply-To: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> References: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" From: Raymond Hackley MUIC varies on fortuna/rossa devices, which could be either SM5502 or SM5504. Move SM5504 from msm8916-samsung-rossa-common to msm8916-samsung-fortuna-common and refactor MUIC. Disable MUIC by default in msm8916-samsung-fortuna-common, and explicitly specify them in each fortuna/rossa board. Signed-off-by: Raymond Hackley Reviewed-by: Dmitry Baryshkov --- .../dts/qcom/msm8216-samsung-fortuna3g.dts | 18 +++++++++++ .../qcom/msm8916-samsung-fortuna-common.dtsi | 32 ++++++++++++------- .../dts/qcom/msm8916-samsung-gprimeltecan.dts | 15 ++++++++- .../qcom/msm8916-samsung-grandprimelte.dts | 18 +++++++++++ .../qcom/msm8916-samsung-rossa-common.dtsi | 19 ----------- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 18 +++++++++++ 6 files changed, 88 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts b/arch/= arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts index fba68bf8bf79..aed90c8089aa 100644 --- a/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts +++ b/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts @@ -16,6 +16,15 @@ &battery { constant-charge-voltage-max-microvolt =3D <4350000>; }; =20 +&charger { + richtek,usb-connector =3D <&usb_con_sm5502>; + status =3D "okay"; +}; + +&muic_sm5502 { + status =3D "okay"; +}; + &st_accel { status =3D "okay"; }; @@ -23,3 +32,12 @@ &st_accel { &st_magn { status =3D "okay"; }; + +&usb { + extcon =3D <&muic_sm5502>, <&muic_sm5502>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&muic_sm5502>; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi b= /arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi index fb790b02736a..fd62e82075c4 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi @@ -144,14 +144,31 @@ reg_vdd_tsp_a: regulator-vdd-tsp-a { &blsp_i2c1 { status =3D "okay"; =20 - muic: extcon@25 { + /* MUIC/extcon varies depending on model variant */ + muic_sm5504: extcon@14 { + compatible =3D "siliconmitus,sm5504-muic"; + reg =3D <0x14>; + interrupts-extended =3D <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 =3D <&muic_int_default>; + pinctrl-names =3D "default"; + status =3D "disabled"; + + usb_con_sm5504: connector { + compatible =3D "usb-b-connector"; + label =3D "micro-USB"; + type =3D "micro"; + }; + }; + + muic_sm5502: extcon@25 { compatible =3D "siliconmitus,sm5502-muic"; reg =3D <0x25>; interrupts-extended =3D <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; pinctrl-0 =3D <&muic_int_default>; pinctrl-names =3D "default"; + status =3D "disabled"; =20 - usb_con: connector { + usb_con_sm5502: connector { compatible =3D "usb-b-connector"; label =3D "micro-USB"; type =3D "micro"; @@ -298,7 +315,7 @@ rt5033_reg_safe_ldo: SAFE_LDO { charger: charger { compatible =3D "richtek,rt5033-charger"; monitored-battery =3D <&battery>; - richtek,usb-connector =3D <&usb_con>; + status =3D "disabled"; }; }; }; @@ -348,15 +365,6 @@ &sound { "AMIC3", "MIC BIAS External1"; }; =20 -&usb { - extcon =3D <&muic>, <&muic>; - status =3D "okay"; -}; - -&usb_hs_phy { - extcon =3D <&muic>; -}; - &venus { status =3D "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts b/ar= ch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts index 677e4e286ac0..15dcfe8234d9 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts @@ -86,7 +86,7 @@ rt5033_reg_safe_ldo: SAFE_LDO { charger: charger { compatible =3D "richtek,rt5033-charger"; monitored-battery =3D <&battery>; - richtek,usb-connector =3D <&usb_con>; + richtek,usb-connector =3D <&usb_con_sm5502>; }; }; }; @@ -95,3 +95,16 @@ &mpss_mem { /* Firmware for gprimeltecan needs more space */ reg =3D <0x0 0x86800000 0x0 0x5400000>; }; + +&muic_sm5502 { + status =3D "okay"; +}; + +&usb { + extcon =3D <&muic_sm5502>, <&muic_sm5502>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&muic_sm5502>; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts b/a= rch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts index 582bfcb09684..268277c1caf4 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts @@ -24,7 +24,25 @@ &bosch_magn { status =3D "okay"; }; =20 +&charger { + richtek,usb-connector =3D <&usb_con_sm5502>; + status =3D "okay"; +}; + &mpss_mem { /* Firmware for grandprimelte needs more space */ reg =3D <0x0 0x86800000 0x0 0x5400000>; }; + +&muic_sm5502 { + status =3D "okay"; +}; + +&usb { + extcon =3D <&muic_sm5502>, <&muic_sm5502>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&muic_sm5502>; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi b/a= rch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi index e33453c3e51e..5b08f0e11105 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi @@ -2,28 +2,9 @@ =20 #include "msm8916-samsung-fortuna-common.dtsi" =20 -/* SM5504 MUIC instead of SM5502 */ -/delete-node/ &muic; - /* IST3038 instead of Zinitix BT541 */ /delete-node/ &touchscreen; =20 -&blsp_i2c1 { - muic: extcon@14 { - compatible =3D "siliconmitus,sm5504-muic"; - reg =3D <0x14>; - interrupts-extended =3D <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; - pinctrl-0 =3D <&muic_int_default>; - pinctrl-names =3D "default"; - - usb_con: connector { - compatible =3D "usb-b-connector"; - label =3D "micro-USB"; - type =3D "micro"; - }; - }; -}; - &blsp_i2c5 { touchscreen: touchscreen@50 { compatible =3D "imagis,ist3038"; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts b/arch/arm6= 4/boot/dts/qcom/msm8916-samsung-rossa.dts index 1981bb71f6a9..a5106afc3c59 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts @@ -16,7 +16,25 @@ &battery { constant-charge-voltage-max-microvolt =3D <4400000>; }; =20 +&charger { + richtek,usb-connector =3D <&usb_con_sm5504>; + status =3D "okay"; +}; + &mpss_mem { /* Firmware for rossa needs more space */ reg =3D <0x0 0x86800000 0x0 0x5800000>; }; + +&muic_sm5504 { + status =3D "okay"; +}; + +&usb { + extcon =3D <&muic_sm5504>, <&muic_sm5504>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&muic_sm5504>; +}; --=20 2.47.3 From nobody Fri Apr 17 03:10:18 2026 Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54CC437A4AB for ; Mon, 23 Feb 2026 22:05:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884343; cv=none; b=JCFeHMXGb7MZLMmouJIwG33Ms2TuDam8t8wUVCBkjXPYIzHbjflD2XimuWnK48JOvXYyuoHfGdgxpnaIzXJ3con1u4xLEuLJr/3/zULUTTmEZ7urfajkFz4627fx/SZ2/A5UYeuyoFlwEHAYz+0EBVQiucQMwammLG0ETXV84ic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884343; c=relaxed/simple; bh=rVA5SoWALV6f1ESxH7ee7aG7QXL0O/G49eDbCuM1u78=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oPhJzi8o1/vslc6WuHWqjXMJVTDLI3uDSGbjGj0LxDpM43PEN2pLI6WLmti8SWMXs7zMwPGpBkIHHq6Gw8cUF6bNlOt66HGPMQeCcfPaRnaMl0yJSYGf+Dv3oZq2VIzbLeoLCmN2G+iC81a5SOz0jItTslXC1Q5q1XkoR9mUpEo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=Znp7YH7T; arc=none smtp.client-ip=91.218.175.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="Znp7YH7T" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1771884340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oqARVC7xOknJeby1cQjtxcKWRPygW6+l5hx04Z3BJvM=; b=Znp7YH7TgDnz4vmTIdtVH1xYAIDBUgV0lUDrHkIzgXFFgYOGka8GsQBeF6DYQVGiof+0Nt HgvddfQ1XP9RDdJyB2K/0iqQ/LbzLsO29+17yMbloYc40bl7MH5tqiUJqeDtJ61f/BM9W+ nxAAX5GDdaodkuH3Sje9ETmF0DKeLQfSLLpFwT28IPU48ku1ITdUDw4lyeqwpkypvK9dEB sM0+Pr2jwfJj793TFda0ftL0sVQ1lleDwTFrudgYM1miP1UGfMMmaC/YXlYIMm8f6C28c0 hLI1LpZPYmCckOVOBR9WlMrkE0i5N/uUtvp2tuRTwa6pPqhxBD7Nix4AGaWyug== From: Raymond Hackley To: linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Max McNamee , Stephan Gerhold , Nikita Travkin , ~postmarketos/upstreaming@lists.sr.ht, Raymond Hackley Subject: [PATCH 2/3] dt-bindings: qcom: Document samsung,coreprimeltevzw Date: Mon, 23 Feb 2026 22:05:13 +0000 Message-ID: <20260223220514.2556033-3-wonderfulshrinemaidenofparadise@postmarketos.org> In-Reply-To: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> References: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" From: Raymond Hackley Document the new samsung,coreprimeltevzw device tree bindings used in msm8916-samsung-coreprimeltevzw. Signed-off-by: Raymond Hackley Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index d48c625d3fc4..58034056aaea 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -171,6 +171,7 @@ properties: - qcom,msm8916-mtp - samsung,a3u-eur - samsung,a5u-eur + - samsung,coreprimeltevzw - samsung,e5 - samsung,e7 - samsung,fortuna3g --=20 2.47.3 From nobody Fri Apr 17 03:10:18 2026 Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2B8937998C for ; Mon, 23 Feb 2026 22:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884349; cv=none; b=WuEjQKA//LvXEHMh1jBO8ojKwP4jbp/8jc0iUr8LFI0chL/PB+FuNg6DCsAf6YrLS8RruKg6fF5ia6LFoJuzxYxWs6oCr+mHMuF1eqGJIvkIxtQDgLz373hkCcSEthHfldgeU99bqZwV+KR+ID06g0dOOhj5264d1FyP0VWD+uc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884349; c=relaxed/simple; bh=J+1g3BFKpGsLeGH9UYvNfZGkIIHnMQDBztHbe/vYHes=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oNZL4dDSxxC578qFwuavNJxV8VWHvmHzoVpA+4LsWWKXgSHAIw1qSTDRJ/vFyjlfFOj5Z9TCC4ssHA4ypwfkVPTf3t/7PLr1jQv78ZRp/iPrcwuFsChNVczYOcO9WHOpdukDtjwAk2i0MfUoE2mr4MbPOtnfTvD9d6G/PNlCqIU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=Es4KXQM7; arc=none smtp.client-ip=91.218.175.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="Es4KXQM7" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1771884345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PWGj0PuEmaHxhlgWD4cc6InO9oM8rB7Fxw08u8rCwZw=; b=Es4KXQM7Nf+JQFxE5NW63WUEhXrXkm9t6ef5UY6tQrprP+IBQzx3vzuFYzB63R6u1Xzyx/ ealhNFtSKeJKhWMCd8fikJ2lDVj+J1VN9r+j6K572JViwV4bFsoVwNtscB4Hqo1Nz7b7jF PqlYPuVpKzuigbILx0nODdcvb51zVchLKosVewPIB6ZEsmU/TNaQN31Gh5SHZmFTUPU3b/ zo3phqbq32LHQvVc+kj0xOjI2yX0iGeYddFz9GgVWQshTPjsbgjU0ibLroIGp4ie4wj+sU myzatLmiByPwTDWhmSSKTwq7coU9IJVSqhsb096jd93utHpVaXcG/3701EoCjA== From: Raymond Hackley To: linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Max McNamee , Stephan Gerhold , Nikita Travkin , ~postmarketos/upstreaming@lists.sr.ht, Raymond Hackley Subject: [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-coreprimeltevzw: add device tree Date: Mon, 23 Feb 2026 22:05:14 +0000 Message-ID: <20260223220514.2556033-4-wonderfulshrinemaidenofparadise@postmarketos.org> In-Reply-To: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> References: <20260223220514.2556033-1-wonderfulshrinemaidenofparadise@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" From: Max McNamee 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 [Raymond: Refactor touchscreen and MUIC. Add commit messages.] Signed-off-by: Raymond Hackley Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../qcom/msm8916-samsung-coreprimeltevzw.dts | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-coreprimeltevz= w.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index f80b5d9cf1e8..6cbe919c978a 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -61,6 +61,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-motorola-surnia.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-a3u-eur.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-a5u-eur.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-coreprimeltevzw.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-e5.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-e7.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-gprimeltecan.dtb diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-coreprimeltevzw.dts b= /arch/arm64/boot/dts/qcom/msm8916-samsung-coreprimeltevzw.dts new file mode 100644 index 000000000000..40415b5635ef --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-coreprimeltevzw.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-rossa-common.dtsi" + +/ { + model =3D "Samsung Galaxy Core Prime LTE Verizon Wireless"; + compatible =3D "samsung,coreprimeltevzw", "qcom,msm8916"; + chassis-type =3D "handset"; +}; + +&battery { + charge-term-current-microamp =3D <150000>; + constant-charge-current-max-microamp =3D <700000>; + constant-charge-voltage-max-microvolt =3D <4400000>; +}; + +&charger { + richtek,usb-connector =3D <&usb_con_sm5502>; + status =3D "okay"; +}; + +&mpss_mem { + /* Firmware for coreprimeltevzw needs more space */ + reg =3D <0x0 0x86800000 0x0 0x5400000>; +}; + +&muic_sm5502 { + status =3D "okay"; +}; + +&s3fwrn5_nfc { + status =3D "disabled"; +}; + +&usb { + extcon =3D <&muic_sm5502>, <&muic_sm5502>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&muic_sm5502>; +}; --=20 2.47.3