Message ID | 20240208231406.27397-39-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58826-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp516475dyd; Thu, 8 Feb 2024 15:31:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHh5OBvnM2WbqwJ40EPYquScTl9JjjKQaLbvLDOpGx5+0XiPqNSb7+lhYg2f2u3v/T+gSIA X-Received: by 2002:a17:903:1d1:b0:1d9:40c9:43f1 with SMTP id e17-20020a17090301d100b001d940c943f1mr772965plh.49.1707435075960; Thu, 08 Feb 2024 15:31:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707435075; cv=pass; d=google.com; s=arc-20160816; b=NuZa3/XTdZpnBZq2d6a+bzUup6wVSw4t1sPhJXBzmLQHU2qZfQbCAOwRbc/FuO+jVR UTfUR8KpHC+SlZr7g2MfmF8SWMr9xesfwExO2TK3NOPHPLLYBzWl7T8dpXDBMzBqd0SP W7YGBM7loYIx4kDRFzI/3AhCVHjeB16xYEpHW9XZF0gJLG3sfd5lsSgE9veDgQn0nLUN lksdvMH6gbv3GNhVUh+kGB9JlzYXkCvbFY1YOLHRXSdCIBq+vnqfRKoRzjLbZunPgIk5 s1oChA/cLm7C00WgTHWp1jxKML3rWd9JGPr2upw1aZlm07dk1Bab9XQkMv/793TFRDFw 4QuA== 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=a/1jgBSP2QTA0927Dnpsv6yb6V6ENqtCvH0B/OqyWe0=; b=ypuTqWX0Mx8+TLXxjDsXIGG1Ai80xHg1jjrmkTlMW1M7iw7dnnTUfKLO4lYBinTu1N 09GaAVLFDKEhVyl62BwRE5ubOpOvkQcXPDnG6RuQem76+9Wg6Y0ECKNt8x7VhHhoIOoG 4O9KRmGf/t/3hPwxm+qWxae+4hjFdF8b2xg5P+H/ynpgidDiJLujMGNRnhIRWRG+gq+b 5Eky6/mhZRQTeAoDAntO8fo+8AontLziGQTNlfOM9Nl40PrfbHfkjOd09t9cr1+rikcs qSPKWvYphuTXcIAMUVVizFCiBqJUFSqCwNnjjv59tlPJWFIRSNxe0PEM3N9cuC4xhSy/ 8FfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VPo5Pgya; 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-58826-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58826-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=2; AJvYcCWubWPX2mmBVYTsM2x5qZZlPpO5x9epPZFDkfdeNrxzpSBi91qw1dAEMSauYM7Vv1AdgbGLFwx4Rjs28wt3seVmgKWoVQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f13-20020a17090aec8d00b0029705a95d81si604728pjy.36.2024.02.08.15.31.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 15:31:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58826-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VPo5Pgya; 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-58826-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58826-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BBE30288AD8 for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 23:29:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0538060EF9; Thu, 8 Feb 2024 23:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VPo5Pgya" 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 3BEC650257; Thu, 8 Feb 2024 23:14:39 +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=1707434082; cv=none; b=J7G5s5Rdp+B3hAmvieybHB3y1engq74sRlezJNZwZ+YzI9biZvvkoyDp9dZHmfEtprxKLrNRnS0kNVWE7H6oZwn9QowUTSgMQyV4X7zbNsg1JUhbtdY89QBpgJ0B955KmvdcCdMwlEMY2YeWt6AISdUeKJN3xRkFIq5D0C9n7Zo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707434082; c=relaxed/simple; bh=+XyT6AmPyeGSCzDybpKwWtfIMLvamtKqfXcViqYy9iU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZYqRF5Grk+VweTzydhsv4sAbyb4pz1EkF4+EsuBSpQAyHGmm/TztvsivEo8B67Ebsdg6diF6ZpbPoq7XI7DM6IKUIN4ExF6XPNQzMax+5hFse51dZSETQ94Du188dgbdMFoM3WJuRs9zKqoNe7l5KsgTPVhJs8Rkpq3KtsaTIrA= 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=VPo5Pgya; 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.17.1.24/8.17.1.24) with ESMTP id 418MpGpw006283; Thu, 8 Feb 2024 23:14:27 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=VPo5PgyaScf9Z5zFeHM+7dwUzX/KT5Ku8Zi+ l8lORPrON9bdzKjJL3CeSmWq+tte4yaL0/7i/vP3XQTNaXYTAh+ZHU+YY6pOtQVb boFbfm9ocRFUYG03WWfHU4Ag5cWrYoeS9q+I74lof20C4Ltd7iv4tvcZgRgJFym1 SiwdmCuJ4gTSDc69TdgL/t3UCgZHPJkEhS6i4eZ1tIkxraLXvv0KO4jbmtKsp4hz uZfZk4vchfa618Y0j8OZsy6xcAoOal0ApgtsxPdMmb23GP1jySPEDZi7QWAZXW0O yIXJTajU6fdkoM/ioHz9fRO2OO/g6WcCkdPcN0XPjPWE8zxQlw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w4pavjs0e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 23:14:27 +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 418NEQoY009240 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Feb 2024 23:14:26 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; Thu, 8 Feb 2024 15:14:26 -0800 From: Wesley Cheng <quic_wcheng@quicinc.com> To: <srinivas.kandagatla@linaro.org>, <mathias.nyman@intel.com>, <perex@perex.cz>, <conor+dt@kernel.org>, <corbet@lwn.net>, <lgirdwood@gmail.com>, <andersson@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <gregkh@linuxfoundation.org>, <Thinh.Nguyen@synopsys.com>, <broonie@kernel.org>, <bgoswami@quicinc.com>, <tiwai@suse.com>, <robh+dt@kernel.org>, <konrad.dybcio@linaro.org> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-sound@vger.kernel.org>, <linux-usb@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <linux-doc@vger.kernel.org>, <alsa-devel@alsa-project.org>, Wesley Cheng <quic_wcheng@quicinc.com> Subject: [PATCH v14 38/53] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Thu, 8 Feb 2024 15:13:51 -0800 Message-ID: <20240208231406.27397-39-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240208231406.27397-1-quic_wcheng@quicinc.com> References: <20240208231406.27397-1-quic_wcheng@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: ZRqryVz3eMuaYuloTZMd96lywdUYc0_A X-Proofpoint-GUID: ZRqryVz3eMuaYuloTZMd96lywdUYc0_A 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-08_11,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 adultscore=0 clxscore=1015 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402080131 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790375442336040008 X-GMAIL-MSGID: 1790375442336040008 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Feb. 8, 2024, 11:13 p.m. UTC
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 <robh@kernel.org> Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com> --- .../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>; + }; + }; }; - |