From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793968436; b=L8/TLjCc20Rg7Gxmc2GLtveDdryw8v+rq233yZWZrWAZeVV46ig7yIkClfEerluz1UIY uJxHBqMMlCX7N8CPWWioxbzzSjT0I7lWY+Il8MqicpRyMZelh7eXc4eRytomQRxPAX7Nv hLKq36AV6px5F1lt3oC980hLtDE8CXwwvhQvVqHFEJdsXcpLG4EFCbtUiZwZN/j5UVSD+ o64le76gSyBvn/6iDsHo7bo7LJqKKEGE36TlJt+Jr16ubB1Ki9FT5Y7HYSJQwSltHDMOK P6YUU5S6V7T3L+UYmGgbENyFrYDqmD7Lk5l4Bw4kvM4fT0DQQJj2d5UTYLrUlqcckhg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793968436; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=JocXPoVsdUtcdxW7NBMQrONstwXM+qnEOC7VUJB0LqA=; b=KPJ36PbtWxOfYI4kzMDQ3sz2cuv/UW7TxIWNzQs4JKu8m0kca/uvhghC385gEntbBBKD x64J9yBoF+PoBUVZFS7a9tyO0oPf5XLHJC+GKhon1KQDCEY2vlJ4dq6ZTVwk0LgbJT3D9 szKVzAq3r97jg8eQrsQ0eTP9Gb2puR+VFATXG9xqmTv29hNMcf8AMXMPXasYrDeW2s0CN Lb50gfA5N53C5iVFnE7yk7mftaV/O2d61DY/N/Xm4Pyx8agQYaA74mgAZKcOPoKnmZ5RJ iT27EVJ3NOWDAHOOsaMUjoSf1o4b6xTk7mPMa1BBApcUvVUIfYGJ6fSlnXuQwTGs7vA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=OlyAaNIM; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bYJt6jy5; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 766B3606A335 for ; Fri, 6 Nov 2026 12:33:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 766B3606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=OlyAaNIM; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bYJt6jy5 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A6API8F2593287 for ; Fri, 6 Nov 2026 12:33:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= JocXPoVsdUtcdxW7NBMQrONstwXM+qnEOC7VUJB0LqA=; b=OlyAaNIMnTm3BD1u lq0VjSVjGqRsP3FldyXJHNSt6Fi2CoD1I3nuSFD6ossiHZKq8fuWeC1dXF+/oJaH r1Ole9EdRSanphAA6iWr1nNA58y++Csw/9TqG8y13PJICYOSyM6mY/PRAodInFGs ynsurc4SIk1apqw1q57wjDdX4fpsWuunT2jg5nJDKNNJjABQrZYDrMKgATUwgDxU e/PtCqZUsFlYGQPfQ9JJP9ivhlTM11+RRYRFitzPO5JPFqNETsl2tFlAjHVAXbAW Ot0yyxP5uq7KdfhHMYwoCYz7nXH1R4eMHri4GQ45d0qHnC35GHrZWUs35pzWjeM6 zYtOTg== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hs3paaqyf-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 06 Nov 2026 12:33:54 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-36f26e6abe9so1123789eec.0 for ; Fri, 06 Nov 2026 04:33:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793968433; x=1794573233; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=JocXPoVsdUtcdxW7NBMQrONstwXM+qnEOC7VUJB0LqA=; b=bYJt6jy51hoCvoA68B7rp2ItspN+bwmtfLrgjA+Gz48OFZ0Cs+Sp/KwMjzVGpQ/5EM 2CmKrb0Y1lQFzvBcbAcfHLphSU6YJDwTp/kVH2oi1lS1oGXvnxmJrtjcPLCJpPXI8/d/ 1a181r4tltEh6YZDDnVOG+ZLQmQlGjw7HFGLogLlWfdJXjVOCK66dmEDbYl3kpQkWSHa +9Wdscd6ch7A94QfQUxZ7LW7ELwcsJynkINZDhZPKUg5vvutxJFHk2hUqZrRByRFMW2L njU+2tB4oyjZbdsNHCa2r5iQH2TGXqk6abDt64v/jgfAYbVkPLhN1n6mWIP07es+bNsQ i2Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793968433; x=1794573233; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=JocXPoVsdUtcdxW7NBMQrONstwXM+qnEOC7VUJB0LqA=; b=iwrM2Fitb7u0tx5d+Ap/LLXW1B9u1seE1I5ZsEhGoFyUwZuHqmaRhObLgBXzoCCX8P 96qtmRH7tXOjLLCUDnGLkesOxjcXmX2BT9fKJyHwVleNvLnO4b0ObWKLxsq0z1u9Wm41 x21iUFxZr27UYpTjpP78BDA5Rp0g8sl0VjctU9lhWU41XepObbZCExVwhZjlBG1EcG6B 5ycPXOnKVFYjK+uKF/Wj70/F4n6UU4JD1AWMrILW3EvwjAc+V3y++Ga4sdfg/KOiHmZW zDVJrXEisk8pLdF1nqpNYq6Q9n7kwy5ppR6Q4+OQwcW7s3iZLO6zLAATu4BlIsUBgUNo LcjA== X-Forwarded-Encrypted: i=1; AL+hErGnY/z5ZSlnosnN9rFreN9adFPT1juTjFVdjiRb1T5SFffe6tidvqg9OCmkK5/x2kprN5f24WBq0B6/KLs=@vger.kernel.org X-Gm-Message-State: APuU4Z9v5UBzEkZ/iBzp+lkt/wH1x9j47vF0rDxQquGDuBdYoy2GJLvf 5Bbax5kpI+ush4+AHnSoNt4HuH68b1EiwTfHRf4u9NCQF7tFmaS00GmzFfyb01+FBy6ohYB9jN2 OhVXkNAP+kink9DmpUfj/A36Au9e1Ilz6tJP5hfQYRI5sCZU0SjTV5Ygae73wtZz9Tyk= X-Gm-Gg: AYBFou0V2mONm5yXJwYGWkgoQzC2BiYhRJA4AlTrmsnafM3zVfqfwOCahrbmAlfknkT DcXtLRJBL+dR37nZEAV1SiTcDFqz4gtRDMX5X6598BSuJhuTZABRZz1oGS78+xnLH3XIeaAjM0+ 3W8vS+N7b7oay6C3NXV9T2flayNA7wk64L4Zym7LS/gpwyd7Fx8eksnj3o7xcl3r7/n59p0T2TJ 7P8niytCivIXZpuunxDSB2MsT4cFszXfWv6xg/QQuEYl3cgydPEVSOEIPFuVuCwAaBJ+ccwvRbc ouHAqaTWVvImyYp33MOnWVhU1l1/S8PvKQQf7Tw3Wt933n2Y326CPdL8J55uEimiJCtI5kW684q rpxA04On6addcXmqmcRYlVFklgQZC2ZkkVM4mvupUaEtqrpm9KdNXQuL2NrQsA/tjdEJrqTf5A2 Q2WvdcEs4h X-Received: by 2002:a05:7301:6486:b0:36e:97b4:1071 with SMTP id 5a478bee46e88-36f75b1f828mr2904904eec.14.1793968433210; Fri, 06 Nov 2026 04:33:53 -0800 (PST) X-Received: by 2002:a05:7301:6486:b0:36e:97b4:1071 with SMTP id 5a478bee46e88-36f75b1f828mr2904868eec.14.1793968432652; Fri, 06 Nov 2026 04:33:52 -0800 (PST) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-36faa4b8aacsm6514804eec.23.2026.11.06.04.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2026 04:33:52 -0800 (PST) From: Mohammad Rafi Shaik Date: Fri, 06 Nov 2026 18:03:05 +0530 Subject: [PATCH v6 v6 6/9] ASoC: dt-bindings: qcom: Add Hawi LPASS macro codecs X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261106-add_shikra_support-v6-6-2cda302237cc@oss.qualcomm.com> References: <20261106-add_shikra_support-v6-0-2cda302237cc@oss.qualcomm.com> In-Reply-To: <20261106-add_shikra_support-v6-0-2cda302237cc@oss.qualcomm.com> To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai Cc: Mohammad Rafi Shaik , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prasad Kumpatla X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1793968394; l=4383; i=mohammad.rafi.shaik@oss.qualcomm.com; s=20260424; h=from:subject:message-id; bh=mGVuwOey0nL2okiqH1BEWpf/XgXM7S1XsWWb7FBfG/U=; b=hQMfUNyzCLlq/WhRNyjsQFhV/Yopy16A1JK3zhAj9tdqY7kBWBPgn9TbMDHqhoC1evBKWTbQ8 g2hMibd/2W4CphSmI+2zIuBbpjv6AqsrkY2FLwGKNp1olG8fxFJgWJB X-Developer-Key: i=mohammad.rafi.shaik@oss.qualcomm.com; a=ed25519; pk=KZedmYgMGYOzuTpLGv56tdrL+pTLDP8pdmfQ91xemiA= X-Proofpoint-GUID: jhiT1vqdTJmrbgPphVAH_un1wdDCtMdx X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTA2MDA0OSBTYWx0ZWRfX6gmdwo30199O Kfj4e741LZ/99wVnKy0CKyYvuUEaoL6aY1CFZWYeJ52+bycy6ymSrbIZRDvcA+arCbwCrLvYqOO g5REeF1N6kamQB1ow7ul9tYINpHvjTyHseTpUmO6agVraOnpY8Y2Y+FSC98EW1NI2bzCdpONe7n upyhkBq5KKpo4CJWhD7TgRIssyqD6ERiV6ZI47VfMLM7Zyl0X0v+qPXQnUJ7Z8evSPayY+/+rD7 8ev1hS8fsCP2k8yNFpsesKzXuy6+ZB7DlwKaerVnrJde5i4nq+NHnPXASudjAlmmXfvNnTdAGye qzsxj0NIzUI157a/9m2N8/AdjnEorcsx5cK1SiUg41xpUt7SDeeRL3SluN4eFoavO7jqxaKpJvz Y3yjnaa//JqCtqvvWXpudPTLPMn/23oWkfgf675vDZAY0y/Cq9V23aoEykW177Xe52ADvLWhWKr 3Ehl97NGEEnNEUafYEQ== X-Proofpoint-ORIG-GUID: jhiT1vqdTJmrbgPphVAH_un1wdDCtMdx X-Authority-Analysis: v=2.4 cv=X7rHu2Te c=1 sm=1 tr=0 ts=6aedc932 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=QKLxUzbeBypczxc0BNYA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTA2MDA0OSBTYWx0ZWRfX871hM8jUGfoy caSqXgKKP2twfZOyZqiyti5WmYkZdlOxJnHubZjCDkum2lnvfi7PqvHTAgc/fvMjmrqdqrhSIyc kL7+ZZ5bo3plWlIS0D/ujSLGMx8Mqts= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-06_03,2026-11-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 impostorscore=0 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611060049 From: Prasad Kumpatla Document the RX, TX and VA macro codecs on the Qualcomm Hawi SoC as standalone compatibles rather than using the SM8550 fallback, as their clock inputs differ. On Hawi, all three macros use an "lpr" vote instead of SM8550's "macro" vote. "lpr" is the consumer-side vote name for the LPASS_HW_LPR_VOTE and is distinct from the LPASS_HW_MACRO_VOTE used by SM8550. The LPR vote is shared by all LPASS macros on Hawi and Maili. LPR is the vote to put the LPASS block into sleep-disable before accessing the LPAIF registers The VA macro takes an additional "heartbeatpulse" clock sourced from the LPASS VA CSR rate generator. Signed-off-by: Prasad Kumpatla Signed-off-by: Mohammad Rafi Shaik --- .../bindings/sound/qcom,lpass-rx-macro.yaml | 19 +++++++++++++++++++ .../bindings/sound/qcom,lpass-tx-macro.yaml | 19 +++++++++++++++++++ .../bindings/sound/qcom,lpass-va-macro.yaml | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml index db63a75f108a..20fe0dcb65d5 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml @@ -13,6 +13,7 @@ properties: compatible: oneOf: - enum: + - qcom,hawi-lpass-rx-macro - qcom,sc7280-lpass-rx-macro - qcom,shikra-lpass-rx-macro - qcom,sm6115-lpass-rx-macro @@ -154,6 +155,24 @@ allOf: - const: npl - const: fsgen + - if: + properties: + compatible: + contains: + enum: + - qcom,hawi-lpass-rx-macro + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: mclk + - const: lpr + - const: dcodec + - const: fsgen + unevaluatedProperties: false examples: diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml index d8682ff2e82c..2df72450d36f 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml @@ -13,6 +13,7 @@ properties: compatible: oneOf: - enum: + - qcom,hawi-lpass-tx-macro - qcom,sc7280-lpass-tx-macro - qcom,sm6115-lpass-tx-macro - qcom,sm8250-lpass-tx-macro @@ -142,6 +143,24 @@ allOf: - const: dcodec - const: fsgen + - if: + properties: + compatible: + contains: + enum: + - qcom,hawi-lpass-tx-macro + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: mclk + - const: lpr + - const: dcodec + - const: fsgen + unevaluatedProperties: false examples: diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml index 683ebf702ba8..7d56f9c36056 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml @@ -13,6 +13,7 @@ properties: compatible: oneOf: - enum: + - qcom,hawi-lpass-va-macro - qcom,sc7280-lpass-va-macro - qcom,shikra-lpass-va-macro - qcom,sm6115-lpass-va-macro @@ -185,6 +186,24 @@ allOf: - const: mclk - const: npl + - if: + properties: + compatible: + contains: + enum: + - qcom,hawi-lpass-va-macro + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: mclk + - const: lpr + - const: dcodec + - const: heartbeatpulse + unevaluatedProperties: false examples: -- 2.34.1