Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1438133rdb; Fri, 16 Feb 2024 16:43:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU0Bz/ClhXb9PyV/fKDavfcE37RKmF/XDnix/J/6Myo4JJFboBIjnhojmo25iSqGzJ88eU48dp0yRfuyrp+MEAKXa7YEBVsJH1NvwnCKQ== X-Google-Smtp-Source: AGHT+IGmCXbPNFMUWR3FQnsW9aTBrEsYjzagESW0yNfppHDtZnK2+MaDUZy+fubx/cxHqsAQdce9 X-Received: by 2002:a05:6358:7422:b0:178:a7de:2e17 with SMTP id s34-20020a056358742200b00178a7de2e17mr7464409rwg.7.1708130601166; Fri, 16 Feb 2024 16:43:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708130601; cv=pass; d=google.com; s=arc-20160816; b=JCkjppc4//WFMfxR/mG+Q2crYPIOB4VDasnM89R3ZH/5bQiIBiRQE2QyHKgq1CWVxe threAeCmfZmVI3p5etGrQZVKs+JykQpuLtGeICo7BhWIDFW/1wU8WgkrSKqC2hgxrtTl eTxCnoQthPFLSzorkD5xaf6JawoXkuoAi5o2nJZvIgSXp+kZJhb2/jU45MCKVZbEoGk+ BsLrwulC32cHH5jpd+V4dvGfYklWC84CIBOPVzwRpAkyWzWNZdRmCs5wDqS+T4oZZ6KN Yi9i42jk5qTqTzDRiFLSRfW2CszxgoduX3YawhemOsJjCya4wtCzqnwYLMcc3OYICHnM WnYA== 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=VKrp0Y7I/+wT36BfKZ6oI/4N9BIwFCn9zerObkOrgGw=; b=b4PEx1bWEz4XWqfbF4hI1ozv0SQFym5gYJ7iDAjgYZo2AKvxZWqPuE2LSxG3VsX9fs 8v+Vm198VrF+8m0lt+2ucu9XIK+KKIG1wlWpqILwtsLBwvzzPblndArnfginzmqU3T3F LFx/NoAExTYzzpKR1Jpntn4zW4lZf8SVQlfK0l0G4KhvqrAvtYLQMVHSdKmimUTfJvYA rSuo5ut2frSiGd+dyyTCVjArYxr3GeouGkHsZjGfgzLBkWTP5xcRBwqPANuz7BOe4vH5 B7mM0zKk6tjm1S1t/fZ3YZyeqbRLU5Mo4M9ftJ4hEXAt6CXDoPI1SUa1kryLw1DC3+6r 5xMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HMtaJhfN; 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-69565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fd38-20020a056a002ea600b006e10704421dsi697591pfb.35.2024.02.16.16.43.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:43:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69565-linux.lists.archive=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=HMtaJhfN; 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-69565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69565-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 30EE7B24ADA for ; Sat, 17 Feb 2024 00:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67DD21272C9; Sat, 17 Feb 2024 00:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HMtaJhfN" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 A510050A6B; Sat, 17 Feb 2024 00:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708128666; cv=none; b=ZISJYxFwVt7IQ8Nct846spUcyLltL1gJXQBcC+9/3UvrB+2WGWvHK3OhHpHj5YulcEllG6Wkbbqd+3sEDMxyezOQW2bmGA4ssUvaB+Oz/4LyAqO2gGFuGiUbZKxLFrZcfZC2kFMVfvbbQVpdo6cLQrmzkSKnVWidzYmoY1Wt0+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708128666; c=relaxed/simple; bh=+XyT6AmPyeGSCzDybpKwWtfIMLvamtKqfXcViqYy9iU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BZ8NJ+QCQ97lyPgQrJ2dwkSqOVM3F9V4AnoUEwRQ9QAuMRbiORK1Q7ea+qzA0SkF7OQKvLi14yi/GEBPVHn7qRuAwbGVrhs9LjqECJUJR+clFf9bjyxgv3L7pgY7qrNv3B6uLpFZOVzrbr5Lt9lgtmEFf3SiD/OQHC5enApskPw= 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=HMtaJhfN; arc=none smtp.client-ip=205.220.168.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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41GMHmfY003421; Sat, 17 Feb 2024 00:10:41 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=HMtaJhfN4fl33X3wDRwY/nqGwTzpEBYkkInl tLg3qyNkbUjR+KL7V/kOi9t35xY0CkbSoKDgbjc6hC9KKA8HoKH1CFr+hFs73wfd m/cBAFfg2TjM/LD6YL+vQSpMUldsj4+GAz/ZhgCE3z5y5dvL0KOi4DKUVnVn+gVy bgjxw5z+firDya9MqAhLA5rvFPDr7cEzZrtOXPh5/n/NmKD9yQjealvojon0ycOP Eo/tHS9d+Yw2nnzlD+LW6avi+2cCWJMQoNNlhrmjX5/A9ATADPzk2XcnwTuRB4Nn hX9zDcY/pl6LEDboAyS9IOCNLuWP6AB0EOO2u4ZpQBqL72BErw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wa51xhkey-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 00:10:40 +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 41H0AexR011369 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 00:10:40 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; Fri, 16 Feb 2024 16:10:39 -0800 From: Wesley Cheng To: , , , , , , , , , , , , , , CC: , , , , , , , Wesley Cheng Subject: [PATCH v17 36/51] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Fri, 16 Feb 2024 16:10:02 -0800 Message-ID: <20240217001017.29969-37-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240217001017.29969-1-quic_wcheng@quicinc.com> References: <20240217001017.29969-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: 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-ORIG-GUID: StOdX_IVh1ZaFC4RnonNZ-yGcVcylvTw X-Proofpoint-GUID: StOdX_IVh1ZaFC4RnonNZ-yGcVcylvTw 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-16_23,2024-02-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 impostorscore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 spamscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402160189 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>; + }; + }; }; - |