Re: [PATCH 1/1] remoteproc: qcom_wcnss: Fix on platforms without fallback regulators

2025-05-12 Thread Luca Weiss
6 also uses qcom,pronto-v3-pil. Hopefully this can still go into the remaining rc's so v6.15 final works. Tested-by: Luca Weiss # sdm632-fairphone-fp3 Regards Luca > > Fixes: 65991ea8a6d1 ("remoteproc: qcom_wcnss: Handle platforms with only > single power domain") > Si

[PATCH v4 0/5] Add DisplayPort sound support for Fairphone 5 smartphone

2025-05-07 Thread Luca Weiss
through Greg's tree so this cannot easily be applied for v6.16 through the sound tree. Either it waits for v6.17 or also goes through Greg's tree. Signed-off-by: Luca Weiss --- Changes in v4: - Use "sm4250" for qcom,qrb4210-rb2-sndcard (Srinivas) - Expand cover letter to ment

[PATCH v4 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-05-07 Thread Luca Weiss
m4250" as requested by Srinivas Kandagatla, and since no (known) UCM has been written yet this should not break anything. Also while we're already touching these lines, sort the compatibles alphabetically. Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Signed-off-by: Luca We

[PATCH v4 1/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card

2025-05-07 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 5 which uses the older non-audioreach audio architecture. Acked-by: Rob Herring (Arm) Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v4 3/5] ASoC: qcom: sm8250: add DisplayPort Jack support

2025-05-07 Thread Luca Weiss
Add support for DisplayPort Jack events, so that user space can configure the audio routing correctly. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sound/soc/qcom

[PATCH v4 5/5] arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support

2025-05-07 Thread Luca Weiss
ultiMedia1 sound device, e.g.: aplay -D plughw:0,0 test.wav Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 31 ++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-

[PATCH v4 4/5] ASoC: qcom: sm8250: Add Fairphone 5 soundcard compatible

2025-05-07 Thread Luca Weiss
Add a compatible for the QCM6490-based Fairphone 5 which can use this machine driver. As a note, QCM6490 RB3 board is using audioreach architecture while Fairphone 5 uses pre-audioreach. Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- sound/soc/qcom

Re: [PATCH v3 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-05-06 Thread Luca Weiss
Hi Srini, On Fri May 2, 2025 at 1:06 PM CEST, Srinivas Kandagatla wrote: > On 5/1/25 15:13, Luca Weiss wrote: >> Hi Srini, >> >> Srinivas Kandagatla schreef op 1 mei 2025 13:37:45 CEST: >>> On Fri, Apr 25, 2025 at 10:07:26AM +0200, Luca Weiss wrote: >>>&g

Re: [PATCH v3 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-05-01 Thread Luca Weiss
Hi Srini, Srinivas Kandagatla schreef op 1 mei 2025 13:37:45 CEST: >On Fri, Apr 25, 2025 at 10:07:26AM +0200, Luca Weiss wrote: >> Sound machine drivers for Qualcomm SoCs can be reused across multiple >> SoCs. But user space ALSA UCM files depend on the card driver name which &

[PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-30 Thread Luca Weiss
to regular playback to the USB sound card no xhci-hcd interrupts appear during playback, instead the ADSP will be handling the USB transfers. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 3 ++ arch/arm64/boot/dts/qcom/sm7225-fai

[PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode

2025-04-30 Thread Luca Weiss
Document the subnode for Q6USB, used for USB audio offloading. Cc: Wesley Cheng Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,q6afe.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml b

[PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node

2025-04-30 Thread Luca Weiss
Baryshkov Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 375f964e793626115609996aa25ea4e0fefe6c5e

[PATCH v2 3/5] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible

2025-04-30 Thread Luca Weiss
Add a compatible for the SM7225-based Fairphone 4 which can use this machine driver. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index

[PATCH v2 2/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card

2025-04-30 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 4 which uses the older non-audioreach audio architecture. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

Re: [PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-29 Thread Luca Weiss
On Mon Apr 28, 2025 at 11:43 PM CEST, Konrad Dybcio wrote: > On 4/28/25 9:41 AM, Luca Weiss wrote: >> On Fri Apr 25, 2025 at 11:06 PM CEST, Konrad Dybcio wrote: >>> On 4/25/25 12:44 PM, Luca Weiss wrote: >>>> Enable USB audio offloading which allows to play audio

Re: [PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-28 Thread Luca Weiss
On Fri Apr 25, 2025 at 11:06 PM CEST, Konrad Dybcio wrote: > On 4/25/25 12:44 PM, Luca Weiss wrote: >> Enable USB audio offloading which allows to play audio via a USB-C >> headset with lower power consumption and enabling some other features. >> >> This can

Re: [PATCH 1/6] dt-bindings: usb: dwc3: Document usb-soc-be property

2025-04-28 Thread Luca Weiss
On Fri Apr 25, 2025 at 11:39 PM CEST, Wesley Cheng wrote: > > > On 4/25/2025 3:44 AM, Luca Weiss wrote: >> The property usb-soc-be is used by the new SoC USB layer which is used >> for USB audio offloading on Qualcomm SoCs. > > Hi Luca, > > This property can

Re: [PATCH v3 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-04-25 Thread Luca Weiss
On Fri Apr 25, 2025 at 9:03 PM CEST, Mark Brown wrote: > On Fri, Apr 25, 2025 at 08:19:39PM +0200, Luca Weiss wrote: > >> I've based this series on next-20250417 tag, so this is probably due to >> the changes from the USB sound offloading series that Greg has picked >>

Re: [PATCH v3 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-04-25 Thread Luca Weiss
Hi Mark, On Fri Apr 25, 2025 at 2:12 PM CEST, Mark Brown wrote: > On Fri, Apr 25, 2025 at 10:07:26AM +0200, Luca Weiss wrote: >> Sound machine drivers for Qualcomm SoCs can be reused across multiple >> SoCs. But user space ALSA UCM files depend on the card driver name which >&

[PATCH 2/4] clk: qcom: dispcc-sm6350: Add *_wait_val values for GDSCs

2025-04-25 Thread Luca Weiss
qcom,clk-dis-wait-val is given in devicetree. Correct this situation by explicitly setting those values. For all GDSCs the reset value of those bits are used. Fixes: 837519775f1d ("clk: qcom: Add display clock controller driver for SM6350") Signed-off-by: Luca Weiss --- drivers/c

[PATCH 3/4] clk: qcom: gcc-sm6350: Add *_wait_val values for GDSCs

2025-04-25 Thread Luca Weiss
qcom,clk-dis-wait-val is given in devicetree. Correct this situation by explicitly setting those values. For all GDSCs the reset value of those bits are used. Fixes: 131abae905df ("clk: qcom: Add SM6350 GCC driver") Signed-off-by: Luca Weiss --- drivers/clk/qcom/gcc-sm6350.c | 6

[PATCH 4/4] clk: qcom: gpucc-sm6350: Add *_wait_val values for GDSCs

2025-04-25 Thread Luca Weiss
: Add GPU clock controller driver for SM6350") Signed-off-by: Luca Weiss --- drivers/clk/qcom/gpucc-sm6350.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/qcom/gpucc-sm6350.c b/drivers/clk/qcom/gpucc-sm6350.c index 35ed0500bc59319f9659

[PATCH 1/4] clk: qcom: camcc-sm6350: Add *_wait_val values for GDSCs

2025-04-25 Thread Luca Weiss
qcom,clk-dis-wait-val is given in devicetree. Correct this situation by explicitly setting those values. For all GDSCs the reset value of those bits are used. Fixes: 80f5451d9a7c ("clk: qcom: Add camera clock controller driver for SM6350") Signed-off-by: Luca Weiss --- drivers/clk/qco

[PATCH 0/4] Add *_wait_val values for GDSCs in all SM6350 clock drivers

2025-04-25 Thread Luca Weiss
0x%x vs 0x%x (reset)\n", sc->pd.name, sc->clk_dis_wait_val, (tmp >> CLK_DIS_WAIT_SHIFT) & 0xf); + val = sc->en_rest_wait_val << EN_REST_WAIT_SHIFT | sc->en_few_wait_val << EN_FEW_WAIT_SHIFT | sc->clk_dis_wait

[PATCH 10/11] arm64: dts: qcom: sm7325-nothing-spacewar: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7325-nothing-spacewar.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm7325

[PATCH 11/11] arm64: dts: qcom: sm8350: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch

[PATCH 09/11] arm64: dts: qcom: sdm850*: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 6 +++--- arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts | 6 +++--- 2 files changed, 6

[PATCH 08/11] arm64: dts: qcom: sdm845*: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 8 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 12

[PATCH 07/11] arm64: dts: qcom: sc7280: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch

[PATCH 06/11] arm64: dts: qcom: sc7180-acer-aspire1: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180

[PATCH 05/11] arm64: dts: qcom: qrb5165-rb5: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

[PATCH 03/11] arm64: dts: qcom: msm8953: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b

[PATCH 04/11] arm64: dts: qcom: msm8996*: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi | 6 +++--- arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts | 6 +++--- arch/arm64/boot/dts

[PATCH 02/11] arm64: dts: qcom: msm8916-modem-qdsp6: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8916-modem-qdsp6.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom

[PATCH 00/11] Use q6asm defines for reg for all qcom boards

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Verified with dtx_diff. Signed-off-by: Luca Weiss --- Luca Weiss (11): arm64: dts: qcom: apq8096-db820c: Use q6asm defines for reg arm64: dts: qcom: msm8916-modem-qdsp6: Use

[PATCH 01/11] arm64: dts: qcom: apq8096-db820c: Use q6asm defines for reg

2025-04-25 Thread Luca Weiss
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096

[PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support

2025-04-25 Thread Luca Weiss
to regular playback to the USB sound card no interrupts should appear on the xhci-hcd interrupts during playback, instead the ADSP will be handling the playback. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 3 ++ arch/arm64/boot/dts/qcom/sm7225-fairphone-fp

[PATCH 5/6] arm64: dts: qcom: sm6350: Add q6usbdai node

2025-04-25 Thread Luca Weiss
Add a node for q6usb which handles USB audio offloading, allowing to play audio via a USB-C headset with lower power consumption and enabling some other features. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch

[PATCH 2/6] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode

2025-04-25 Thread Luca Weiss
Document the subnode for Q6USB, used for USB audio offloading. Cc: Wesley Cheng Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,q6afe.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml b

[PATCH 4/6] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible

2025-04-25 Thread Luca Weiss
Add a compatible for the SM7225-based Fairphone 4 which can use this machine driver. Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index 43c93e24d77259f232062c7e4182a3915c59

[PATCH 3/6] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card

2025-04-25 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 4 which uses the older non-audioreach audio architecture. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/qcom

[PATCH 1/6] dt-bindings: usb: dwc3: Document usb-soc-be property

2025-04-25 Thread Luca Weiss
The property usb-soc-be is used by the new SoC USB layer which is used for USB audio offloading on Qualcomm SoCs. Cc: Wesley Cheng Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation

[PATCH 0/6] Enable USB audio offloading on Fairphone 4 smartphone

2025-04-25 Thread Luca Weiss
.yaml & sm8250.c: https://lore.kernel.org/linux-arm-msm/20250425-fp5-dp-sound-v3-0-7cb451800...@fairphone.com/T/ - For dts: https://lore.kernel.org/linux-arm-msm/20250321-sm6350-apr-v1-1-7805ce7b4...@fairphone.com/ Devicetree patches go through qcom Signed-off-by: Luca Weiss --- Luca

[PATCH v3 5/5] arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support

2025-04-25 Thread Luca Weiss
ultiMedia1 sound device, e.g.: aplay -D plughw:0,0 test.wav Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 31 ++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-

[PATCH v3 4/5] ASoC: qcom: sm8250: Add Fairphone 5 soundcard compatible

2025-04-25 Thread Luca Weiss
Add a compatible for the QCM6490-based Fairphone 5 which can use this machine driver. As a note, QCM6490 RB3 board is using audioreach architecture while Fairphone 5 uses pre-audioreach. Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- sound/soc/qcom

[PATCH v3 3/5] ASoC: qcom: sm8250: add DisplayPort Jack support

2025-04-25 Thread Luca Weiss
Add support for DisplayPort Jack events, so that user space can configure the audio routing correctly. Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c

[PATCH v3 0/5] Add DisplayPort sound support for Fairphone 5 smartphone

2025-04-25 Thread Luca Weiss
spirit - depends on the series enabling DisplayPort in the first place, but can land pretty independently, especially the ASoC bits: https://lore.kernel.org/linux-arm-msm/20250312-fp5-pmic-glink-dp-v2-0-a55927749...@fairphone.com/ Signed-off-by: Luca Weiss --- Changes in v3: - Simplify return

[PATCH v3 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-04-25 Thread Luca Weiss
lines, sort the compatibles alphabetically. Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c

[PATCH v3 1/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card

2025-04-25 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 5 which uses the older non-audioreach audio architecture. Acked-by: Rob Herring (Arm) Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v3 4/4] arm64: dts: qcom: qcm6490-fairphone-fp5: Hook up DisplayPort over USB-C

2025-04-25 Thread Luca Weiss
Extend the USB graph to connect the OCP96011 switch, the PTN36502 redriver, the USB controllers and the MDSS, so that DisplayPort over USB-C is working. Connect some parts of the graph directly in the SoC dtsi since those parts are wired up like this in the SoC directly. Signed-off-by: Luca

[PATCH v3 3/4] arm64: dts: qcom: qcm6490-fairphone-fp5: Add OCP96011 audio switch

2025-04-25 Thread Luca Weiss
Add a node for the OCP96011 on the board which is used to handle USB-C analog audio switch and handles the SBU mux for DisplayPort-over-USB-C. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 14 +- 1 file changed, 13

[PATCH v3 2/4] arm64: dts: qcom: qcm6490-fairphone-fp5: Add PTN36502 redriver

2025-04-25 Thread Luca Weiss
Add a node for the "Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver" found on this device. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 35 +- 1 file changed, 34 insertions(+), 1 deletio

[PATCH v3 1/4] dt-bindings: usb: usb-switch: Allow data-lanes property in port

2025-04-25 Thread Luca Weiss
C USB Switch schema") Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/usb-switch.yaml | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-switch.yaml b/Documentation/devicetree/bindings/usb/usb-s

[PATCH v3 0/4] Fairphone 5 DisplayPort over USB-C support

2025-04-25 Thread Luca Weiss
This series adds all the necessary bits to enable DisplayPort-out over USB-C on Fairphone 5. Devicetree (patch 2-4) patches go via qcom tree Signed-off-by: Luca Weiss --- Changes in v3: - Add patch to fix dt-schema validation with fsa4480 extra properties - Link to v2: https://lore.kernel.org

Re: [PATCH 1/3] ARM: dts: qcom: msm8974-oneplus-bacon: Add alias for mmc0

2025-04-20 Thread Luca Weiss
Hi Bjorn, On 20-04-2025 7:05 p.m., Bjorn Andersson wrote: On Sat, Apr 19, 2025 at 11:03:57AM +0200, Luca Weiss wrote: Add an alias for the internal storage so it always becomes mmcblk0. https://docs.kernel.org/process/submitting-patches.html#describe-your-changes calls for a problem

Re: [PATCH] ARM: dts: qcom: msm8974-samsung-hlte: Add touchkey support

2025-04-19 Thread Luca Weiss
On 4/19/25 11:08 AM, Luca Weiss wrote: From: Adam Honse Add support for the touchkeys on the Samsung Galaxy Note 3 (hlte). Signed-off-by: Adam Honse --- Signed-off-by: Luca Weiss This Signed-off-by is obviously meant to be above the --- B4 is unfortunately not warning when your own

[PATCH] ARM: dts: qcom: msm8974-samsung-hlte: Add touchkey support

2025-04-19 Thread Luca Weiss
From: Adam Honse Add support for the touchkeys on the Samsung Galaxy Note 3 (hlte). Signed-off-by: Adam Honse --- Signed-off-by: Luca Weiss --- .../boot/dts/qcom/qcom-msm8974-samsung-hlte.dts| 45 ++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 3/3] ARM: dts: qcom: sony-xperia-rhine: Add alias for mmc0 & mmc1

2025-04-19 Thread Luca Weiss
Add an alias for the internal storage so it always becomes mmcblk0 and SD card becomes mmcblk1. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia

[PATCH 2/3] ARM: dts: qcom: msm8974-hammerhead: Add alias for mmc0

2025-04-19 Thread Luca Weiss
Add an alias for the internal storage so it always becomes mmcblk0. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts

[PATCH 1/3] ARM: dts: qcom: msm8974-oneplus-bacon: Add alias for mmc0

2025-04-19 Thread Luca Weiss
Add an alias for the internal storage so it always becomes mmcblk0. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts b/arch/arm/boot/dts/qcom/qcom

[PATCH 0/3] Add devicetree aliases for mmc on multiple MSM8974 devices

2025-04-19 Thread Luca Weiss
Add an alias for the internal storage so it always becomes mmcblk0 and - where applicable - SD card becomes mmcblk1. Signed-off-by: Luca Weiss --- Luca Weiss (3): ARM: dts: qcom: msm8974-oneplus-bacon: Add alias for mmc0 ARM: dts: qcom: msm8974-hammerhead: Add alias for mmc0

[PATCH 4/4] ARM: dts: qcom: Add initial support for Sony Xperia Z Ultra (togari)

2025-04-19 Thread Luca Weiss
From: Kevin Widjaja Add the dts for the Z Ultra. This is currently almost the same as Z1 Compact (amami) and Z1 (honami) as they share almost the same hardware. Only USB Networking and volume button are confirmed working. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss --- arch/arm

[PATCH 3/4] dt-bindings: arm: qcom: Add Sony Xperia Z Ultra (togari)

2025-04-19 Thread Luca Weiss
From: Kevin Widjaja Based on the msm8974. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm

[PATCH 2/4] ARM: dts: qcom: sony-xperia-rhine: Move camera buttons to amami & honami

2025-04-19 Thread Luca Weiss
From: Kevin Widjaja An upcoming board in the sony-xperia-rhine family (sony-togari) does not have dedicated camera buttons, so move those from common rhine dtsi to amami and honami dts files. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss --- .../dts/qcom/qcom-msm8974-sony-xperia

[PATCH 1/4] ARM: dts: qcom: sony-xperia-rhine: Enable USB charging

2025-04-19 Thread Luca Weiss
From: Kevin Widjaja Set usb-charge-current-limit to enable charging over USB for all sony-rhine devices. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts

[PATCH 0/4] Add support for Sony Xperia Z Ultra (togari)

2025-04-19 Thread Luca Weiss
Do some tweaks to the common file for the devices in the 'rhine' family of Sony devices, and add a dts for togari. Signed-off-by: Luca Weiss --- Kevin Widjaja (4): ARM: dts: qcom: sony-xperia-rhine: Enable USB charging ARM: dts: qcom: sony-xperia-rhine: Move camera button

[PATCH v2 2/5] ASoC: qcom: sm8250: set card driver name from match data

2025-04-18 Thread Luca Weiss
lines, sort the compatibles alphabetically. Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index b70b2a5031dfbf69024666f8a1049c263ef

[PATCH v2 4/5] ASoC: qcom: sm8250: Add Fairphone 5 soundcard compatible

2025-04-18 Thread Luca Weiss
Add a compatible for the QCM6490-based Fairphone 5 which can use this machine driver. As a note, QCM6490 RB3 board is using audioreach architecture while Fairphone 5 uses pre-audioreach. Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a

Re: [PATCH v2 0/3] Fairphone 5 DisplayPort over USB-C support

2025-04-18 Thread Luca Weiss
Hi Krzysztof, hi Dmitry, Any feedback on the below proposed patch? I can also send out a v3 with this patch included soon if that makes it easier to review. Regards Luca On Tue Apr 1, 2025 at 11:32 AM CEST, Luca Weiss wrote: > Hi Dmitry, > > On Wed Mar 12, 2025 at 8:06 PM CET, Dmitry

[PATCH v2 5/5] arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support

2025-04-18 Thread Luca Weiss
ultiMedia1 sound device, e.g.: aplay -D plughw:0,0 test.wav Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 31 ++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qc

[PATCH v2 1/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 5 sound card

2025-04-18 Thread Luca Weiss
Document the bindings for the sound card on Fairphone 5 which uses the older non-audioreach audio architecture. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/qcom

[PATCH v2 3/5] ASoC: qcom: sm8250: add DisplayPort Jack support

2025-04-18 Thread Luca Weiss
Add support for DisplayPort Jack events, so that user space can configure the audio routing correctly. Signed-off-by: Luca Weiss --- sound/soc/qcom/sm8250.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c

[PATCH v2 0/5] Add DisplayPort sound support for Fairphone 5 smartphone

2025-04-18 Thread Luca Weiss
spirit - depends on the series enabling DisplayPort in the first place, but can land pretty independently, especially the ASoC bits: https://lore.kernel.org/linux-arm-msm/20250312-fp5-pmic-glink-dp-v2-0-a55927749...@fairphone.com/ Signed-off-by: Luca Weiss --- Changes in v2: - Revamp series based

Re: [PATCH] arm64: dts: qcom: msm8953: Add uart_5

2025-04-12 Thread Luca Weiss
On 4/10/25 6:45 PM, Konrad Dybcio wrote: On 4/6/25 3:52 PM, Luca Weiss wrote: From: Felix Kaechele Add the node and pinctrl for uart_5 found on the MSM8953 SoC. Signed-off-by: Felix Kaechele [luca: Prepare patch for upstream submission] Signed-off-by: Luca Weiss --- arch/arm64/boot/dts

[PATCH] arm64: dts: qcom: Remove unnecessary MM_[UD]L audio routes

2025-04-11 Thread Luca Weiss
ying these into new dts files. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 5 + arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts | 5 + arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 -- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

[PATCH] arm64: dts: qcom: msm8953: Add uart_5

2025-04-06 Thread Luca Weiss
From: Felix Kaechele Add the node and pinctrl for uart_5 found on the MSM8953 SoC. Signed-off-by: Felix Kaechele [luca: Prepare patch for upstream submission] Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 32 1 file changed, 32

[PATCH 2/3] ASoC: codecs: Add aw8898 amplifier driver

2025-04-06 Thread Luca Weiss
Add a driver for the AW8898 Audio Amplifier. Signed-off-by: Luca Weiss --- sound/soc/codecs/Kconfig | 10 + sound/soc/codecs/Makefile | 1 + sound/soc/codecs/snd-soc-aw8898.c | 583 ++ 3 files changed, 594 insertions(+) diff --git a/sound

[PATCH 3/3] arm64: dts: qcom: sdm632-fairphone-fp3: Add AW8898 amplifier

2025-04-06 Thread Luca Weiss
Add a node for the amplifier found on Fairphone 3, receiving sound via I2S from the SoC and being connected to the speaker. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot

[PATCH 1/3] ASoC: dt-bindings: Document Awinic AW8898 amplifier

2025-04-06 Thread Luca Weiss
Add the bindings for the Awinic AW8898 amplifier. Signed-off-by: Luca Weiss --- .../devicetree/bindings/sound/awinic,aw8898.yaml | 75 ++ 1 file changed, 75 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/awinic,aw8898.yaml b/Documentation/devicetree

[PATCH 0/3] Add support for AW8898 Amplifier

2025-04-06 Thread Luca Weiss
nfortunately we can't wire up the full audio stack yet since the SoC side is not upstream yet, the last revision from July 2024 can be found here: https://lore.kernel.org/linux-arm-msm/20240731-msm8953-msm8976-asoc-v3-0-163f23c3a...@gmail.com/ Signed-off-by: Luca Weiss --- Luca Weiss (3):

Re: [PATCH 2/3] clk: qcom: Add video clock controller driver for SM6350

2025-04-05 Thread Luca Weiss
On Fri Mar 21, 2025 at 4:55 PM CET, Dmitry Baryshkov wrote: > On Fri, Mar 21, 2025 at 03:45:00PM +0100, Luca Weiss wrote: >> From: Konrad Dybcio >> >> Add support for the video clock controller found on SM6350 based >> devices. >> >> Signed-off-by: Konrad

[PATCH 1/3] dt-bindings: clock: add SM6350 QCOM video clock bindings

2025-04-05 Thread Luca Weiss
From: Konrad Dybcio Add device tree bindings for video clock controller for SM6350 SoCs. Signed-off-by: Konrad Dybcio Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- .../devicetree/bindings/clock/qcom,videocc.yaml| 20 include/dt-bindings/clock/qcom,sm6350

[PATCH 2/3] clk: qcom: Add video clock controller driver for SM6350

2025-04-04 Thread Luca Weiss
From: Konrad Dybcio Add support for the video clock controller found on SM6350 based devices. Signed-off-by: Konrad Dybcio Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/videocc

[PATCH] arm64: dts: qcom: sc7280: Stop setting dmic01 pinctrl for va-macro

2025-04-04 Thread Luca Weiss
illager-r0, zombie*). Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682-3mic.dtsi | 1 + arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-wcd9385.dtsi | 3 +++ arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 ++ arch/arm64/boot/dts/qcom/s

Re: [PATCH v2 0/3] Fairphone 5 DisplayPort over USB-C support

2025-04-01 Thread Luca Weiss
Hi Dmitry, On Wed Mar 12, 2025 at 8:06 PM CET, Dmitry Baryshkov wrote: > On Wed, Mar 12, 2025 at 01:05:07PM +0100, Luca Weiss wrote: >> This series adds all the necessary bits to enable DisplayPort-out over >> USB-C on Fairphone 5. >> >> There's currently a dt

[PATCH 3/3] arm64: dts: qcom: sm6350: Add video clock controller

2025-03-27 Thread Luca Weiss
Add a node for the videocc found on the SM6350 SoC. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index

[PATCH v3] rpmsg: qcom_smd: Improve error handling for qcom_smd_parse_edge

2025-03-26 Thread Luca Weiss
_err_probe to handle EPROBE_DEFER nicely. And add one for ipc_regmap also to be complete. With this done, we can remove the outer print completely. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss --- Changes in v3: - Pick up tags - Update my email - Link to v2: https://lore.kernel.org/

[PATCH 0/3] Add video clock controller for SM6350

2025-03-24 Thread Luca Weiss
The driver for the SM6350 videocc has been lying around in some branches of my git tree for a long time, let's upstream it. It doesn't get any better by letting it age! Signed-off-by: Luca Weiss --- Konrad Dybcio (2): dt-bindings: clock: add SM6350 QCOM video clock bindings

[PATCH v2 3/4] clk: qcom: Add video clock controller driver for SM6350

2025-03-24 Thread Luca Weiss
From: Konrad Dybcio Add support for the video clock controller found on SM6350 based devices. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile

[PATCH v2 4/4] arm64: dts: qcom: sm6350: Add video clock controller

2025-03-24 Thread Luca Weiss
Add a node for the videocc found on the SM6350 SoC. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index

[PATCH v2 2/4] dt-bindings: clock: add SM6350 QCOM video clock bindings

2025-03-24 Thread Luca Weiss
From: Konrad Dybcio Add device tree bindings for video clock controller for SM6350 SoCs. Signed-off-by: Konrad Dybcio Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss --- .../devicetree/bindings/clock/qcom,videocc.yaml| 20 include/dt-bindings/clock/qcom,sm6350

[PATCH v2 1/4] arm64: dts: qcom: sm6350: Align reg properties with latest style

2025-03-24 Thread Luca Weiss
't use mixed 0x0 and 0 anymore. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 204 +-- 1 file changed, 102 insertions(+), 102 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.d

[PATCH v2 0/4] Add video clock controller for SM6350

2025-03-24 Thread Luca Weiss
The driver for the SM6350 videocc has been lying around in some branches of my git tree for a long time, let's upstream it. It doesn't get any better by letting it age! Signed-off-by: Luca Weiss --- Changes in v2: - Fix an uppercase hex in driver (Dmitry) - Use hex numbers for r

Re: [PATCH 3/3] arm64: dts: qcom: sm6350: Add video clock controller

2025-03-24 Thread Luca Weiss
On Fri Mar 21, 2025 at 5:23 PM CET, Dmitry Baryshkov wrote: > On 21/03/2025 18:15, Luca Weiss wrote: >> Hi Dmitry, >> >> On Fri Mar 21, 2025 at 4:56 PM CET, Dmitry Baryshkov wrote: >>> On Fri, Mar 21, 2025 at 03:45:01PM +0100, Luca Weiss wrote: >>>> Add

Re: [PATCH 3/3] arm64: dts: qcom: sm6350: Add video clock controller

2025-03-21 Thread Luca Weiss
Hi Dmitry, On Fri Mar 21, 2025 at 4:56 PM CET, Dmitry Baryshkov wrote: > On Fri, Mar 21, 2025 at 03:45:01PM +0100, Luca Weiss wrote: >> Add a node for the videocc found on the SM6350 SoC. >> >> Signed-off-by: Luca Weiss >> --- >> arch/arm64/boot/dts/qcom/sm63

Re: [PATCH 1/7] dt-bindings: mailbox: qcom: add compatible for MSM8226 SoC

2025-03-17 Thread Luca Weiss
On 6/19/24 11:02 PM, Luca Weiss wrote: Add the mailbox compatible for MSM8226 SoC. Hi all, This patch is still pending. Regards Luca Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a

Re: [PATCH v2] rpmsg: qcom_smd: Improve error handling for qcom_smd_parse_edge

2025-03-17 Thread Luca Weiss
On 10/19/24 12:06 PM, Luca Weiss wrote: On Donnerstag, 6. Juni 2024 21:01:36 MESZ Luca Weiss wrote: When the mailbox driver has not probed yet, the error message "failed to parse smd edge" is just going to confuse users, so improve the error prints a bit. Cover the last remaining

Re: [PATCH 2/3] arm64: dts: qcom: sm6350: Add OPP table support to UFSHC

2025-03-17 Thread Luca Weiss
Hi Konrad, On Fri Mar 14, 2025 at 11:08 PM CET, Konrad Dybcio wrote: > On 3/14/25 10:17 AM, Luca Weiss wrote: >> UFS host controller, when scaling gears, should choose appropriate >> performance state of RPMh power domain controller along with clock >> frequency. So le

Re: [PATCH 0/2] Some small preparations around CAMSS D-PHY / C-PHY support

2025-03-17 Thread Luca Weiss
On Wed Feb 26, 2025 at 3:47 PM CET, Bryan O'Donoghue wrote: > On 26/02/2025 14:13, Luca Weiss wrote: >> Hi all, >> >> On Mon Dec 9, 2024 at 1:01 PM CET, Luca Weiss wrote: >>> Since the hardware blocks on the SoCs generally support both D-PHY and >>&g

[PATCH 0/3] Fixes/improvements for SM6350 UFS

2025-03-15 Thread Luca Weiss
Fix the order of the freq-table-hz property, then convert to OPP tables and add interconnect support for UFS for the SM6350 SoC. Signed-off-by: Luca Weiss --- Luca Weiss (3): arm64: dts: qcom: sm6350: Fix wrong order of freq-table-hz for UFS arm64: dts: qcom: sm6350: Add OPP table

  1   2   3   4   5   6   7   8   9   10   >