From patchwork Tue Oct 17 20:01:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 154454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4369672vqb; Tue, 17 Oct 2023 13:02:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpj9TbLf3LP/RypAbGBz6oGqCU0I+1RLvhcD6C5P/npBb4484ti7AgMGed1Wo+P4jFdQ5P X-Received: by 2002:a05:6a20:8f2a:b0:163:d382:ba84 with SMTP id b42-20020a056a208f2a00b00163d382ba84mr3462760pzk.5.1697572956629; Tue, 17 Oct 2023 13:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697572956; cv=none; d=google.com; s=arc-20160816; b=bLoxV3bTXUzTotCwDwv35+VfyQYuwcjo1INuO4REvjcym+NlCaMb+9ht04vRW4gBER GofQzsWWBWmPkB4OZ84sTBp/FEY7MVC0tTSv6cJIoBUhMm8+h4VJ6zhe1qjXJKuqLQdb zl37L5mvOUUkU7dnpL/jfKWFCiH3c38pnk9CXoqCVuNlsl4iCNKuqckxLsEZdtIgr9Hc t+uut3ylXjwCkffGGLtzDtN1xToZ7eAiHMgoR7biYTvWTtLotusu8806v33wHduJlrH0 IRTYQrw7aVab1b7rPfc/u4Crvbq7vWZhE4vNWscFqlwnS8JQYx3ZefxFBLlw58OTwF+4 luFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3gBHabwBqqq6kLDsqXiZ5sw8OskG5Bpac3TWaz1Ue9M=; fh=ASZxE/GudOQkGCAz0d02NHHSpg4iNHYOcDWl1imlof0=; b=mPCiBuJ6kA4eNzn+K5JORTKJJYKC88NEasH5hS23efvLRY0M7+bbAESS0CveAWI42+ NCZjBA79BvTz2JbeCnlntd13mPwZ0wpaMFwMv4n1pxZnvXFDNLwvX4vO1QXSuV3ABZ2N +bx5WiqtXEsOMKKattTAfpG8LMBclBgmHh+5et3Ih6artGXnDHWEl8aVLC98KSu5Wk8Q pid+5ck3IYcya8K61QIW4S1Ph2htVYHcvY2pyH0P6a3+VHHsy/GzrAG1+OPQFcNA+iPk 4XuknKk7t+ewa75C+fz4ZKwI3m48FpBvb7P8BkmDdLcq+TWjiR1coe5uf3cUzuo5A1lr d4Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YwXqa6rP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id j63-20020a638042000000b005aae2dd62b2si465468pgd.527.2023.10.17.13.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:02:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YwXqa6rP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9508280BB53A; Tue, 17 Oct 2023 13:02:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344358AbjJQUCD (ORCPT + 21 others); Tue, 17 Oct 2023 16:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234679AbjJQUBs (ORCPT ); Tue, 17 Oct 2023 16:01:48 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF895F7; Tue, 17 Oct 2023 13:01:46 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39HDDlT2009936; Tue, 17 Oct 2023 20:01:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=3gBHabwBqqq6kLDsqXiZ5sw8OskG5Bpac3TWaz1Ue9M=; b=YwXqa6rPXSj5k2D5/pGb44xFr1vF8n9TLRUf+oh71C68tHYasBZqw8qsWIKt/bX2vwFE gYMCsuNNcxMOE1fX+sqr2jE4kCZKt7ThuE85WInF58lOxV3eVEYw8ZZpvuoM3aLqRkQr Ps9BSXrTMxrBu4wu6esyunsnIY5I0XV1vuXKUpU/XQoQxuqgLM/NY2e7VfODVMJZ/iE6 aaAc5Xt+50R6462EesGHL8o8drUb8SK5Y1XyKiNpAW3OPMI8lBwJ/xAWAaOXlLK/eZda 4U86ncX3sayRnHLCKRym/jwggCzuBvyM9z69Add7k7o6rP11ryrZAOqvdLKypkrL8oSC nA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tsnej9qj3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 20:01:28 +0000 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 39HK1RAf010306 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Oct 2023 20:01:27 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.1118.39; Tue, 17 Oct 2023 13:01:26 -0700 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , Wesley Cheng Subject: [PATCH v9 25/34] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Tue, 17 Oct 2023 13:01:00 -0700 Message-ID: <20231017200109.11407-26-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231017200109.11407-1-quic_wcheng@quicinc.com> References: <20231017200109.11407-1-quic_wcheng@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: CmNMxyJEtn3ZPzv5DQC3zOZu34NlNJf7 X-Proofpoint-ORIG-GUID: CmNMxyJEtn3ZPzv5DQC3zOZu34NlNJf7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-17_03,2023-10-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 bulkscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 phishscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310170169 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 17 Oct 2023 13:02:25 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780034260544761167 X-GMAIL-MSGID: 1780034260544761167 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 262de7a60a73..13145e010ddf 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -220,6 +220,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>; + }; + }; }; - |