From patchwork Tue Feb 13 00:54:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 200179 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp277268dyb; Mon, 12 Feb 2024 17:55:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlcwPhwOspu/QTmssnOm9aqmUF3Brh0osYdukPxFHYvmxW7/Q9f2irZcJkRJRhwPErsZ2gcF/29+oVKl/ttWYy312eKg== X-Google-Smtp-Source: AGHT+IFRLfuwSDvCllCxnfmOFW5KO/DW2S/st/fUacHJk+Vo9vpusbQlzjoxis9Vkq84Z+SeiHKX X-Received: by 2002:a05:6870:9725:b0:219:efcf:4566 with SMTP id n37-20020a056870972500b00219efcf4566mr8298545oaq.13.1707789315999; Mon, 12 Feb 2024 17:55:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707789315; cv=pass; d=google.com; s=arc-20160816; b=DTHepAETU64PcBIUP5G2aCAPjs3T0zne9Lenyg8uSnIwsGOryxYqphxIWupwVwIMap /qqkm6gbAJn1pEgKsHFHX8kU9ROnve5ADu0STK7a7sJDYnuvuDBB13MKNIDhOiHUjGfu DMjltlAKx+/Qgy2/Yu/aM0u5kAYeZmVxWsK0wm6htaS8auP6hnLDQFqEmAwPA3IABbFF M2FFMzG6LfcWrC1hfvjN+1xSqL58gFCb7cDJvXmAFqx+djs9F1TrUARitwH14FR1QI7u io0Bc5EdylT96aN5Sxs7hCCAVXhHlfXrTgEG5NZzhGpnE7ezm1iQGXvLFAF6v8F5Frtm JnPg== 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=wCcbSWsFpVxj3QLd4HmmfLqNJIIYRPfgAwCjJgT6kZE=; fh=zcI7XPjAskP29hdj2SV8w0nhGXn4ny4aI1uI/RNEMCU=; b=BYeKsuw8kqJcMraHDFrFKWF2gk9pUHBfvmHlBpG+S4yeI86MO88BxYApt6K+TAkNmh L2qqdc08rgigqCY6nKFNtoUjZUG9T5Qlpc6so+W4R+tJFkE1JnZZzFUZTSpTGb1Vq36Z QZoqBu60KGHZ7IZ82b0uDyh6QkXPKPxY9Jo3KDfgZ5r75O7CSFJOQEn/QEpnuV4eRSb/ hIREmi5/p+ZE3BfI+R76yS89lMY6PSni7waJOEpWYCri0r2npFSG3BRYIuj0Q2S2y+6r p+1x8RWTdy4THxv2Ivm5HSWc6bxfXC83M102V9b/dzIDofojvCXgiuxcJQx7IPmqMS0h 0FxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OEZSM7Yn; 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-62806-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62806-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=2; AJvYcCVwX/GLG6XZvYfvqeFV9rRncz/GoVdxu5+nj2nYhRNQ1hQWLCf2DtPlEhO2GfPKgNd52ZA0nVntkmbQbiSw+QQcRGFZ4Q== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l1-20020a632501000000b005dbf27229edsi1116729pgl.290.2024.02.12.17.55.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 17:55:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62806-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OEZSM7Yn; 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-62806-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62806-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4DA72B28280 for ; Tue, 13 Feb 2024 01:33:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8B8960ECD; Tue, 13 Feb 2024 00:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OEZSM7Yn" 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 5DDE254773; Tue, 13 Feb 2024 00:55:01 +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=1707785704; cv=none; b=gyWur1Ka8JvpjtD61pT3EYIThRxBhm1yhZR9g9+XMllz0kZkxY0I6qDGDEEQtgp4U3gtVi+7y+6knR7hGG+0cjSnAADW/6mQnOip5x9bwE/J/LonG3ZVGrFvJea2ajis6JAoq3rJ1KG3lrTjOVWsWigB6VwGkS4uY4Pgzvag77w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707785704; c=relaxed/simple; bh=+XyT6AmPyeGSCzDybpKwWtfIMLvamtKqfXcViqYy9iU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Jd6ihgT5lFGOM3bzENG/mOV2gmdTKw7+9ShouSWHhSvg2rywc59DXIgEk6wIcocZ2yTSoyZ0w5QqKuCxwD66DLBorwAwIQ22/mJq47hG0nCrCS0B596RU+88KcpkvHpVex7OMgwExxpYEIKuT7brSpgsc9ChaoBm8yUfOoLPVdU= 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=OEZSM7Yn; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41D0gRDI017296; Tue, 13 Feb 2024 00:54: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=wCcbSWsFpVxj3QLd4Hmm fLqNJIIYRPfgAwCjJgT6kZE=; b=OEZSM7YnzC2jvLz8Ge+HgODh/bMlBLV+LHlY 6QocGMv0K45/kemn7N28hUHab9dayZjRrcZ90EaxvH2w/15VJIMlsSVoYZrJxQb2 uruQqjUqj0cGG0UEj79gMURYaezcFQisZG5wt4KXJyG+Hrzfo4kRMe0IFRMonluT 5PmH7sLr55C8tCeizTbWpjThImdFHx51fJLwHlQXMja45SU3paKtRNpfL9lG6f/e OXqT43w8G60PyQciR/6C14iSTQjQWo+9kfM0PFVAvBU415pJWGweu2GKUgnhWcoT pq3nL0BDNV4tGtgscAeqVJg+KQq220shn0PWeRLlhnratcI/zg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w62kt4tyn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Feb 2024 00:54:44 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41D0shrt031576 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Feb 2024 00:54:43 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.40; Mon, 12 Feb 2024 16:54:42 -0800 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v15 36/50] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Mon, 12 Feb 2024 16:54:08 -0800 Message-ID: <20240213005422.3121-37-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240213005422.3121-1-quic_wcheng@quicinc.com> References: <20240213005422.3121-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 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: P2gtIK4WsY40nniG2zkmTRg6b0mieu-S X-Proofpoint-ORIG-GUID: P2gtIK4WsY40nniG2zkmTRg6b0mieu-S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-12_20,2024-02-12_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 suspectscore=0 phishscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402130005 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790746889776938833 X-GMAIL-MSGID: 1790746889776938833 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 6f419747273e..e78b8b660fce 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -227,6 +227,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>; + }; + }; }; - |