Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,wcnss-pil: Add support for single power-domain platforms

2025-01-30 Thread Stephan Gerhold
On Wed, Jan 29, 2025 at 10:42:22PM +0100, Luca Weiss wrote: > On woensdag 29 januari 2025 19:44:54 Midden-Europese standaardtijd Krzysztof > Kozlowski wrote: > > On 29/01/2025 18:51, Luca Weiss wrote: > > > From: Matti Lehtimäki > > > > > > Support platforms such as MSM8226 and MSM8974 with only

Re: [PATCH v4 05/13] remoteproc: qcom_q6v5_mss: Add modem support on MSM8226

2025-01-29 Thread Stephan Gerhold
On Wed, Jan 29, 2025 at 12:35:37AM +0100, Luca Weiss wrote: > Add support for the external power block headswitch register needed by > MSM8226 and some other qcom platforms. > > Co-developed-by: Matti Lehtimäki > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss Re

Re: [PATCH v4 00/13] Modem support for MSM8226

2025-01-29 Thread Stephan Gerhold
On Wed, Jan 29, 2025 at 12:35:32AM +0100, Luca Weiss wrote: > This series adds support for modem remoteproc found on MSM8226. > It also adds needed device tree nodes and enables modem used for > location service on matisse-wifi. > > Also bam-dmux node is added for mobile data which is used on > 3G

Re: [PATCH 2/2] remoteproc: qcom_q6v5_pas: Make single-PD handling more robust

2025-01-29 Thread Stephan Gerhold
s also mirrors the latest changes in the qcom_q6v5_mss driver. > > Suggested-by: Stephan Gerhold > Fixes: 17ee2fb4e856 ("remoteproc: qcom: pas: Vote for active/proxy power > domains") > Signed-off-by: Luca Weiss Not sure if Reviewed-by makes sense if I already did Sugge

Re: [PATCH 1/2] remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8226

2025-01-29 Thread Stephan Gerhold
On Tue, Jan 28, 2025 at 10:53:59PM +0100, Luca Weiss wrote: > MSM8226 requires the CX power domain, so use the msm8996_adsp_resource > which has cx under proxy_pd_names and is otherwise equivalent. > > Suggested-by: Stephan Gerhold > Fixes: fb4f07cc9399 ("remoteproc: qcom: p

Re: [PATCH v3 11/13] ARM: dts: qcom: Introduce dtsi for LTE-capable MSM8926

2025-01-28 Thread Stephan Gerhold
On Tue, Jan 28, 2025 at 05:46:09PM +0100, Luca Weiss wrote: > On dinsdag 28 januari 2025 09:07:29 Midden-Europese standaardtijd Stephan > Gerhold wrote: > > On Mon, Jan 27, 2025 at 11:45:43PM +0100, Luca Weiss wrote: > > > MSM8926, while being 'just' an LTE-capa

Re: [PATCH v3 04/13] remoteproc: qcom_q6v5_mss: Handle platforms with one power domain

2025-01-28 Thread Stephan Gerhold
On Tue, Jan 28, 2025 at 11:45:51AM +0100, Konrad Dybcio wrote: > On 27.01.2025 11:45 PM, Luca Weiss wrote: > > For example MSM8974 has mx voltage rail exposed as regulator and only cx > > voltage rail is exposed as power domain. This power domain (cx) is > > attached internally in power domain and

Re: [PATCH v3 13/13] ARM: dts: qcom: msm8226-samsung-matisse-common: Enable modem

2025-01-28 Thread Stephan Gerhold
i Lehtimäki > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- > arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi | 7 +++ > arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts | 4 > 2 files changed, 11 insertions(+) > >

Re: [PATCH v3 12/13] ARM: dts: qcom: msm8926-htc-memul: Enable modem

2025-01-28 Thread Stephan Gerhold
On Mon, Jan 27, 2025 at 11:45:44PM +0100, Luca Weiss wrote: > Enable the modem found on the MSM8926 HTC One Mini 2. > > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- > arch/arm/boot/dts/qcom/qcom-msm8926-htc-memul.dts | 10 ++ > 1 file chan

Re: [PATCH v3 11/13] ARM: dts: qcom: Introduce dtsi for LTE-capable MSM8926

2025-01-28 Thread Stephan Gerhold
e.dts| 1 + > 12 files changed, 30 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom/msm8926.dtsi > b/arch/arm/boot/dts/qcom/msm8926.dtsi I'm personally not a big fan of mixing the naming with and without qcom- prefix. But anyway: R

Re: [PATCH v3 09/13] ARM: dts: qcom: msm8226: Add modem remoteproc node

2025-01-28 Thread Stephan Gerhold
On Mon, Jan 27, 2025 at 11:45:41PM +0100, Luca Weiss wrote: > Add a node for the modem remoteproc found on MSM8226. > > Co-developed-by: Matti Lehtimäki > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- > .../dts/qcom

Re: [PATCH v3 06/13] remoteproc: qcom_q6v5_mss: Add modem support on MSM8926

2025-01-27 Thread Stephan Gerhold
ew struct to support that. > > Signed-off-by: Luca Weiss I wonder if you could reuse &msm8974_mss here. Anyway, I suppose it's better to not allow the fallback_proxy_supply that MSM8974 has. I think it's fine as-is. :-) Reviewed-by: Stephan Gerhold >

Re: [PATCH v3 05/13] remoteproc: qcom_q6v5_mss: Add modem support on MSM8226

2025-01-27 Thread Stephan Gerhold
On Mon, Jan 27, 2025 at 11:45:37PM +0100, Luca Weiss wrote: > Add support for the external power block headswitch register needed by > MSM8226 and some other qcom platforms. > > Co-developed-by: Matti Lehtimäki > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss > --- > drivers/remote

Re: [PATCH v3 04/13] remoteproc: qcom_q6v5_mss: Handle platforms with one power domain

2025-01-27 Thread Stephan Gerhold
gt; > Fixes: 8750cf392394 ("remoteproc: qcom_q6v5_mss: Allow replacing regulators > with power domains") > Co-developed-by: Matti Lehtimäki > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- > drivers/remoteproc/qcom_q6v

Re: [PATCH v2 3/9] remoteproc: qcom_q6v5_mss: Handle platforms with one power domain

2025-01-27 Thread Stephan Gerhold
On Mon, Jan 27, 2025 at 11:21:04PM +0100, Luca Weiss wrote: > On maandag 27 januari 2025 09:58:45 Midden-Europese standaardtijd Stephan > Gerhold wrote: > > On Sun, Jan 26, 2025 at 09:57:22PM +0100, Luca Weiss wrote: > > > For example MSM8974 has mx voltage rail exposed as

Re: [PATCH v2 9/9] ARM: dts: qcom: msm8226-samsung-matisse-common: Enable modem

2025-01-27 Thread Stephan Gerhold
On Mon, Jan 27, 2025 at 02:34:08PM +0100, Luca Weiss wrote: > On maandag 27 januari 2025 10:44:19 Midden-Europese standaardtijd Stephan > Gerhold wrote: > > On Sun, Jan 26, 2025 at 09:57:28PM +0100, Luca Weiss wrote: > > > From: Matti Lehtimäki > > > > >

Re: [PATCH v2 9/9] ARM: dts: qcom: msm8226-samsung-matisse-common: Enable modem

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:28PM +0100, Luca Weiss wrote: > From: Matti Lehtimäki > > Enable modem remoteproc on samsung,matisse-wifi & matisselte. > > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss > --- > arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi | 7

Re: [PATCH v2 6/9] ARM: dts: qcom: msm8226: Add smsm node

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:25PM +0100, Luca Weiss wrote: > From: Matti Lehtimäki > > Add smsm node for remoteproc cores. > > Signed-off-by: Matti Lehtimäki > Co-developed-by: Luca Weiss > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- >

Re: [PATCH v2 8/9] ARM: dts: qcom: msm8226: Add BAM DMUX Ethernet/IP device

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:27PM +0100, Luca Weiss wrote: > BAM DMUX is used as the network interface to the modem. > > Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold > --- > arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 26 ++ > 1 file chan

Re: [PATCH v2 7/9] ARM: dts: qcom: msm8226: Add modem remoteproc node

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:26PM +0100, Luca Weiss wrote: > Add a node for the modem remoteproc found on MSM8226. > > For the apq8026 smartwatches, delete the modem reserved-memory again > since they have very little RAM in the first place anyways, and all of > these devices don't have functiona

Re: [PATCH v2 4/9] remoteproc: qcom_q6v5_mss: Add modem support on MSM8226

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:23PM +0100, Luca Weiss wrote: > Add support for the external power block headswitch register needed by > MSM8226 and some other qcom platforms. > > Co-developed-by: Matti Lehtimäki > Signed-off-by: Matti Lehtimäki > Signed-off-by: Luca Weiss > --- > Changes in v2:

Re: [PATCH v2 3/9] remoteproc: qcom_q6v5_mss: Handle platforms with one power domain

2025-01-27 Thread Stephan Gerhold
On Sun, Jan 26, 2025 at 09:57:22PM +0100, Luca Weiss wrote: > For example MSM8974 has mx voltage rail exposed as regulator and only cx > voltage rail is exposed as power domain. This power domain (cx) is > attached internally in power domain and cannot be attached in this driver. > > Fixes: 8750cf

Re: [PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-11 Thread Stephan Gerhold
On Sat, Feb 10, 2024 at 05:38:56PM +0100, Luca Weiss wrote: > Add the compatibles and indexes for the rpmpd in MSM8974, both with the > standard PM8841+PM8941 PMICs but also devices found with PMA8084. > > Signed-off-by: Luca Weiss > --- > Documentation/devicetree/bindings/power/qcom,rpmpd.yaml

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-27 Thread Stephan Gerhold
On Sat, Nov 25, 2023 at 01:25:22PM +0100, Luca Weiss wrote: > On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > > On Mon, 16 Oct 2023 at 07:35, Krzysztof Kozlowski > > > > > >

[PATCH v2 08/14] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-10-03 Thread Stephan Gerhold
rnary MI2S - These are also used as earpieces at the top/bottom. - Asahi Kasei AK4375 headphone codec on Secondary MI2S -> Primary MI2S is not used for playback Signed-off-by: Vincent Knecht [Stephan: Minor refactoring, add consistent commit message] Signed-off-by: Stephan Gerhold --- T

[PATCH v2 10/14] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-10-03 Thread Stephan Gerhold
: Nikita Travkin Co-developed-by: Stephan Gerhold Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 31 +++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts

[PATCH v2 09/14] arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem

2023-10-03 Thread Stephan Gerhold
16 - WWAN Internet via BAM-DMUX Signed-off-by: "J.R. Divya Antony" [Stephan: rebase and simplify, add consistent commit message] Reviewed-by: Konrad Dybcio Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts | 21 + 1 file changed, 21

[PATCH v2 11/14] arm64: dts: qcom: msm8916-longcheer-l8910: Add sound and modem

2023-10-03 Thread Stephan Gerhold
Albrieux Co-developed-by: Stephan Gerhold Reviewed-by: Konrad Dybcio Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-longcheer-l8910.dts | 52 ++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts b/arch/arm64/boot

[PATCH v2 13/14] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-10-03 Thread Stephan Gerhold
sistent commit message] Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-samsung-j5-common.dtsi | 14 ++ arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts | 4 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-j5-comm

[PATCH v2 14/14] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-10-03 Thread Stephan Gerhold
8916-based Samsung A2015 devices: - NXP TFA9895 codec for speaker on Quaternary MI2S - Samsung-specific audio jack detection (not supported yet) Signed-off-by: "Lin, Meng-Bo" [Stephan: Add consistent commit message, minor refactoring] Signed-off-by: Stephan Gerhold --- arch/arm64/b

[PATCH v2 12/14] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-10-03 Thread Stephan Gerhold
ion (not supported yet) Signed-off-by: Jasper Korten Co-developed-by: Siddharth Manthan Signed-off-by: Siddharth Manthan Co-developed-by: Nikita Travkin Signed-off-by: Nikita Travkin [Stephan: Add consistent commit message, minor refactoring] Signed-off-by: Stephan Gerhold --- .../boot/dts/q

[PATCH v2 07/14] arm64: dts: qcom: msm8916-wingtech-wt88047: Add sound and modem

2023-10-03 Thread Stephan Gerhold
amplifier is connected to HPH_R (headphones) output of the analog codec. There is a separate analog switch that allows disabling playback via the headphone jack. Reviewed-by: Konrad Dybcio Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-wingtech-wt88047.dts | 74

[PATCH v2 03/14] arm64: dts: qcom: msm8939: Add QDSP6

2023-10-03 Thread Stephan Gerhold
possible with special firmware (on DB410c) or when the modem DSP is completely disabled. Add the typical nodes for QDSP6 audio to msm8939.dtsi. The apr node is disabled by default to avoid changing behavior for devices like apq8039-t2 that use the bypassed audio path. Signed-off-by: Stephan Gerhold

[PATCH v2 06/14] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-10-03 Thread Stephan Gerhold
detection (not supported yet) Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts index

[PATCH v2 04/14] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-10-03 Thread Stephan Gerhold
-qdsp6.dtsi include that can be used to simplify enabling the modem for such devices. By default the digital/analog codec in the SoC/PMIC is used, but boards can define additional codecs by adding additional backend DAI links. Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-modem

[PATCH v2 05/14] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-10-03 Thread Stephan Gerhold
for speaker on Quaternary MI2S - Samsung-specific audio jack detection (not supported yet) [Lin: Add e2015 and grandmax] Co-developed-by: "Lin, Meng-Bo" Signed-off-by: "Lin, Meng-Bo" Signed-off-by: Stephan Gerhold --- .../dts/qcom/msm8916-samsung-a2015-

[PATCH v2 02/14] arm64: dts: qcom: msm8916: Add QDSP6

2023-10-03 Thread Stephan Gerhold
possible with special firmware (on DB410c) or when the modem DSP is completely disabled. Add the typical nodes for QDSP6 audio to msm8916.dtsi. The apr node is disabled by default to avoid changing behavior for devices like DB410c that use the bypassed audio path. Signed-off-by: Stephan Gerhold

[PATCH v2 01/14] arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN

2023-10-03 Thread Stephan Gerhold
From: Vincent Knecht BAM DMUX is used as the network interface to the modem. This is copied as-is from msm8916.dtsi. Signed-off-by: Vincent Knecht Reviewed-by: Konrad Dybcio Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 30 ++ 1 file

[PATCH v2 00/14] arm64: dts: qcom: msm8916/39: Enable sound and modem with QDSP6

2023-10-03 Thread Stephan Gerhold
l now they had to wait for other changes to be upstreamed (QDSP6 audio support for MSM8916, dynamic reserved memory, ...). Signed-off-by: Stephan Gerhold --- Changes in v2: - msm8916-modem-qdsp6.dtsi: Add some missing new lines (Konrad) - msm8916-modem-qdsp6.dtsi: Avoid unused template nod

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-10-02 Thread Stephan Gerhold
On Mon, Oct 02, 2023 at 11:59:21AM +0200, Konrad Dybcio wrote: > > > On 9/26/23 22:17, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 10:01:21PM +0200, Konrad Dybcio wrote: > > > On 26.09.2023 21:06, Stephan Gerhold wrote: > > > > On Tue, Sep 26, 2023 at 0

Re: [PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-30 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:59:52PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Nikita Travkin > > > > Enable sound and modem for the Longcheer L8150 (e.g. Wileyfox Swift). > e.g. -> i.e., or is that thing sold under many labels

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:29:29PM +0200, Konrad Dybcio wrote: > On 26.09.2023 22:27, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 10:18:22PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 22:09, Stephan Gerhold wrote: > >>> On Tue, Sep 26, 2023 at 09:56:1

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:18:22PM +0200, Konrad Dybcio wrote: > On 26.09.2023 22:09, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: > >> [...] > >> > >>>>> + > >>>>> &blsp_i2c2 { &

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 10:01:21PM +0200, Konrad Dybcio wrote: > On 26.09.2023 21:06, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 08:49:24PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 18:51, Stephan Gerhold wrote: > >>> Most MSM8916/MSM8939 devices use ver

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:56:12PM +0200, Konrad Dybcio wrote: > [...] > > >>> + > >>> &blsp_i2c2 { > >>> status = "okay"; > >>> > >>> @@ -243,6 +258,13 @@ &gpu { > >>> status = "okay"; > >>> }; > >>> > >>> +&lpass { > >>> + dai-link@3 { > >>> + reg = ; > >>> + qcom,playb

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:57:51PM +0200, Konrad Dybcio wrote: > [...] > > >>> > >>> +&sound { > >>> + status = "okay"; > >>> + audio-routing = > >>> + "AMIC1", "MIC BIAS External1", > >>> + "AMIC2", "MIC BIAS Internal2", > >>> + "AMIC3", "MIC BIAS External1"; > >>> +}; >

Re: [PATCH 13/13] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:04:47PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: "Lin, Meng-Bo" > > > > Enable sound and modem for the Samsung A7. The setup is similar to most > > MSM8916 devices, i.e.: > > &g

Re: [PATCH 12/13] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:04:22PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: "Lin, Meng-Bo" > > > > Enable sound and modem for the Samsung J5 smartphones. The setup is > > similar to most MSM8916 devices, i.e.: &

Re: [PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:59:52PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Nikita Travkin > > > > Enable sound and modem for the Longcheer L8150 (e.g. Wileyfox Swift). > e.g. -> i.e., or is that t

Re: [PATCH 11/13] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:03:14PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Jasper Korten > > > > Enable sound and modem for the Samsung Galaxy Tab A 2015 tablets. > > The setup is similar to most MSM8916 devices, i.

Re: [PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:58:12PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > From: Vincent Knecht > > > > Enable sound and modem for the Alcatel Idol 3 (4.7"). The setup is > > similar to most MSM8916 devices, i.e.: > >

Re: [PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:55:14PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Enable sound and modem for the Samsung S4 Mini Value Edition. The setup > > is similar to most MSM8916 devices, i.e.: > > > > - QDSP6 audio > &g

Re: [PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:54:29PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Enable sound and modem for the Samsung A2015 based devices (A3, A5, E5, > > E7, Grand Max). The setup is similar to most MSM8916 devices, i.e.: > > > > -

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 09:05:24PM +0200, Konrad Dybcio wrote: > On 26.09.2023 20:54, Stephan Gerhold wrote: > > On Tue, Sep 26, 2023 at 08:46:36PM +0200, Konrad Dybcio wrote: > >> On 26.09.2023 18:51, Stephan Gerhold wrote: > >>> MSM8916 and MSM8939 do not have

Re: [PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:49:24PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > Most MSM8916/MSM8939 devices use very similar setups for the modem, > > because most of the device-specific details are abstracted by the modem > > firmwa

Re: [PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
On Tue, Sep 26, 2023 at 08:46:36PM +0200, Konrad Dybcio wrote: > On 26.09.2023 18:51, Stephan Gerhold wrote: > > MSM8916 and MSM8939 do not have a dedicated ADSP. Instead, the audio > > services via APR are also implemented by the modem DSP. Audio can be > > either rou

[PATCH 02/13] arm64: dts: qcom: msm8916/39: Add QDSP6

2023-09-26 Thread Stephan Gerhold
-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 +++ arch/arm64/boot/dts/qcom/msm8939.dtsi | 49 +++ 2 files changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom

[PATCH 13/13] arm64: dts: qcom: msm8939-samsung-a7: Add sound and modem

2023-09-26 Thread Stephan Gerhold
8916-based Samsung A2015 devices: - NXP TFA9895 codec for speaker on Quaternary MI2S - Samsung-specific audio jack detection (not supported yet) Signed-off-by: "Lin, Meng-Bo" [Stephan: Add consistent commit message] Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8939

[PATCH 09/13] arm64: dts: qcom: msm8916-longcheer-l8150: Add sound and modem

2023-09-26 Thread Stephan Gerhold
: Nikita Travkin Co-developed-by: Stephan Gerhold Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 32 -- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts

[PATCH 04/13] arm64: dts: qcom: msm8916-samsung-a2015: Add sound and modem

2023-09-26 Thread Stephan Gerhold
for speaker on Quaternary MI2S - Samsung-specific audio jack detection (not supported yet) [Lin: Add e2015 and grandmax] Co-developed-by: "Lin, Meng-Bo" Signed-off-by: "Lin, Meng-Bo" Signed-off-by: Stephan Gerhold --- .../dts/qcom/msm8916-samsung-a2015-

[PATCH 10/13] arm64: dts: qcom: msm8916-longcheer-l8910: Add sound and modem

2023-09-26 Thread Stephan Gerhold
Albrieux Co-developed-by: Stephan Gerhold Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-longcheer-l8910.dts | 54 ++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8910.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer

[PATCH 07/13] arm64: dts: qcom: msm8916-alcatel-idol347: Add sound and modem

2023-09-26 Thread Stephan Gerhold
rnary MI2S - These are also used as earpieces at the top/bottom. - Asahi Kasei AK4375 headphone codec on Secondary MI2S -> Primary MI2S is not used for playback Signed-off-by: Vincent Knecht [Stephan: minor cleanup, add consistent commit message] Signed-off-by: Stephan Gerhold --- There

[PATCH 05/13] arm64: dts: qcom: msm8916-samsung-serranove: Add sound and modem

2023-09-26 Thread Stephan Gerhold
detection (not supported yet) Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts

[PATCH 11/13] arm64: dts: qcom: msm8916-samsung-gt5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
ion (not supported yet) Signed-off-by: Jasper Korten Co-developed-by: Siddharth Manthan Signed-off-by: Siddharth Manthan Co-developed-by: Nikita Travkin Signed-off-by: Nikita Travkin [Stephan: Add consistent commit message] Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-samsung-

[PATCH 12/13] arm64: dts: qcom: msm8916-samsung-j5: Add sound and modem

2023-09-26 Thread Stephan Gerhold
sistent commit message] Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-samsung-j5-common.dtsi | 15 +++ arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts | 4 2 files changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-j5-comm

[PATCH 03/13] arm64: dts: qcom: msm8916: Add common msm8916-modem-qdsp6.dtsi

2023-09-26 Thread Stephan Gerhold
-qdsp6.dtsi include that can be used to simplify enabling the modem for such devices. By default the digital/analog codec in the SoC/PMIC is used, but boards can define additional codecs using the templates for Secondary and Quaternary MI2S. Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom

[PATCH 08/13] arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem

2023-09-26 Thread Stephan Gerhold
16 - WWAN Internet via BAM-DMUX Signed-off-by: J.R. Divya Antony [Stephan: rebase and simplify, add consistent commit message] Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm6

[PATCH 06/13] arm64: dts: qcom: msm8916-wingtech-wt88047: Add sound and modem

2023-09-26 Thread Stephan Gerhold
amplifier is connected to HPH_R (headphones) output of the analog codec. There is a separate analog switch that allows disabling playback via the headphone jack. Signed-off-by: Stephan Gerhold --- .../boot/dts/qcom/msm8916-wingtech-wt88047.dts | 76 ++ 1 file changed

[PATCH 01/13] arm64: dts: qcom: msm8939: Add BAM-DMUX WWAN

2023-09-26 Thread Stephan Gerhold
From: Vincent Knecht BAM DMUX is used as the network interface to the modem. This is copied as-is from msm8916.dtsi. Signed-off-by: Vincent Knecht Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 30 ++ 1 file changed, 30 insertions

[PATCH 00/13] arm64: dts: qcom: msm8916/39: Enable sound and modem with QDSP6

2023-09-26 Thread Stephan Gerhold
l now they had to wait for other changes to be upstreamed (QDSP6 audio support for MSM8916, dynamic reserved memory, ...). Signed-off-by: Stephan Gerhold --- J.R. Divya Antony (1): arm64: dts: qcom: msm8916-asus-z00l: Add sound and modem Jasper Korten (1): arm64: dts: qcom: msm8916-s

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Stephan Gerhold
On Sat, Sep 23, 2023 at 01:19:46PM +0200, Luca Weiss wrote: > On Samstag, 23. September 2023 12:00:52 CEST Stephan Gerhold wrote: > > On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > > > Hi Matti, > > > > > > On Samstag, 23. September 2023

Re: [PATCH 1/2] pinctrl: qcom: msm8226: Add MPM pin mappings

2023-09-23 Thread Stephan Gerhold
On Sat, Sep 23, 2023 at 11:32:47AM +0200, Luca Weiss wrote: > Hi Matti, > > On Samstag, 23. September 2023 00:40:26 CEST Matti Lehtimäki wrote: > > Add pin <-> wakeirq mappings to allow for waking up the AP from sleep > > through MPM-connected pins. > > > > Signed-off-by: Matti Lehtimäki > > ---

Re: [PATCH v2] firmware: qcom_scm: Only compile legacy calls on ARM

2021-04-08 Thread Stephan Gerhold
On Wed, Apr 07, 2021 at 05:12:06PM -0700, Stephen Boyd wrote: > Quoting Stephan Gerhold (2021-04-05 05:50:26) > > On Fri, Apr 02, 2021 at 10:21:58AM -0700, Stephen Boyd wrote: > > > > > > Ah right, the whole secure world running in 32-bit mode thing. Is > > &g

Re: [RESEND PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add audio support

2021-04-07 Thread Stephan Gerhold
On Thu, Apr 08, 2021 at 01:37:53AM +0530, Joel Selvaraj wrote: > This patch adds audio support for Xiaomi Poco F1 phone. Phone's primary > Mic and 3.5mm Headphone jack are handled through the SDM845 sound card > and WCD9340 codec. > > Tested-by: Amit Pundir > Signed-off-by: Joel Selvaraj > --- >

Re: [PATCH v2] firmware: qcom_scm: Only compile legacy calls on ARM

2021-04-05 Thread Stephan Gerhold
On Fri, Apr 02, 2021 at 10:21:58AM -0700, Stephen Boyd wrote: > Quoting Stephan Gerhold (2021-04-02 03:18:04) > > On Thu, Apr 01, 2021 at 11:58:48PM -0700, Stephen Boyd wrote: > > > [...] > > > > > > Maybe it would be better to catch that problem at the

Re: [PATCH v3] arm64: dts: msm8916: Enable CoreSight STM component

2021-04-02 Thread Stephan Gerhold
hanks for sending the new patch so quickly! The changes look good to me but I cannot really say if they are fully correct or work correctly. (Actually I have no idea how to use coresight or how it is useful! :D) FWIW: Acked-by: Stephan Gerhold > --- > > Changes from v2: > * Correct f

Re: [PATCH v2] firmware: qcom_scm: Only compile legacy calls on ARM

2021-04-02 Thread Stephan Gerhold
On Thu, Apr 01, 2021 at 11:58:48PM -0700, Stephen Boyd wrote: > Quoting Elliot Berman (2021-04-01 18:12:14) > > > > It might be a good idea to wrap these lines from qcom_scm_call with #if > > IS_ENABLED(CONFIG_ARM), and the corresponding ones in qcom_scm_call_atomic: > > > >case SMC_CONVENTI

Re: [PATCH 5/5] arm64: dts: qcom: msm8916: Enable modem and WiFi

2021-03-19 Thread Stephan Gerhold
Hi Bjorn, On Thu, Mar 11, 2021 at 04:33:18PM -0800, Bjorn Andersson wrote: > Enable the modem and WiFi subsystems and specify msm8916 specific > firmware path for these and the WCNSS control service. > > Signed-off-by: Bjorn Andersson The changes itself look good to me, but the commit message i

Re: [PATCH 4.14 07/15] driver core: Extend device_is_dependent()

2021-02-09 Thread Stephan Gerhold
for_each_child() walk. > > > > Fixes: 9ed9895370ae ("driver core: Functional dependencies tracking > > support") > > Reported-by: Stephan Gerhold > > Tested-by: Stephan Gerhold > > Reviewed-by: Saravana Kannan > > Signed-off-by: Rafael J.

Re: [PATCH v2 3/4] arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices

2021-01-30 Thread Stephan Gerhold
vices that don't have a display (e.g. the 4IoT board [1]). Having to disable it specifically is kind of weird. So: Reviewed-by: Stephan Gerhold [1]: https://www.96boards.org/product/4iot/ > --- > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 > arch/arm64/bo

Re: [PATCH v2 2/4] arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7")

2021-01-30 Thread Stephan Gerhold
ometer, gyroscope, ambient light+proximity > > Signed-off-by: Vincent Knecht Reviewed-by: Stephan Gerhold > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 291 ++ > 2 files changed, 292 insertions(

Re: [PATCH 0/3] Add initial support for BQ Aquaris X5

2021-01-28 Thread Stephan Gerhold
On Wed, Jan 27, 2021 at 11:24:07PM +0100, Pavel Machek wrote: > > > How close are you to having useful phone calls? > > > > You can do phone calls (with audio) and you can use mobile data, if you > > have the patches for that. :) I'm trying to find time to finish up the > > drivers needed for that

Re: [PATCH v2 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer

2021-01-26 Thread Stephan Gerhold
msm8916: Add blsp_i2c3". > > Signed-off-by: Jonathan Albrieux Reviewed-by: Stephan Gerhold > --- > .../boot/dts/qcom/msm8916-longcheer-l8910.dts | 37 +++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8916-longchee

Re: [PATCH 0/3] Add initial support for BQ Aquaris X5

2021-01-24 Thread Stephan Gerhold
Hi Pavel, On Sun, Jan 24, 2021 at 10:01:19PM +0100, Pavel Machek wrote: > Hi! > > > Aquaris X5 (Longcheer L8910) is a smartphone released by BQ in 2015. > > > > As part of msm8916-mainline project, this series aims to bring initial > > mainline support for it. > > Good to see another phone bein

Re: [PATCH 2/3] arm64: dts: qcom: msm8916: Add blsp_i2c3

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 02:54:06PM +0100, Jonathan Albrieux wrote: > MSM8916 has another I2C QUP controller that can be enabled on > GPIO 10 and 11. > > Add blsp_i2c3 to msm8916.dtsi and disable it by default. > > Signed-off-by: Jonathan Albrieux Reviewed-by: Stephan Gerho

Re: [PATCH 3/3] arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometer

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 04:07:19PM +0100, Konrad Dybcio wrote: > > +&blsp_i2c3 { > > + status = "okay"; > > + > > + imu@68 { > > + compatible = "bosch,bmi160"; > > + reg = <0x68>; > > + > > + vdd-supply = <&pm8916_l17>; > > + vddio-supply = <&pm8916_l6>;

Re: [PATCH 1/3] arm64: dts: qcom: Add device tree for BQ Aquaris X5 (Longcheer L8910)

2021-01-24 Thread Stephan Gerhold
On Sun, Jan 24, 2021 at 04:12:30PM +0100, Konrad Dybcio wrote: > The sorting on smd_rpm_regulators & msmgpio seems off.. unless it's the new > thing to put it at the end? > It's consistent like this for all MSM8916 device trees at least. Back when I converted them I thought that it's kind of an

Re: [PATCH] driver core: Extend device_is_dependent()

2021-01-15 Thread Stephan Gerhold
On Fri, Jan 15, 2021 at 09:20:54AM -0800, Saravana Kannan wrote: > On Fri, Jan 15, 2021 at 5:03 AM Rafael J. Wysocki wrote: > > On Fri, Jan 15, 2021 at 11:03 AM Stephan Gerhold > > wrote: > > > On Thu, Jan 14, 2021 at 11:31:12AM -0800, Saravana Kannan wrote: > >

Re: [PATCH] driver core: Extend device_is_dependent()

2021-01-15 Thread Stephan Gerhold
estor of the > > target one and return 1 if that is the case. > > > > Signed-off-by: Rafael J. Wysocki > > Reported-by: Stephan Gerhold > > --- > > drivers/base/core.c | 12 +++- > > 1 file changed, 11 insertions(+), 1 deletion(-) > > >

Re: Infinite recursion in device_reorder_to_tail() due to circular device links

2021-01-14 Thread Stephan Gerhold
Hi Peter, On Thu, Jan 14, 2021 at 08:54:54AM +0800, Peter Chen wrote: > On 21-01-13 12:18:35, Stephan Gerhold wrote: > > > > Also, on a completely different note I looked again at the chipidea USB > > driver that produces this situation. To request the PHY (which ends u

Re: [PATCH v11 0/7] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2021-01-14 Thread Stephan Gerhold
Hi, On Wed, Jan 13, 2021 at 10:24:49PM +, Srinivas Kandagatla wrote: > On 13/01/2021 20:08, Stephan Gerhold wrote: > > On Thu, Oct 08, 2020 at 06:37:40AM +0100, Srinivas Kandagatla wrote: > > > On 08/10/2020 06:16, Srinivasa Rao Mandadapu wrote: > > > > These pat

Re: [PATCH v11 0/7] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2021-01-13 Thread Stephan Gerhold
Hi Srinivas, On Thu, Oct 08, 2020 at 06:37:40AM +0100, Srinivas Kandagatla wrote: > On 08/10/2020 06:16, Srinivasa Rao Mandadapu wrote: > > These patches are to support audio over DP port on Qualcomm's SC7180 LPASS > > Asoc. It includes machine driver, cpu driver, platform driver updates for > > H

Re: Infinite recursion in device_reorder_to_tail() due to circular device links

2021-01-13 Thread Stephan Gerhold
On Tue, Jan 12, 2021 at 07:24:24PM +0100, Rafael J. Wysocki wrote: > On Tue, Jan 12, 2021 at 3:32 PM Rafael J. Wysocki wrote: > > > > On Mon, Jan 11, 2021 at 7:46 PM Stephan Gerhold wrote: > > > > > > Hi, > > > > > > since 5.11-

Infinite recursion in device_reorder_to_tail() due to circular device links

2021-01-11 Thread Stephan Gerhold
Hi, since 5.11-rc1 I get kernel crashes with infinite recursion in device_reorder_to_tail() in some situations... It's a bit complicated to explain so I want to apologize in advance for the long mail. :) Kernel panic - not syncing: kernel stack overflow CPU: 1 PID: 33 Comm: kworker/1:1 Not ta

Re: [PATCH RFC] remoteproc: qcom: wcnss: Adjust voltage requirements for Pronto v2

2021-01-04 Thread Stephan Gerhold
Hi Konrad, On Sat, Dec 26, 2020 at 03:11:00PM +0100, Konrad Dybcio wrote: > This is required for MSM8974 devices that cannot afford to push > the regulators further. > > Signed-off-by: Konrad Dybcio > --- > drivers/remoteproc/qcom_wcnss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 3/3] ARM: dts: exynos: Fix charging regulator voltage and current for i9100

2020-12-03 Thread Stephan Gerhold
On Thu, Dec 03, 2020 at 11:50:41AM +0200, Krzysztof Kozlowski wrote: > > Unfortunately it seems Samsung started to remove most of older > kernel source code from their OS compliance page. S1, S2 and S3 are > mostly gone. I was able to find just few remaining sources and I am now > updating my vend

Re: [PATCH 1/6] arm64: dts: qcom: msm8916-longcheer-l8150: Enable PM8916 vibrator

2020-11-14 Thread Stephan Gerhold
Hi, Thanks for sending these! On Fri, Nov 13, 2020 at 10:59:12PM +0500, nikitos...@gmail.com wrote: > From: Nikita Travkin > > L8150 has a vibrator connected to PM8916. Add it to the device tree. > > Signed-off-by: Nikita Travkin For all 6 patches in this series: Revie

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-16 Thread Stephan Gerhold
On Fri, Oct 16, 2020 at 12:12:22PM +0100, Sudeep Holla wrote: > On Fri, Oct 16, 2020 at 07:00:21AM +0100, Sudeep Holla wrote: > > On Fri, Oct 16, 2020 at 09:54:34AM +0530, Viresh Kumar wrote: > > > On 15-10-20, 19:05, Sudeep Holla wrote: > > > > OK, this breaks with SCMI which doesn't provide clock

Re: [PATCH v3 0/2] Add MSM8939 RPM power domains

2020-10-01 Thread Stephan Gerhold
vers/soc/qcom/rpmpd.c | 27 +++ > include/dt-bindings/power/qcom-rpmpd.h| 10 +++ > 3 files changed, 38 insertions(+) > > -- > 2.17.1 > Thanks for making the changes! I don't know much about MSM8939 but from what I know this looks good to me. FWIW, for both patches: Reviewed-by: Stephan Gerhold

Re: [PATCH] opp: Allow opp-level to be set to 0

2020-09-14 Thread Stephan Gerhold
Reported-by: Stephan Gerhold > Signed-off-by: Viresh Kumar I tried adding an opp-level = <0> and voting for it using required-opps for some of the OPPs in the CPU OPP table and it seems to work fine now. Tested-by: Stephan Gerhold Just need to solve the "enable power domain

  1   2   >