* [PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
@ 2025-05-01 6:48 ` Luca Weiss
2025-05-09 22:03 ` Rob Herring (Arm)
2025-05-01 6:48 ` [PATCH v2 2/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card Luca Weiss
` (6 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-05-01 6:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Luca Weiss
Document the subnode for Q6USB, used for USB audio offloading.
Cc: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/sound/qcom,q6afe.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml b/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml
index 297aa362aa54ab41a956b3ceda73d4c7027d72a7..268f7073d7972da2ef46d36264c0f7d8f648071b 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml
@@ -29,6 +29,12 @@ properties:
unevaluatedProperties: false
description: Qualcomm DSP audio ports
+ usbd:
+ type: object
+ $ref: /schemas/sound/qcom,q6usb.yaml#
+ unevaluatedProperties: false
+ description: Qualcomm DSP USB audio ports
+
required:
- compatible
- dais
@@ -64,5 +70,12 @@ examples:
qcom,sd-lines = <0 1 2 3>;
};
};
+
+ usbd {
+ compatible = "qcom,q6usb";
+ #sound-dai-cells = <1>;
+ iommus = <&apps_smmu 0x180f 0x0>;
+ qcom,usb-audio-intr-idx = /bits/ 16 <2>;
+ };
};
};
--
2.49.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode
2025-05-01 6:48 ` [PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode Luca Weiss
@ 2025-05-09 22:03 ` Rob Herring (Arm)
0 siblings, 0 replies; 17+ messages in thread
From: Rob Herring (Arm) @ 2025-05-09 22:03 UTC (permalink / raw)
To: Luca Weiss
Cc: devicetree, Conor Dooley, Liam Girdwood, linux-arm-msm,
Krzysztof Kozlowski, Mark Brown, Krzysztof Kozlowski,
Bjorn Andersson, Felipe Balbi, Wesley Cheng, Jaroslav Kysela,
linux-usb, Stephan Gerhold, ~postmarketos/upstreaming,
Konrad Dybcio, Takashi Iwai, phone-devel, linux-sound,
linux-kernel, Greg Kroah-Hartman, Srinivas Kandagatla
On Thu, 01 May 2025 08:48:47 +0200, Luca Weiss wrote:
> Document the subnode for Q6USB, used for USB audio offloading.
>
> Cc: Wesley Cheng <quic_wcheng@quicinc.com>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Documentation/devicetree/bindings/sound/qcom,q6afe.yaml | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 2/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
2025-05-01 6:48 ` [PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode Luca Weiss
@ 2025-05-01 6:48 ` Luca Weiss
2025-05-01 6:48 ` [PATCH v2 3/5] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible Luca Weiss
` (5 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: Luca Weiss @ 2025-05-01 6:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Luca Weiss
Document the bindings for the sound card on Fairphone 4 which uses the
older non-audioreach audio architecture.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
index 57f62a228c262f38e703816efdcf443355052619..6f82e5cf6df30e021692015df9ad7b09d4b2c7c6 100644
--- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
@@ -28,6 +28,7 @@ properties:
- qcom,sm8750-sndcard
- const: qcom,sm8450-sndcard
- enum:
+ - fairphone,fp4-sndcard
- fairphone,fp5-sndcard
- qcom,apq8096-sndcard
- qcom,qcm6490-idp-sndcard
--
2.49.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 3/5] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
2025-05-01 6:48 ` [PATCH v2 1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode Luca Weiss
2025-05-01 6:48 ` [PATCH v2 2/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card Luca Weiss
@ 2025-05-01 6:48 ` Luca Weiss
2025-05-01 6:48 ` [PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node Luca Weiss
` (4 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: Luca Weiss @ 2025-05-01 6:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Luca Weiss, Dmitry Baryshkov
Add a compatible for the SM7225-based Fairphone 4 which can use this
machine driver.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
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 43c93e24d77259f232062c7e4182a39151111c59..0025c8957abddf54d0aab6eb68acc79f031917f9 100644
--- a/sound/soc/qcom/sm8250.c
+++ b/sound/soc/qcom/sm8250.c
@@ -208,6 +208,7 @@ static int sm8250_platform_probe(struct platform_device *pdev)
}
static const struct of_device_id snd_sm8250_dt_match[] = {
+ { .compatible = "fairphone,fp4-sndcard", .data = "sm7225" },
{ .compatible = "fairphone,fp5-sndcard", .data = "qcm6490" },
{ .compatible = "qcom,qrb4210-rb2-sndcard", .data = "sm8250" },
{ .compatible = "qcom,qrb5165-rb5-sndcard", .data = "sm8250" },
--
2.49.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (2 preceding siblings ...)
2025-05-01 6:48 ` [PATCH v2 3/5] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible Luca Weiss
@ 2025-05-01 6:48 ` Luca Weiss
2025-05-01 8:23 ` Konrad Dybcio
2025-05-01 6:48 ` [PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support Luca Weiss
` (3 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-05-01 6:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Luca Weiss, Dmitry Baryshkov
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.
We also need to set num-hc-interrupters for the dwc3 for the q6usb to be
able to use its sideband interrupter.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
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..92a2f6e0c3d856eb2549a89509486979a7439cd8 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -1351,6 +1351,13 @@ q6afecc: clock-controller {
compatible = "qcom,q6afe-clocks";
#clock-cells = <2>;
};
+
+ q6usbdai: usbd {
+ compatible = "qcom,q6usb";
+ iommus = <&apps_smmu 0x100f 0x0>;
+ #sound-dai-cells = <1>;
+ qcom,usb-audio-intr-idx = /bits/ 16 <2>;
+ };
};
q6asm: service@7 {
@@ -1979,6 +1986,7 @@ usb_1_dwc3: usb@a600000 {
reg = <0 0x0a600000 0 0xcd00>;
interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&apps_smmu 0x540 0x0>;
+ num-hc-interrupters = /bits/ 16 <3>;
snps,dis_u2_susphy_quirk;
snps,dis_enblslpm_quirk;
snps,has-lpm-erratum;
--
2.49.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node
2025-05-01 6:48 ` [PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node Luca Weiss
@ 2025-05-01 8:23 ` Konrad Dybcio
0 siblings, 0 replies; 17+ messages in thread
From: Konrad Dybcio @ 2025-05-01 8:23 UTC (permalink / raw)
To: Luca Weiss, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
On 5/1/25 8:48 AM, Luca Weiss wrote:
> 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.
>
> We also need to set num-hc-interrupters for the dwc3 for the q6usb to be
> able to use its sideband interrupter.
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (3 preceding siblings ...)
2025-05-01 6:48 ` [PATCH v2 4/5] arm64: dts: qcom: sm6350: Add q6usbdai node Luca Weiss
@ 2025-05-01 6:48 ` Luca Weiss
2025-05-01 8:24 ` Konrad Dybcio
2025-07-16 7:19 ` [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (2 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-05-01 6:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Luca Weiss, Dmitry Baryshkov
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 be used like the following:
$ amixer -c0 cset name='USB_RX Audio Mixer MultiMedia1' On
$ aplay --device=plughw:0,0 test.wav
Compared 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 <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/sm6350.dtsi | 3 ++
arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 36 +++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index 92a2f6e0c3d856eb2549a89509486979a7439cd8..864874472248dbdc5ab6483108bdb286afa77de5 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -2956,6 +2956,9 @@ wifi: wifi@18800000 {
};
};
+ sound: sound {
+ };
+
thermal-zones {
aoss0-thermal {
thermal-sensors = <&tsens0 0>;
diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
index 71e87ab929551b339216a5fa583833ed8661a606..60ad7884c635ec28a3706da506c16a78b3214265 100644
--- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
+++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
@@ -19,6 +19,7 @@
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
+#include <dt-bindings/sound/qcom,q6asm.h>
#include <dt-bindings/usb/pd.h>
#include "sm7225.dtsi"
#include "pm6150l.dtsi"
@@ -955,6 +956,12 @@ channel@644 {
};
};
+&q6asmdai {
+ dai@0 {
+ reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
+ };
+};
+
&qup_uart1_cts {
/*
* Configure a bias-bus-hold on CTS to lower power
@@ -1023,6 +1030,35 @@ &sdhc_2 {
status = "okay";
};
+&sound {
+ compatible = "fairphone,fp4-sndcard";
+ model = "Fairphone 4";
+
+ mm1-dai-link {
+ link-name = "MultiMedia1";
+
+ cpu {
+ sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
+ };
+ };
+
+ usb-dai-link {
+ link-name = "USB Playback";
+
+ codec {
+ sound-dai = <&q6usbdai USB_RX>;
+ };
+
+ cpu {
+ sound-dai = <&q6afedai USB_RX>;
+ };
+
+ platform {
+ sound-dai = <&q6routing>;
+ };
+ };
+};
+
&tlmm {
gpio-reserved-ranges = <13 4>, <56 2>;
--
2.49.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support
2025-05-01 6:48 ` [PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support Luca Weiss
@ 2025-05-01 8:24 ` Konrad Dybcio
0 siblings, 0 replies; 17+ messages in thread
From: Konrad Dybcio @ 2025-05-01 8:24 UTC (permalink / raw)
To: Luca Weiss, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
On 5/1/25 8:48 AM, 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 be used like the following:
>
> $ amixer -c0 cset name='USB_RX Audio Mixer MultiMedia1' On
> $ aplay --device=plughw:0,0 test.wav
>
> Compared 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 <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (4 preceding siblings ...)
2025-05-01 6:48 ` [PATCH v2 5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support Luca Weiss
@ 2025-07-16 7:19 ` Luca Weiss
2025-07-21 6:22 ` Luca Weiss
2025-07-17 4:31 ` (subset) " Bjorn Andersson
2025-07-23 16:48 ` Mark Brown
7 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-07-16 7:19 UTC (permalink / raw)
To: Luca Weiss, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
Hi all,
On Thu May 1, 2025 at 8:48 AM CEST, Luca Weiss wrote:
> Since the series for the USB sound offloading driver was finally merged,
> we can add the sm6350 dts and enable it on Fairphone 4.
>
> A few devicetree binding bits have also been missing in that series, so
> there's some extra patches for the basics in this series.
>
> Depends on:
> - For qcom,sm8250.yaml & sm8250.c:
> https://lore.kernel.org/linux-arm-msm/20250425-fp5-dp-sound-v3-0-7cb45180091b@fairphone.com/T/
> - For dts:
> https://lore.kernel.org/linux-arm-msm/20250321-sm6350-apr-v1-1-7805ce7b4dcf@fairphone.com/
>
> Devicetree patches go through qcom
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Changes in v2:
> - Move num-hc-interrupters prop to sm6350.dtsi (Konrad)
> - Sort cpu & codec nodes correctly (Konrad)
> - Remove usb-soc-be prop as it's no longer needed (Wesley)
> - Pick up tags
> - Link to v1: https://lore.kernel.org/r/20250425-fp4-usb-audio-offload-v1-0-f90f571636e4@fairphone.com
>
> ---
> Luca Weiss (5):
> ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode
> ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card
> ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible
> arm64: dts: qcom: sm6350: Add q6usbdai node
> arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support
All dependencies for the patches have been applied already, so this
series can land as well!
Devicetree patches go through qcom, the rest through their trees.
Regards
Luca
>
> .../devicetree/bindings/sound/qcom,q6afe.yaml | 13 ++++++++
> .../devicetree/bindings/sound/qcom,sm8250.yaml | 1 +
> arch/arm64/boot/dts/qcom/sm6350.dtsi | 11 +++++++
> arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 36 ++++++++++++++++++++++
> sound/soc/qcom/sm8250.c | 1 +
> 5 files changed, 62 insertions(+)
> ---
> base-commit: 393d0c54cae31317deaa9043320c5fd9454deabc
> change-id: 20250425-fp4-usb-audio-offload-e5d7fb55d283
> prerequisite-change-id: 20250321-sm6350-apr-15f3e7e4e5ca:v1
> prerequisite-patch-id: 69859554c94de52068406dab0d2869ca26072c78
> prerequisite-change-id: 20240809-fp5-dp-sound-b3768f3019bd:v3
> prerequisite-patch-id: 2d8997a2be02cfddf3a054c79e7eb308a6d06710
> prerequisite-patch-id: 1b7c8f00ab50ae71c0221868578b9c1dfe939e4d
> prerequisite-patch-id: 4fd0673c4d35c1fefce63ec5785ff5ea67cc3d3a
> prerequisite-patch-id: f5ec3a893de19900f62dc691d83986f1104914b0
> prerequisite-patch-id: fce7573c39e768f7a09c002064b6159b8e91161a
>
> Best regards,
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-07-16 7:19 ` [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
@ 2025-07-21 6:22 ` Luca Weiss
2025-07-23 10:57 ` Mark Brown
0 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-07-21 6:22 UTC (permalink / raw)
To: Luca Weiss, Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Bjorn Andersson,
Konrad Dybcio, Wesley Cheng, Stephan Gerhold
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
Hi Mark Brown,
On Wed Jul 16, 2025 at 9:19 AM CEST, Luca Weiss wrote:
> Hi all,
>
> On Thu May 1, 2025 at 8:48 AM CEST, Luca Weiss wrote:
>> Since the series for the USB sound offloading driver was finally merged,
>> we can add the sm6350 dts and enable it on Fairphone 4.
>>
>> A few devicetree binding bits have also been missing in that series, so
>> there's some extra patches for the basics in this series.
>>
>> Depends on:
>> - For qcom,sm8250.yaml & sm8250.c:
>> https://lore.kernel.org/linux-arm-msm/20250425-fp5-dp-sound-v3-0-7cb45180091b@fairphone.com/T/
>> - For dts:
>> https://lore.kernel.org/linux-arm-msm/20250321-sm6350-apr-v1-1-7805ce7b4dcf@fairphone.com/
>>
>> Devicetree patches go through qcom
>>
>> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
>> ---
>> Changes in v2:
>> - Move num-hc-interrupters prop to sm6350.dtsi (Konrad)
>> - Sort cpu & codec nodes correctly (Konrad)
>> - Remove usb-soc-be prop as it's no longer needed (Wesley)
>> - Pick up tags
>> - Link to v1: https://lore.kernel.org/r/20250425-fp4-usb-audio-offload-v1-0-f90f571636e4@fairphone.com
>>
>> ---
>> Luca Weiss (5):
>> ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode
>> ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card
>> ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible
>> arm64: dts: qcom: sm6350: Add q6usbdai node
>> arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support
>
> All dependencies for the patches have been applied already, so this
> series can land as well!
Is it still possible to pick up the sound patches (1-3) for 6.17? Dts
has been applied already.
Regards
Luca
>
> Devicetree patches go through qcom, the rest through their trees.
>
> Regards
> Luca
>
>>
>> .../devicetree/bindings/sound/qcom,q6afe.yaml | 13 ++++++++
>> .../devicetree/bindings/sound/qcom,sm8250.yaml | 1 +
>> arch/arm64/boot/dts/qcom/sm6350.dtsi | 11 +++++++
>> arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 36 ++++++++++++++++++++++
>> sound/soc/qcom/sm8250.c | 1 +
>> 5 files changed, 62 insertions(+)
>> ---
>> base-commit: 393d0c54cae31317deaa9043320c5fd9454deabc
>> change-id: 20250425-fp4-usb-audio-offload-e5d7fb55d283
>> prerequisite-change-id: 20250321-sm6350-apr-15f3e7e4e5ca:v1
>> prerequisite-patch-id: 69859554c94de52068406dab0d2869ca26072c78
>> prerequisite-change-id: 20240809-fp5-dp-sound-b3768f3019bd:v3
>> prerequisite-patch-id: 2d8997a2be02cfddf3a054c79e7eb308a6d06710
>> prerequisite-patch-id: 1b7c8f00ab50ae71c0221868578b9c1dfe939e4d
>> prerequisite-patch-id: 4fd0673c4d35c1fefce63ec5785ff5ea67cc3d3a
>> prerequisite-patch-id: f5ec3a893de19900f62dc691d83986f1104914b0
>> prerequisite-patch-id: fce7573c39e768f7a09c002064b6159b8e91161a
>>
>> Best regards,
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-07-21 6:22 ` Luca Weiss
@ 2025-07-23 10:57 ` Mark Brown
2025-07-23 11:09 ` Luca Weiss
0 siblings, 1 reply; 17+ messages in thread
From: Mark Brown @ 2025-07-23 10:57 UTC (permalink / raw)
To: Luca Weiss
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Bjorn Andersson, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, ~postmarketos/upstreaming,
phone-devel, linux-usb, devicetree, linux-kernel,
Krzysztof Kozlowski, linux-arm-msm, linux-sound, Dmitry Baryshkov
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
On Mon, Jul 21, 2025 at 08:22:06AM +0200, Luca Weiss wrote:
> On Wed Jul 16, 2025 at 9:19 AM CEST, Luca Weiss wrote:
> > All dependencies for the patches have been applied already, so this
> > series can land as well!
> Is it still possible to pick up the sound patches (1-3) for 6.17? Dts
> has been applied already.
As previously discussed they won't apply until after the merge window.
Please don't send content free pings and please allow a reasonable time
for review. People get busy, go on holiday, attend conferences and so
on so unless there is some reason for urgency (like critical bug fixes)
please allow at least a couple of weeks for review. If there have been
review comments then people may be waiting for those to be addressed.
Sending content free pings adds to the mail volume (if they are seen at
all) which is often the problem and since they can't be reviewed
directly if something has gone wrong you'll have to resend the patches
anyway, so sending again is generally a better approach though there are
some other maintainers who like them - if in doubt look at how patches
for the subsystem are normally handled.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-07-23 10:57 ` Mark Brown
@ 2025-07-23 11:09 ` Luca Weiss
2025-07-23 12:19 ` Mark Brown
0 siblings, 1 reply; 17+ messages in thread
From: Luca Weiss @ 2025-07-23 11:09 UTC (permalink / raw)
To: Mark Brown
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Bjorn Andersson, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, ~postmarketos/upstreaming,
phone-devel, linux-usb, devicetree, linux-kernel,
Krzysztof Kozlowski, linux-arm-msm, linux-sound, Dmitry Baryshkov
Hi Mark,
On Wed Jul 23, 2025 at 12:57 PM CEST, Mark Brown wrote:
> On Mon, Jul 21, 2025 at 08:22:06AM +0200, Luca Weiss wrote:
>> On Wed Jul 16, 2025 at 9:19 AM CEST, Luca Weiss wrote:
>
>> > All dependencies for the patches have been applied already, so this
>> > series can land as well!
>
>> Is it still possible to pick up the sound patches (1-3) for 6.17? Dts
>> has been applied already.
>
> As previously discussed they won't apply until after the merge window.
Sorry about that, I thought the conflict was for the 6.16 merge window,
not 6.17?
The patches this depends on have been applied by you on 2025-06-09:
https://lore.kernel.org/linux-arm-msm/174950282564.277844.4634804513095204160.b4-ty@kernel.org/
So I'm not aware of another conflict, that's why I was asking in the
first place.
Regards
Luca
>
> Please don't send content free pings and please allow a reasonable time
> for review. People get busy, go on holiday, attend conferences and so
> on so unless there is some reason for urgency (like critical bug fixes)
> please allow at least a couple of weeks for review. If there have been
> review comments then people may be waiting for those to be addressed.
>
> Sending content free pings adds to the mail volume (if they are seen at
> all) which is often the problem and since they can't be reviewed
> directly if something has gone wrong you'll have to resend the patches
> anyway, so sending again is generally a better approach though there are
> some other maintainers who like them - if in doubt look at how patches
> for the subsystem are normally handled.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-07-23 11:09 ` Luca Weiss
@ 2025-07-23 12:19 ` Mark Brown
2025-07-23 12:35 ` Luca Weiss
0 siblings, 1 reply; 17+ messages in thread
From: Mark Brown @ 2025-07-23 12:19 UTC (permalink / raw)
To: Luca Weiss
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Bjorn Andersson, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, ~postmarketos/upstreaming,
phone-devel, linux-usb, devicetree, linux-kernel,
Krzysztof Kozlowski, linux-arm-msm, linux-sound, Dmitry Baryshkov
[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]
On Wed, Jul 23, 2025 at 01:09:35PM +0200, Luca Weiss wrote:
> On Wed Jul 23, 2025 at 12:57 PM CEST, Mark Brown wrote:
> > As previously discussed they won't apply until after the merge window.
> Sorry about that, I thought the conflict was for the 6.16 merge window,
> not 6.17?
There is a conflict. You could check this yourself...
> So I'm not aware of another conflict, that's why I was asking in the
> first place.
You were sending a content free ping:
> > Please don't send content free pings and please allow a reasonable time
> > for review. People get busy, go on holiday, attend conferences and so
> > on so unless there is some reason for urgency (like critical bug fixes)
> > please allow at least a couple of weeks for review. If there have been
> > review comments then people may be waiting for those to be addressed.
> >
> > Sending content free pings adds to the mail volume (if they are seen at
> > all) which is often the problem and since they can't be reviewed
> > directly if something has gone wrong you'll have to resend the patches
> > anyway, so sending again is generally a better approach though there are
> > some other maintainers who like them - if in doubt look at how patches
> > for the subsystem are normally handled.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-07-23 12:19 ` Mark Brown
@ 2025-07-23 12:35 ` Luca Weiss
0 siblings, 0 replies; 17+ messages in thread
From: Luca Weiss @ 2025-07-23 12:35 UTC (permalink / raw)
To: Mark Brown
Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Bjorn Andersson, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, ~postmarketos/upstreaming,
phone-devel, linux-usb, devicetree, linux-kernel,
Krzysztof Kozlowski, linux-arm-msm, linux-sound, Dmitry Baryshkov
On Wed Jul 23, 2025 at 2:19 PM CEST, Mark Brown wrote:
> On Wed, Jul 23, 2025 at 01:09:35PM +0200, Luca Weiss wrote:
>> On Wed Jul 23, 2025 at 12:57 PM CEST, Mark Brown wrote:
>
>> > As previously discussed they won't apply until after the merge window.
>
>> Sorry about that, I thought the conflict was for the 6.16 merge window,
>> not 6.17?
>
> There is a conflict. You could check this yourself...
I see now where the conflict is, due to an updated previous patch.
I will send a v3 shortly with that resolved. Then it applies on your
for-next branch cleanly.
Regards
Luca
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: (subset) [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (5 preceding siblings ...)
2025-07-16 7:19 ` [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
@ 2025-07-17 4:31 ` Bjorn Andersson
2025-07-23 16:48 ` Mark Brown
7 siblings, 0 replies; 17+ messages in thread
From: Bjorn Andersson @ 2025-07-17 4:31 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
On Thu, 01 May 2025 08:48:46 +0200, Luca Weiss wrote:
> Since the series for the USB sound offloading driver was finally merged,
> we can add the sm6350 dts and enable it on Fairphone 4.
>
> A few devicetree binding bits have also been missing in that series, so
> there's some extra patches for the basics in this series.
>
> Depends on:
> - For qcom,sm8250.yaml & sm8250.c:
> https://lore.kernel.org/linux-arm-msm/20250425-fp5-dp-sound-v3-0-7cb45180091b@fairphone.com/T/
> - For dts:
> https://lore.kernel.org/linux-arm-msm/20250321-sm6350-apr-v1-1-7805ce7b4dcf@fairphone.com/
>
> [...]
Applied, thanks!
[4/5] arm64: dts: qcom: sm6350: Add q6usbdai node
commit: 30237c2bfda59e3abd7f7e92879e75bc730edfd8
[5/5] arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB audio offload support
commit: ddcc0ad9a9b8488d3ee0b4ca6fd9b092c462491f
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: (subset) [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone
2025-05-01 6:48 [PATCH v2 0/5] Enable USB audio offloading on Fairphone 4 smartphone Luca Weiss
` (6 preceding siblings ...)
2025-07-17 4:31 ` (subset) " Bjorn Andersson
@ 2025-07-23 16:48 ` Mark Brown
7 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2025-07-23 16:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Felipe Balbi, Srinivas Kandagatla, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Bjorn Andersson, Konrad Dybcio,
Wesley Cheng, Stephan Gerhold, Luca Weiss
Cc: ~postmarketos/upstreaming, phone-devel, linux-usb, devicetree,
linux-kernel, Krzysztof Kozlowski, linux-arm-msm, linux-sound,
Dmitry Baryshkov
On Thu, 01 May 2025 08:48:46 +0200, Luca Weiss wrote:
> Since the series for the USB sound offloading driver was finally merged,
> we can add the sm6350 dts and enable it on Fairphone 4.
>
> A few devicetree binding bits have also been missing in that series, so
> there's some extra patches for the basics in this series.
>
> Depends on:
> - For qcom,sm8250.yaml & sm8250.c:
> https://lore.kernel.org/linux-arm-msm/20250425-fp5-dp-sound-v3-0-7cb45180091b@fairphone.com/T/
> - For dts:
> https://lore.kernel.org/linux-arm-msm/20250321-sm6350-apr-v1-1-7805ce7b4dcf@fairphone.com/
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/5] ASoC: dt-bindings: qcom,q6afe: Document q6usb subnode
commit: b102c9d89fecd72be83eaab9b384285e2d0dc940
[2/5] ASoC: dt-bindings: qcom,sm8250: Add Fairphone 4 sound card
commit: d664e75317e19bb79b6d207f7729e35eca504a6a
[3/5] ASoC: qcom: sm8250: Add Fairphone 4 soundcard compatible
commit: c58c35ef6ae62e36927f506a5afc66610b7261d9
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 17+ messages in thread