From nobody Sat Oct 4 03:18:42 2025 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 C829A4414; Thu, 21 Aug 2025 04:49:25 +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=1755751767; cv=none; b=e/3hn+z73yausH0Vx9IoWiiEG6fFc6HnaOHa7Q2xY1I3oVFj00H8HuG4aN2r80KZE/6AEM2eFdqgncTJT+U63+Wr6MyIZjyp1jAyVgMNe+Ack/BzcFPLoFfXEuilTXCXQ1vKgL3JcrHUnFfoEcWRbHRZMa+1mDcjFCAb84SAB54= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755751767; c=relaxed/simple; bh=NkMZnh2vFe/NDIn1k1ln74SbUGwE+K9rqYXBsKYvwog=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ldBDdGTotdKHn+HsUr88pgk7BQ9vZDgjdFK0O3qwMYJXA8YkD1rLFTYgcekkimY/ZeHOqeYRxxNGMrflDoAL5n3qMh01N4oGNTWXu9GnR1mRXAp/mzBXTeQUgqy14WRf5oX6TaVDp3CInndjlQ/vSL/C+vmyakfOWmhCojMSWV0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=FbOa3Rmd; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="FbOa3Rmd" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 57KIaxaD009495; Thu, 21 Aug 2025 04:49:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=29hF0HEwLvL d54+U/rT6N9TjzAuCz16I3lqLBjCcN/8=; b=FbOa3Rmd0YY/RU8gxKIfBv/Ba39 jL70GVcBq3fcFExE+/JqM+5pjMrLEZczuhH3PYjDi22g8cNRzxMY3N4m2eC5usDX GdrZuStl1L4AhhMl8cAM756tGFlycp1oE7i3/iWc375cxjO9jCOo14ItTRfGQhQB qon3uvrS6UHjHb8zuAZiOr9rfYgvqLOLnsvnB/2s0k4FxtOq9W5nO+/n9PBG/+Ka zSghXkslyZKsxiwtcY5DlJHgKOsZLwztbuxOXJKkoROIZ+z1Bd26ZawIuBe89Agp sDSb8LEHp32ImKF1kgS22t0RCj9xQRHyLiFzdZiuNRyVy5Bu6y0cdbK28Gg== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48n52a42gs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:20 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 57L4nHJU021950; Thu, 21 Aug 2025 04:49:17 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 48jk2m996d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:17 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 57L4nHit021925; Thu, 21 Aug 2025 04:49:17 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 57L4nHSb021920 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Aug 2025 04:49:17 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 73F155CF; Thu, 21 Aug 2025 10:19:16 +0530 (+0530) From: Prasad Kumpatla To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Liam Girdwood , Mark Brown , Konrad Dybcio Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, quic_pkumpatl@quicinc.com, kernel@oss.qualcomm.com, Mohammad Rafi Shaik , Krzysztof Kozlowski Subject: [PATCH v8 3/9] ASoC: dt-bindings: qcom,lpass-va-macro: Update bindings for clocks to support ADSP Date: Thu, 21 Aug 2025 10:19:08 +0530 Message-Id: <20250821044914.710044-4-quic_pkumpatl@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250821044914.710044-1-quic_pkumpatl@quicinc.com> References: <20250821044914.710044-1-quic_pkumpatl@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Authority-Analysis: v=2.4 cv=feD0C0QF c=1 sm=1 tr=0 ts=68a6a551 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=2OwXVqhp2XgA:10 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=KKAkSRfTAAAA:8 a=ZRTT_DJxv7dltqHrpccA:9 a=TjNXssC_j7lpFel5tvFf:22 a=cvBusfyB2V15izCimMoJ:22 a=cPQSjfK2_nFv0Q5t_7PE:22 X-Proofpoint-ORIG-GUID: ws-ZSyaVHru0sSnBhdbGvXBaBvvTAE_6 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODIwMDAxMyBTYWx0ZWRfX+FWgvx41FRx3 I2gKPxa3SmunKjIx3fC3edQ5RP7teHp636XJTM6llvUU7uUFvfiCOhWUn5Tm3azE2/1CWhcZIrX Dl73G0rzv3/hjWHH/amhqj1fut7VfVqTyVxtMfsDRRuwj+XwFqgxZZIhEAObMdnCJOAvtEdoxHu rdkGxnpVBBFNxri8pJjZgXy0dVRukIdroaamSp81duUfOUszL1bttQVMEnoZcoIfgqDh4f1tCv9 7oX7XreHkEyyZCV6tYI15+eJGSgYxCfmGwr3ix6iepV06eHhWPlOpYvHlx9VHeLvmON15SUXyfR 1h1f0AWWY9uDZxjL7/y5QBOgmq6nMxv9s8wNS2IKVGDz2UWxjYgo/ZZH9O8F5sY8/dVpXO1Dfkl rRyyaNCdftKIxGXbaUj1DTppqnq3Ww== X-Proofpoint-GUID: ws-ZSyaVHru0sSnBhdbGvXBaBvvTAE_6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-08-20_06,2025-08-20_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 suspectscore=0 clxscore=1011 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2508110000 definitions=main-2508200013 Content-Type: text/plain; charset="utf-8" From: Mohammad Rafi Shaik Manage clock settings for ADSP solution. On Existing ADSP bypass solutions, the macro and dcodec GDSCs are enabled using power domains in lpass-va-macro which is not applicable for ADSP based platform. Signed-off-by: Mohammad Rafi Shaik Co-developed-by: Prasad Kumpatla Signed-off-by: Prasad Kumpatla Reviewed-by: Krzysztof Kozlowski --- .../bindings/sound/qcom,lpass-va-macro.yaml | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.ya= ml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml index dd549db6c841..3bfb0538dba2 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml @@ -79,12 +79,25 @@ allOf: compatible: contains: const: qcom,sc7280-lpass-va-macro + then: - properties: - clocks: - maxItems: 1 - clock-names: - maxItems: 1 + if: + required: + - power-domains + then: + properties: + clocks: + maxItems: 1 + clock-names: + maxItems: 1 + else: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + minItems: 3 + maxItems: 3 =20 - if: properties: --=20 2.34.1