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

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-09-11 Thread Stephan Gerhold
On Fri, Sep 11, 2020 at 02:55:38PM +0530, Viresh Kumar wrote: > > As mentioned in my other mail [1] it turns out I actually have such a > > use case. I briefly explained it in [2], basically the clock that > > provides higher CPU frequencies has some voltage requirements that > > should be voted fo

Re: [PATCH v9 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Stephan Gerhold
Hi, Thanks for removing the weird use of auxilliary devices :) On Fri, Sep 11, 2020 at 06:22:59PM +0800, Cheng-Yi Chiang wrote: > From: Ajit Pandey > > Add new driver to register sound card on sc7180 trogdor board and > do the required configuration for lpass cpu dai and external codecs > conne

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-09-11 Thread Stephan Gerhold
Hi Viresh, On Fri, Aug 28, 2020 at 11:57:28AM +0200, Stephan Gerhold wrote: > On Fri, Aug 28, 2020 at 12:05:11PM +0530, Viresh Kumar wrote: > > On 27-08-20, 13:44, Stephan Gerhold wrote: > > > Hmm. Actually I was using this parameter for initial testing, and forced > > >

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-31 Thread Stephan Gerhold
Hi Viresh, On Mon, Aug 31, 2020 at 05:44:57PM +0530, Viresh Kumar wrote: > On 26-08-20, 11:33, Stephan Gerhold wrote: > > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > > power domains to an OPP table. In that case, the genpd core will > > create a virtu

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-28 Thread Stephan Gerhold
On Fri, Aug 28, 2020 at 12:05:11PM +0530, Viresh Kumar wrote: > On 27-08-20, 13:44, Stephan Gerhold wrote: > > Hmm. Actually I was using this parameter for initial testing, and forced > > on the power domains from the qcom-cpufreq-nvmem driver. For my v1 patch > > I wante

Re: [PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-27 Thread Stephan Gerhold
On Thu, Aug 27, 2020 at 03:31:04PM +0530, Viresh Kumar wrote: > On 26-08-20, 11:33, Stephan Gerhold wrote: > > diff --git a/drivers/opp/core.c b/drivers/opp/core.c > > index 8b3c3986f589..7e53a7b94c59 100644 > > --- a/drivers/opp/core.c > > +++ b/drivers/op

Re: [PATCH] opp: Drop unnecessary check frmo dev_pm_opp_attach_genpd()

2020-08-27 Thread Stephan Gerhold
On Thu, Aug 27, 2020 at 03:35:15PM +0530, Viresh Kumar wrote: > Since commit c0ab9e0812da ("opp: Allocate genpd_virt_devs from > dev_pm_opp_attach_genpd()"), the allocation of the virtual devices is > moved to dev_pm_opp_attach_genpd() and this check isn't required anymore > as it will always fail.

Re: [PATCH 2/3] opp: Allow opp-supported-hw to contain multiple versions

2020-08-26 Thread Stephan Gerhold
This is exactly what I was looking for! And it works just fine in my tests: Tested-by: Stephan Gerhold Thank you! Stephan > --- > drivers/opp/of.c | 47 +-- > 1 file changed, 33 insertions(+), 14 deletions(-) > > diff --git a/drivers/opp/o

Re: [PATCH v6 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-26 Thread Stephan Gerhold
On Wed, Aug 26, 2020 at 07:04:54PM +0800, Cheng-Yi Chiang wrote: > From: Ajit Pandey > > Add new driver to register sound card on sc7180 trogdor board and > do the required configuration for lpass cpu dai and external codecs > connected over MI2S interfaces. > > Signed-off-by: Ajit Pandey > Sig

[PATCH v2] opp: Power on (virtual) power domains managed by the OPP core

2020-08-26 Thread Stephan Gerhold
commit implements this similar to the non-virtual power domains; we create device links for each of attached power domains so that they are turned on whenever the consumer device is active. Signed-off-by: Stephan Gerhold --- Related discussion: https://lore.kernel.org/linux-arm-msm/20200426123140

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-26 Thread Stephan Gerhold
On Tue, Aug 25, 2020 at 02:42:54PM +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 09:34, Stephan Gerhold wrote: > > > > On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > > > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar > > > wrote: > >

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-25 Thread Stephan Gerhold
On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > > > > That said, perhaps s

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > On Mon, 24 Aug 2020 at 13:56, Stephan Gerhold wrote: > > > > On Mon, Aug 24, 2020 at 04:57:44PM +0530, Viresh Kumar wrote: > > > On 30-07-20, 10:01, Stephan Gerhold wrote: > > > > dev_pm_op

Re: [RFC PATCH 1/3] opp: Reduce code duplication in _set_required_opps()

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 05:40:04PM +0530, Viresh Kumar wrote: > On 24-08-20, 13:30, Stephan Gerhold wrote: > > You're right. Not sure why I removed it. > > > > I suspect I had it in _set_required_opp() at some point, but I moved > > code around several times u

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 04:57:44PM +0530, Viresh Kumar wrote: > On 30-07-20, 10:01, Stephan Gerhold wrote: > > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > > power domains to an OPP table. In that case, the genpd core will > > create a virtual device

Re: [RFC PATCH 2/3] opp: Set required OPPs in reverse order when scaling down

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 05:00:27PM +0530, Viresh Kumar wrote: > On 21-08-20, 18:31, Stephan Gerhold wrote: > > This patch does not apply anymore after the cleanup you pushed to > > opp/linux-next. I would be happy to send a v2 with that fixed. > > > > On my other OPP p

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

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 02:39:32PM +0530, Viresh Kumar wrote: > From: Stephan Gerhold > > The OPP core manages various resources, e.g. clocks or interconnect paths. > These resources are looked up when the OPP table is allocated once > dev_pm_opp_get_opp_table() is called the fir

Re: [RFC PATCH 1/3] opp: Reduce code duplication in _set_required_opps()

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 04:48:20PM +0530, Viresh Kumar wrote: > On 30-07-20, 10:01, Stephan Gerhold wrote: > > Move call to dev_pm_genpd_set_performance_state() to a separate > > function so we can avoid duplicating the code for the single and > > multiple genpd case. &

Re: [RFC PATCH 2/3] opp: Set required OPPs in reverse order when scaling down

2020-08-21 Thread Stephan Gerhold
Hi Viresh, On Thu, Jul 30, 2020 at 10:01:45AM +0200, Stephan Gerhold wrote: > The OPP core already has well-defined semantics to ensure required > OPPs/regulators are set before/after the frequency change, depending > on if we scale up or down. > > Similar requirements might exis

Re: [PATCH] ASoC: msm8916-wcd-analog: fix register Interrupt offset

2020-08-14 Thread Stephan Gerhold
BIT(5) > -- > 2.21.0 > It's surprising that we didn't notice this before. Seems like the HW has exactly the IRQs we want enabled by default. Everything seems to be still working fine after this patch, so FWIW: Tested-by: Stephan Gerhold Reviewed-by: Stephan Gerhold Thanks! Stephan

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

2020-08-12 Thread Stephan Gerhold
Hi Viresh, On Wed, Aug 12, 2020 at 08:31:22PM +0530, Viresh Kumar wrote: > On 12-08-20, 12:53, Stephan Gerhold wrote: > > I have another small build fix reported by the kernel test robot, > > but will wait with sending that out until Viresh had a chance to give > > some feedb

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

2020-08-12 Thread Stephan Gerhold
On Wed, Aug 12, 2020 at 11:10:38AM +0200, Ulf Hansson wrote: > > I wasn't sure if the changes in drivers/base/power/domain.c > > should be made in a separate commit, but they need to be made together > > with the other changes. > > I would suggest to move the changes in drivers/base/power/domain.c

  1   2   >