From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 407A43EA963; Wed, 30 Sep 2026 09:51:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790761869; cv=none; b=UfotLvW1a7frlp7datXlA8AttYl/s1SHmiAKdJFXptU3L5YA8gvGky2pnFdv2j73imq4I14c6T6NhwJanGeQqdWmUeX47OMpvWXbmOunYwn9f19MuimQuY6lzsy4oDd73FRwFUMEbkhmNnmby107swhDQdyeqLlebNGSScLVUvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790761869; c=relaxed/simple; bh=Gav7Tv6ZpreVfA0NgXWJDq/A0By79CI06H40V1WXkT0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q8o5eut7+3eM8940QvZATN/bOLXdiPr30SZw5PWVbGoy6lnbmEPDZBiExLRiO6ex/ixKCmq1lfblkplmLlR4ngukzQrNMkGHBMG/QEKJqstfJ6PIMYDM9J2VIsyI595lOZkvkCguPrOEPl1+Cr8Xr81mWlbSrxsJtC+1JlNEsVo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Bs1ayo+x; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Bs1ayo+x" Received: by smtp.kernel.org (Postfix) with ESMTPS id DCF40C4AF0B; Wed, 30 Sep 2026 09:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1790761869; bh=Gav7Tv6ZpreVfA0NgXWJDq/A0By79CI06H40V1WXkT0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Bs1ayo+xdFgZmdC6CUdvdLpko94jiKXZ+Nkz6eF8yxTVxZ86owUo2cSb3BeMdP0Yj An6XPeKOgFk195Q61OhbOoF95aWutneXHHoagllCBTHhGOgh7rf1a8yf6OxOIAv5V/ ErYZy58xR/8YeOzQL8Y46/7EwBMCMDZLiKXbpBSdluZwsYiIh93TpAHlLUBHiwzs1S A/HSAUzVxZgNWB7Nps5cUIkLEtJM9xgG+6VU5Si6YE+1Pm7Nd41atLn/UdhYa2nm20 QGZJP4D8yS4nomr2tjHU89BxAqskujgq2rptlfViOFe5h5hCtuCZ0uZH4gk+t2ErOL saqQyTYILJ/zQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1B1CCA5FC1; Wed, 30 Sep 2026 09:51:08 +0000 (UTC) From: Sarath Ganapathiraju via B4 Relay Date: Wed, 30 Sep 2026 15:21:07 +0530 Subject: [PATCH v10 1/2] dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260930-master-v10-1-105207bc5275@oss.qualcomm.com> References: <20260930-master-v10-0-105207bc5275@oss.qualcomm.com> In-Reply-To: <20260930-master-v10-0-105207bc5275@oss.qualcomm.com> To: andersson@kernel.org, abelvesa@kernel.org, sboyd@kernel.org, bmasney+clk@redhat.com, jbrunet+clk@baylibre.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, srinivas.kandagatla@oss.qualcomm.com, sarath.ganapathiraju@oss.qualcomm.com Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, prasad.kumpatla@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790761867; l=2721; i=sarath.ganapathiraju@oss.qualcomm.com; s=default; h=from:subject:message-id; bh=DRay2zf2W+iUZ3uXswe/Ui/4wI7/rJwOyKRrUpLoIq0=; b=IbwkS/gop7PEHeCDXxMh14wOTNF9CM4h7s4K0fhdKD5AFvs7tTG4J49nSiqUJwDN+WaPhk3V5 fiRYCsSLIkgBofmOx6CBAErUnBCl+Oa39U7fHB+Y3XaZrOmpmzKBY4i X-Developer-Key: i=sarath.ganapathiraju@oss.qualcomm.com; a=ed25519; pk=4p2FWGXM+F2sir13Lu5stw5aKX5trUymK/ttESvgxQg= X-Endpoint-Received: by B4 Relay for sarath.ganapathiraju@oss.qualcomm.com/default with auth_id=870 X-Original-From: Sarath Ganapathiraju Reply-To: sarath.ganapathiraju@oss.qualcomm.com From: Sarath Ganapathiraju Add a binding for the Qualcomm LPASS VA CSR rate generator node that exposes the lpass_heartbeat_pulse clock on Hawi. The HeartBeat Pulse, also known as RateGen Pulse, synchronizes the start of DMAs and Codec Interfaces for the audio usecase and can serve as a periodic wakeup source for the DSP. Require the LPASS LPR and audio vote clocks to access VA CSR register space safely. Reviewed-by: Rob Herring (Arm) Signed-off-by: Sarath Ganapathiraju --- .../bindings/clock/qcom,hawi-lpass-va-csr.yaml | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,hawi-lpass-va-csr.yaml b/Documentation/devicetree/bindings/clock/qcom,hawi-lpass-va-csr.yaml new file mode 100644 index 000000000000..601da83add2b --- /dev/null +++ b/Documentation/devicetree/bindings/clock/qcom,hawi-lpass-va-csr.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,hawi-lpass-va-csr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm LPASS VA CSR heartbeat pulse clock provider + +maintainers: + - Srinivas Kandagatla + - Sarath Ganapathiraju + +description: + The Hawi LPASS (Low Power Audio Subsystem) VA CSR block contains a + rate generator that produces a periodic HeartBeat Pulse, also known + as the RateGen Pulse. This pulse synchronizes the start of DMAs and + Codec Interfaces for audio usecases and can serve as a periodic wakeup + source for the DSP. + +properties: + compatible: + enum: + - qcom,hawi-lpass-va-csr + + reg: + maxItems: 1 + description: Address and size of the VA CSR register block. + + clocks: + items: + - description: LPASS LPR (Low Power Resource) voting clock + - description: LPASS Audio voting clock + + clock-names: + items: + - const: lpr + - const: audio + + "#clock-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + +additionalProperties: false + +examples: + - | + #include + + clock-controller@7ee0000 { + compatible = "qcom,hawi-lpass-va-csr"; + reg = <0x07ee0000 0xe000>; + clocks = <&q6prmcc LPASS_HW_LPR_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "lpr", "audio"; + #clock-cells = <0>; + }; -- 2.34.1