mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladimir Bely <vlwwwwww@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: Abel Vesa <abelvesa@kernel.org>,
	Stephan Gerhold <stephan.gerhold@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, Vladimir Bely <vlwwwwww@gmail.com>
Subject: [PATCH 3/3] arm64: dts: qcom: Add Samsung Galaxy A3 (SM-A300F)
Date: Sun, 29 Nov 2026 03:13:34 +0300	[thread overview]
Message-ID: <20261129001334.988276-4-vlwwwwww@gmail.com> (raw)
In-Reply-To: <20261129001334.988276-1-vlwwwwww@gmail.com>

Add devicetree for the Samsung Galaxy A3 (2015) SM-A300F (a3lte). It is
hardware-identical to the SM-A300FU (msm8916-samsung-a3u-eur.dts) except
that its modem firmware uses a smaller reserved memory region
(0x5100000 vs 0x5400000, freeing 3 MiB of RAM on a 1 GiB device).

Include msm8916-samsung-a3u-eur.dts and override model, compatible, and
&mpss_mem. Tested on SM-A300F (display, Wi-Fi, audio, modem).

Signed-off-by: Vladimir Bely <vlwwwwww@gmail.com>
---
 arch/arm64/boot/dts/qcom/Makefile                 |  1 +
 .../arm64/boot/dts/qcom/msm8916-samsung-a3lte.dts | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-a3lte.dts

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 193108793..c48c4463c 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -118,6 +118,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-motorola-harpia.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-motorola-osprey.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-motorola-surnia.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-mtp.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-samsung-a3lte.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-samsung-a3u-eur.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-samsung-a5u-eur.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-samsung-coreprimeltevzw.dtb
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3lte.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3lte.dts
new file mode 100644
index 000000000..7d402948d
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3lte.dts
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
+/dts-v1/;
+
+#include "msm8916-samsung-a3u-eur.dts"
+
+/ {
+	model = "Samsung Galaxy A3 (SM-A300F)";
+	compatible = "samsung,a3lte", "samsung,a3u-eur", "qcom,msm8916";
+};
+
+/* The SM-A300F modem firmware uses a smaller region than SM-A300FU */
+&mpss_mem {
+	reg = <0x0 0x86800000 0x0 0x5100000>;
+};
-- 
2.43.0


      parent reply	other threads:[~2026-11-29  0:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  0:13 [PATCH 0/3] arm64: dts: qcom: Samsung Galaxy A3 (2015) fixes and SM-A300F support Vladimir Bely
2026-11-29  0:13 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-a3u-eur: Enable external cap for MICBIAS1 Vladimir Bely
2026-11-29  0:13 ` [PATCH 2/3] dt-bindings: arm: qcom: Document Samsung Galaxy A3 (SM-A300F) Vladimir Bely
2026-11-29  0:13 ` Vladimir Bely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261129001334.988276-4-vlwwwwww@gmail.com \
    --to=vlwwwwww@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=stephan.gerhold@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®