From patchwork Sat Sep 16 00:10:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 140950 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1485682vqi; Fri, 15 Sep 2023 22:17:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEK8dCWIwX7lM4mofaNY1/IYAZp9zu0Resrxr2/voG9hb4qC2eKFf/z1WMI9MDDDYuow3Ig X-Received: by 2002:a05:6a00:2d20:b0:68f:cc0e:355d with SMTP id fa32-20020a056a002d2000b0068fcc0e355dmr3979265pfb.25.1694841420478; Fri, 15 Sep 2023 22:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694841420; cv=none; d=google.com; s=arc-20160816; b=d1UtAy274bnOoGjeh6Vq+7O1Q/yep8kdEU3dcNw/g+neUs/L85RdIXfxbnOhL7fsOJ TpnEj8ARzS9uFfYA1LpoICkdkQ6YPioOkxM3ndStiCvwjWbCFa7F4Lt6kWSpXjhh/XlU pjDIiP7ZVwZZKoy0OBkjke31haS186X+caV6Xja2Kms+U8kDUf+rU1JgEYMWmLJfRkzH FH4grTIlC1OehMRMFj4ADXfFP1TRsXMFVag+cW1YcCMSMlrJjZuJbSLPVGfpU8ZZAWs5 jJNDf4yDomTgshG008e05KZdqBWD31hAbzbdok5RdgJePjF0Z/psyT68VFgYPsTmtIqY Spcg== 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=MhCCCRx4c0AeUz43uLzZOKA4YzcBN2mk3tAWrRRVvW4=; b=MYo8awjwRB55aeqEafCpk68ns9ssckDc9+3auRsjTQrI+yFXlzviyv34gvIbWJbzR4 a6HWwC6lYmIJu/QAhpjcCpTYSjPtVeSqzRiZuOoyCBpWJMabP4Y8WxxKiBdxyzl70Zl0 bAOt9qw4MwhgsoxLOPDbKFkQ7miVEId5K8qEKDMSupyg2cPAUo4bn80ml2QgFETJQo/i DjlCpsMaOzGLOfoSLyaBwQoofNa93ozDKIptlWI7HTmxhfA6tqHGiqR2aTEe9Ga/QMon LjZhIvlOEL44TrC+rPordBdNPcEt/qSrRLUXlw32aUvj/We5Bv7Y5h9hLmOF91eqyEJL ZC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bviXrrPi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id k66-20020a636f45000000b00565323c8295si4178462pgc.749.2023.09.15.22.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 22:17:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bviXrrPi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 19E52804ADB3; Fri, 15 Sep 2023 17:15:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238470AbjIPAML (ORCPT + 28 others); Fri, 15 Sep 2023 20:12:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238172AbjIPALN (ORCPT ); Fri, 15 Sep 2023 20:11:13 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 051342701; Fri, 15 Sep 2023 17:11:08 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38FN40eA026372; Sat, 16 Sep 2023 00:10:44 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=bviXrrPiLzFf1k5zK2JsHkhaUxLYjB2lmkxuO42X6KYt1deitpGy1aUd/O2eOHll7+ax wzcJ7vU/+Cp1aO987EkZHlOQ7jWRBdgOhyHtD0ybZ1d8i6N+CN/OKUYf7Ucj+c/v7ELh axGWlu0VHTDrLoo1bGdaiemh1n2jEAOaIdp2oZ9lEYTZAU0vgQLmdRSh08AM2IuXF5/H +K6nycqtEzS4QYga3stzgMg9SCjcRKacTADZNNqDrNoGbkHIoFMm++fr+j9b6IJdn9iY x4tLBwq/iHIxVSvDGA2iumVN4BHAnvd0wf4gcKSexFWsUQYNbAe6YatnnyWZYO4kPdbB rQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4f6v2q51-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Sep 2023 00:10:44 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38G0Ail3011929 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Sep 2023 00:10:44 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.36; Fri, 15 Sep 2023 17:10:43 -0700 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , Wesley Cheng Subject: [PATCH v6 24/33] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Fri, 15 Sep 2023 17:10:17 -0700 Message-ID: <20230916001026.315-25-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230916001026.315-1-quic_wcheng@quicinc.com> References: <20230916001026.315-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: nVDqxDhGYPaPY0IM-nZYCEg0ImTHN7lu X-Proofpoint-ORIG-GUID: nVDqxDhGYPaPY0IM-nZYCEg0ImTHN7lu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_20,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 clxscore=1015 mlxlogscore=999 spamscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309160000 X-Spam-Status: No, score=-0.9 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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 17:15:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777161067218276744 X-GMAIL-MSGID: 1777170037160049573 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>; + }; + }; }; - |