From: Stephan Gerhold <stephan@gerhold.net>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Andy Gross <agross@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Stephan Gerhold <stephan@gerhold.net>,
Vincent Knecht <vincent.knecht@mailoo.org>,
"Lin, Meng-Bo" <linmengbo0689@protonmail.com>,
"J.R. Divya Antony" <d.antony.jr@gmail.com>,
Nikita Travkin <nikita@trvn.ru>,
Jonathan Albrieux <jonathan.albrieux@gmail.com>,
Jasper Korten <jja2000@gmail.com>,
Siddharth Manthan <siddharth.manthan@gmail.com>,
Markuss Broks <markuss.broks@gmail.com>
Subject: [PATCH v2 00/14] arm64: dts: qcom: msm8916/39: Enable sound and modem with QDSP6
Date: Tue, 03 Oct 2023 15:18:18 +0200 [thread overview]
Message-ID: <20231003-msm8916-modem-v2-0-61b684be55c0@gerhold.net> (raw)
Enable sound and modem on most of the MSM8916/MSM8939
smartphones/tablets supported upstream by:
- Adding the BAM-DMUX DT nodes to msm8939.dtsi for WWAN Internet
- Adding the QDSP6 DT nodes to both msm8916.dtsi and msm8939.dtsi.
This is needed because audio must be routed through the QDSP6
services provided by the modem firmware when the modem is active.
- Setting up the sound/codec related nodes for all the devices.
Most of the sound/modem setup is very similar on all MSM8916/MSM8939
devices because the device-specific details are abstracted by the modem
firmware. Reduce duplication by adding "msm8916-modem-qdsp6.dtsi" which
contains most of the common definitions. The board-specific DT part is
limited to extra codecs or board-specific sound setup.
With this patch set, the following functionality works on most
MSM8916/MSM8939 devices supported upstream:
- Sound: Speaker/earpiece/headphones/microphones
- Modem: Calls, SMS, WWAN Internet (e.g. with ModemManager)
And with extra pending patches also:
- Voice call audio
- GPS
These patches have been contributed by different people and have been
used/tested in postmarketOS for several years. Until now they had to
wait for other changes to be upstreamed (QDSP6 audio support for
MSM8916, dynamic reserved memory, ...).
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Changes in v2:
- msm8916-modem-qdsp6.dtsi: Add some missing new lines (Konrad)
- msm8916-modem-qdsp6.dtsi: Avoid unused template nodes (Konrad)
- Refactored/cleaned up dai-link nodes a bit to fix this
- Split up msm8916.dtsi and msm8939.dtsi QDSP6 patch (Konrad)
- Clarify purpose of &lpass node with a comment (Konrad)
- Move around status properties a bit for more clarity (Konrad)
- Link to v1: https://lore.kernel.org/r/20230926-msm8916-modem-v1-0-398eec74bac9@gerhold.net
---
J.R. Divya Antony (1):
arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem
Jasper Korten (1):
arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem
Jonathan Albrieux (1):
arm64: dts: qcom: msm8916-longcheer-l8910: Add sound and modem
Lin, Meng-Bo (2):
arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem
arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem
Nikita Travkin (1):
arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem
Stephan Gerhold (6):
arm64: dts: qcom: msm8916: Add QDSP6
arm64: dts: qcom: msm8939: Add QDSP6
arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi
arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem
arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem
arm64: dts: qcom: msm8916-wingtech-wt88047: Add sound and modem
Vincent Knecht (2):
arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN
arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem
.../boot/dts/qcom/msm8916-alcatel-idol347.dts | 171 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts | 21 +++
.../boot/dts/qcom/msm8916-longcheer-l8150.dts | 31 +++-
.../boot/dts/qcom/msm8916-longcheer-l8910.dts | 52 +++++++
arch/arm64/boot/dts/qcom/msm8916-modem-qdsp6.dtsi | 148 ++++++++++++++++++
.../dts/qcom/msm8916-samsung-a2015-common.dtsi | 71 +++++++++
.../dts/qcom/msm8916-samsung-e2015-common.dtsi | 4 +
.../boot/dts/qcom/msm8916-samsung-grandmax.dts | 4 +
.../boot/dts/qcom/msm8916-samsung-gt5-common.dtsi | 54 +++++++
arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts | 22 +++
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts | 42 +++++
.../boot/dts/qcom/msm8916-samsung-j5-common.dtsi | 14 ++
arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts | 4 +
.../boot/dts/qcom/msm8916-samsung-serranove.dts | 13 ++
.../boot/dts/qcom/msm8916-wingtech-wt88047.dts | 74 +++++++++
arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 ++++++
arch/arm64/boot/dts/qcom/msm8939-samsung-a7.dts | 70 +++++++++
arch/arm64/boot/dts/qcom/msm8939.dtsi | 79 ++++++++++
18 files changed, 920 insertions(+), 3 deletions(-)
---
change-id: 20230922-msm8916-modem-0d8b6c8abf76
Best regards,
--
Stephan Gerhold <stephan@gerhold.net>
next reply other threads:[~2023-10-03 13:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-03 13:18 Stephan Gerhold [this message]
2023-10-03 13:18 ` [PATCH v2 01/14] arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 02/14] arm64: dts: qcom: msm8916: Add QDSP6 Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 03/14] arm64: dts: qcom: msm8939: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 04/14] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 05/14] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 06/14] arm64: dts: qcom: msm8916-samsung-serranove: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 07/14] arm64: dts: qcom: msm8916-wingtech-wt88047: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 08/14] arm64: dts: qcom: msm8916-alcatel-idol347: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 09/14] arm64: dts: qcom: msm8916-asus-z00l: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 10/14] arm64: dts: qcom: msm8916-longcheer-l8150: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 11/14] arm64: dts: qcom: msm8916-longcheer-l8910: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 12/14] arm64: dts: qcom: msm8916-samsung-gt5: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 13/14] arm64: dts: qcom: msm8916-samsung-j5: " Stephan Gerhold
2023-10-03 13:18 ` [PATCH v2 14/14] arm64: dts: qcom: msm8939-samsung-a7: " Stephan Gerhold
2023-10-22 15:50 ` [PATCH v2 00/14] arm64: dts: qcom: msm8916/39: Enable sound and modem with QDSP6 Bjorn Andersson
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=20231003-msm8916-modem-v2-0-61b684be55c0@gerhold.net \
--to=stephan@gerhold.net \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=d.antony.jr@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jja2000@gmail.com \
--cc=jonathan.albrieux@gmail.com \
--cc=konrad.dybcio@linaro.org \
--cc=linmengbo0689@protonmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markuss.broks@gmail.com \
--cc=nikita@trvn.ru \
--cc=phone-devel@vger.kernel.org \
--cc=siddharth.manthan@gmail.com \
--cc=vincent.knecht@mailoo.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).