arm64: dts: qcom: sc7280: Add q6usbdai node

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.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250801-fp5-usb-audio-offload-v1-1-240fc213d3d3@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Luca Weiss 2025-08-01 15:51:05 +02:00 committed by Bjorn Andersson
parent afde4d8ea5
commit 55863887fa

View File

@ -3855,6 +3855,13 @@ q6afecc: clock-controller {
compatible = "qcom,q6afe-clocks";
#clock-cells = <2>;
};
q6usbdai: usbd {
compatible = "qcom,q6usb";
iommus = <&apps_smmu 0x180f 0x0>;
#sound-dai-cells = <1>;
qcom,usb-audio-intr-idx = /bits/ 16 <2>;
};
};
q6asm: service@7 {
@ -4295,6 +4302,7 @@ usb_1: usb@a600000 {
snps,parkmode-disable-ss-quirk;
snps,dis-u1-entry-quirk;
snps,dis-u2-entry-quirk;
num-hc-interrupters = /bits/ 16 <3>;
phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
phy-names = "usb2-phy", "usb3-phy";
maximum-speed = "super-speed";