Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp240296lqb; Thu, 23 May 2024 17:22:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3hRmxIfOCuTt07vhyG/5ewWPjV4GFJnGUfhOaWACOXBKvJ/4vnR5fX2ycYMwxYcKDLNrU7+eiOdkO7GFdd/jw+d1bRJP2r+if4jQqGA== X-Google-Smtp-Source: AGHT+IHpo+LbfB4d/XnFTOJb8Zp5dm0sPP46/xRzwRDPNSUFHYnrSiyXINR/KWkZfVu0klIA4jH4 X-Received: by 2002:a17:903:4094:b0:1f4:4631:d6a3 with SMTP id d9443c01a7336-1f4494f1da9mr7463145ad.42.1716510148272; Thu, 23 May 2024 17:22:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716510148; cv=pass; d=google.com; s=arc-20160816; b=WGWWHspB5MO+hHAb7xvtShxceKMul1EzOa3Br3IH+E/CvB19N3MgfKbty8phMOgFNP pzjxTqVrrNSIvs7gEGLZIJdFicH1692zebF7vV0Fp2Rq1A47fgW/VfN+X3H8EhsbeC1K 7I2R3T166hOFZNIzSh4Zkw89unn1JpufqRWya2lRpoP9KL3FNhavuvCDWO81A1ph2WiW 4hbFUjefn8DKhjy62uSlZl4dssmFnd7wgRFR2WFBun9IB+pHQULCYTsTYRGX3CPjT7/9 OgI9za7xYV/231riq75auvV6la91Cq2D+ZsmD1zCoJ/nagPqChWaeYTKoNTKX8u93kWn oYhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DYLWwo/G+1Jgv2CP4pXZ8GM4oRunCFe5DUVQ7F3XSlY=; fh=alya9RESAvST9l9KF9dhflA/rrEE+1L8tn280X7aOio=; b=HgPR2gtl//9yF/P4mP85puYujL90AmjggDgrCyjX4Hh944g+OpWT51iKuFhLpmyeMo /bAsyaFHSDlTaaUNtMhmJimQkwW4dgb2MmvQEVmiRD/yZlXjDPOzUX8Xyt+1lJi4uboC 4XBtOtQA5krZf5BI1qunMJzdZsFzB4jnDM30Nksq0F/z4PQDP5h/x/R77DdvN8okZ1Cr 0Q3+ia8RcLmDvxW/izzpWCytVRGTOUvFaCEfdkl0azPbpoqne3MIm298n6U+xw4dTe3C 04i/7rOsqBvumAwKuwjTKzVRq25D3ZGFk12XY2lj6A3cANkTS0lmSK3+jfEnGBCxOiQf z25Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cJw9pbi1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-188132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9eecb8si2495955ad.580.2024.05.23.17.22.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 17:22:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cJw9pbi1; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-188132-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BFC1B2855B3 for ; Fri, 24 May 2024 00:11:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2758E26AE4; Fri, 24 May 2024 00:11:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cJw9pbi1" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1140B800; Fri, 24 May 2024 00:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716509479; cv=none; b=mNw6jXzh0EoSulrBdK35jB9J8kzarpMTgc5kWo6WBg9j98QewMz5PWvgqa3JYevKfK/8CrCcHCMwKsWcbf/x9MrkDc8zmA11N3x9cYXkM/8/d+BEHDIIxYDlB2wQ0jurab2m/rKIedvXvaiHfBoaa6keAXSui80N6+CTnexRSZw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716509479; c=relaxed/simple; bh=izD+DbozS8oGydYFz+5Vb7dIzvHhxa3xSOkF47CTxH8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AVRjXSceRvWQeSaW97RVpVsFeUdVbnnsRlQ7VBz+SiTTJi0hTiqYSg/SN8RvS11X1qY8DfqsHYfKQuFUoJ3kHVKXaxVMXgHFg1SZ5dY4nPoODkQ9m8Tylvf8z55Xcf8WIqkM74G1KPPT6A+oZG1LpY6iNP/L52n44F6yndbrp7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=cJw9pbi1; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44NNPIt5004407; Fri, 24 May 2024 00:11:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=DYLWwo/G+1Jgv2CP4pXZ8GM4 oRunCFe5DUVQ7F3XSlY=; b=cJw9pbi1LCo1pbTtp3K45wCyJZqvK5DsgxVCzzg+ 2S0E3Lv9/lshdwm+oKYZht+cYCA7PilVPDUNTvYPkbndKxA8Y1fjG2vIyac84k/6 HkFQHVbakY8aNBAXbUNzzf0boVB9ciRIuQgl2Huv9VVpbztXHZWo37UqW0rfcSIi CJK93BPwJWa9BzUncHpkAauwjzfF/w4p2ZJcX3lRTZKFREi5WBpVdmGuaGqa1wiN +IqZ1rS/kfZI67SCIW78AVQQv3ixvYAqUp+dqOrO2m1M4twq1BWXHZiS+H+Ft6gX M1xqp+JGgYuRt9sJP6/GCl4gJFPy7pdWUcp/oPJkg74a3w== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yaabq0q42-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 May 2024 00:11:02 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44O0B1Vv020592 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 May 2024 00:11:01 GMT Received: from hu-wcheng-lv.qualcomm.com (10.49.16.6) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 23 May 2024 17:11:01 -0700 From: Wesley Cheng To: , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v22 24/38] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Thu, 23 May 2024 17:10:29 -0700 Message-ID: <20240524001043.10141-25-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240524001043.10141-1-quic_wcheng@quicinc.com> References: <20240524001043.10141-1-quic_wcheng@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: N3bNc8KdRkXQjqmkxKRIR2YJ_BAFLheH X-Proofpoint-ORIG-GUID: N3bNc8KdRkXQjqmkxKRIR2YJ_BAFLheH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-23_13,2024-05-23_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 bulkscore=0 impostorscore=0 malwarescore=0 spamscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405230166 Add an example on enabling of USB offload for the Q6DSP. The routing can be done by the mixer, which can pass the multimedia stream to the USB backend. Acked-by: Rob Herring Signed-off-by: Wesley Cheng --- .../devicetree/bindings/sound/qcom,sm8250.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml index b2e15ebbd1bc..f2d708f899bf 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -229,6 +229,21 @@ examples: sound-dai = <&vamacro 0>; }; }; + + usb-dai-link { + link-name = "USB Playback"; + cpu { + sound-dai = <&q6afedai USB_RX>; + }; + + codec { + sound-dai = <&usbdai USB_RX>; + }; + + platform { + sound-dai = <&q6routing>; + }; + }; }; - |