Message ID | 20231215214955.12110-27-quic_wcheng@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-1701-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9602813dys; Fri, 15 Dec 2023 14:02:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGC3pMNw238S2H8cR5FMkaGwkJy3znx+0ZViX1VAecHUjOAPcOBahqvFu14YT0v5HyL8szF X-Received: by 2002:a17:906:51cd:b0:a19:a19b:55c8 with SMTP id v13-20020a17090651cd00b00a19a19b55c8mr5402693ejk.88.1702677736938; Fri, 15 Dec 2023 14:02:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702677736; cv=none; d=google.com; s=arc-20160816; b=SuZ8dRkgnntrka6Uu2gcs/u+ajcysbUqMoA//4MoD3K3WTZS1XllAWr3CQPjyUeQWB gpbpH9gQvZI2OP0pEdmZXVzCgOX5OKZsw/JTMMcPojVPMHvW96OLCp1UTe1aqFFSl3pR rbUv+XFvYcx93Co0OruuddykuK4S9ddGJ3pTcsY87jdOjI/aWztvFt1xTyLeZXyyJzkf kP2HKlEnAtqabpdU8sgFraWiO7kVS7jiPQTQA7UyQixckJ8+8ODyd7423R4EhgA5deb8 C+9PLg8F9Zl4CN5zJ/GGjPT/8rn+MkdtXjxntDrtSl4fzUA5UlCUKsRGA+kOAhNyjkqx DVpQ== ARC-Message-Signature: i=1; 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=aMOIyprBFZ/DoKilTMwE/F9ft6UAGfFkGm6YPZETfVM=; fh=0KzismZj+xI0Z//ZGdqKIH/FO9LtSZM7Yj4P0VtrCz0=; b=MNfTBeHEnigKBqSmVoWxEokRrdWm9BbEuFreRb4L2c3jYNrXOFBFgGpRxkLpIrH99W zMgyCgRZ7bP4nyyHFnf6YkuOLAwksJK94Z51YcE5IPcsr31zgJkC/kQv48XT0dS8VFvH GcQqD6Baox00B9O92dZnd3NCXFNcaVsmzMbxvCIKWJuvcq712F7X9gxpXFcrYPbJshXk fVESQx/mQCdJGnBUI/9JkcM0JFRwwPTt56tZjqO1jgfufZV/i6LDFVWDiuJlz+/s5PoP geK9p2nklvYpC5yFRukH+TJ8PMT1Q0xAUUTpJdcdlUhJqTDmgBCnKs8cC9/ZKnRqEXtQ CwgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DkSMHdOY; spf=pass (google.com: domain of linux-kernel+bounces-1701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1701-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lv16-20020a170906bc9000b0099bbff8672fsi7784299ejb.696.2023.12.15.14.02.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 14:02:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DkSMHdOY; spf=pass (google.com: domain of linux-kernel+bounces-1701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1701-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8EBD91F22D56 for <ouuuleilei@gmail.com>; Fri, 15 Dec 2023 22:02:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB27283F50; Fri, 15 Dec 2023 21:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DkSMHdOY" X-Original-To: linux-kernel@vger.kernel.org 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 AFC6468EB1; Fri, 15 Dec 2023 21:50:30 +0000 (UTC) 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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BFL6so3025703; Fri, 15 Dec 2023 21:50:14 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=aMOIyprBFZ/DoKilTMwE /F9ft6UAGfFkGm6YPZETfVM=; b=DkSMHdOYJA4vdWE5pWJqKsBaOZHlnyoIXWnf BMBr0xAhvFRsu1Ihsndokwgi8rUkV0sGfsMejQngpgEtepI0KRNqKrAEc3058fuC hr8UGp0OuHDhxndgf409R8IDAJJmoa695Vxa+X64lr5uSmb/b2MKoKs0noyPlLH9 MP8qJjYUG9HXca02YEEJtn70YqLQMOiQ2bdyezZgEjgf7fTn573FJxED5yjAtsyR vss7OI4pf/fm17O3MHLHOXl6s/EliSJSeuB5TMjLB6B3dXd2ckdoXUWQY0Y8KRNi 3lG//Pi7MeFwVqC/SceQ2YPWDMyS2f1z3VlUinW8695Ttl5E3Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v0hqcj7bc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 21:50:14 +0000 (GMT) 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 3BFLoDEu012361 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 21:50:13 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, 15 Dec 2023 13:50:13 -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>, <gregkh@linuxfoundation.org>, <lgirdwood@gmail.com>, <andersson@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <konrad.dybcio@linaro.org>, <Thinh.Nguyen@synopsys.com>, <broonie@kernel.org>, <bgoswami@quicinc.com>, <tiwai@suse.com>, <robh+dt@kernel.org>, <agross@kernel.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 v10 26/41] ASoC: dt-bindings: Update example for enabling USB offload on SM8250 Date: Fri, 15 Dec 2023 13:49:40 -0800 Message-ID: <20231215214955.12110-27-quic_wcheng@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231215214955.12110-1-quic_wcheng@quicinc.com> References: <20231215214955.12110-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: tArA1DfciH9sp4n4aS4BY1MTTDwg1lD_ X-Proofpoint-GUID: tArA1DfciH9sp4n4aS4BY1MTTDwg1lD_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1015 suspectscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312150152 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785387010178941087 X-GMAIL-MSGID: 1785387010178941087 |
Series |
Introduce QC USB SND audio offloading support
|
|
Commit Message
Wesley Cheng
Dec. 15, 2023, 9:49 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 e082a4fe095d..24eba5f6a304 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -221,6 +221,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>; + }; + }; }; - |