From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796320555; b=PM5x3jV5HddVAqN+c5usUtTnmWCbKbYWDSgVRlHY74qoOfaHAv9IwYe79hNV2ia9NRxq XglLQZEJHQmOwjPcVhxsoDgMF56k4lTT7uNfyAQQIOyEvO9Cic1+pgv9ASD3SaAhs+8P/ RhWADBpuZfS1NHIDMeBUyaTAODLLywRUwfxXDkzdAxgyoUIeZL11kfoJZ2YfYFn6e5O4H CpcIw9lE0Q5eI6Ql2U7tGooYtdlWHRLtpiRRxue/D5qNPZuBxSfjKM8D8X3ZZkX8pMFmP PT7cYgqQHSqpSqR+ADdP1+PcjgSX2f5l3icPr6JAv3pZ5yrsofkA656jlzhEDinyRsg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796320555; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=o5uMsI82U6iwvyCZsUb+5ZCKqmKXVuRKs6WaKM4JL98=; b=5RXLOqLCmZ8XO0HooNkZsAJaRYdMezSMWHCev5+1/aXKb0Jlrnc4kwGOGg7JjpDspzuc XQCLhZ0uzGOaVll/3jHjmPvnaysJX35+es9J7traG3dpFev0eCTjKJLpbRvbHec+nFrr8 voZDnEgBVKtMg9IqG5q6n4OwDcNtoISR0BAM8onC5t4bTIo6cU2ZXd72OOcyR24VRpZmB NUqXVfnNntNtSUp0ZzE+ooSVl2IQ6mxw/5KmtZJdLH7M6FIcHMEW6Ma48+XeMtGl4sm2T YiGJsWkCSRyFFu4Y+hYEr24cp47JFkEgegY4uY7OFhsYgoTvepsU8uKHX5eejHMwzWg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=apfuDXmI; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F9B1606A322; Thu, 3 Dec 2026 17:55:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=apfuDXmI Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796320555; b=NZ8nnvZYlHLIQwSz2cDz2braYUlIVWjAY/MYebg/HN3z+u3LZLza2294Ey/+ypp10Wdy dMYHDRSzS9fh62vRnntxH5KVxc+8sH+ypxUdq0hHxVmkzWSKAk7e4V+J+ab7X8qGpN/GH /rgA4ktx2q4In54S57heM1mZg5zJiPUTmIEwY7xYXoSzR6sdj98xBzz63FXqaxaXmRtT7 RHww2hinv0otALww6qwk0XF7lUHcLOO+tAlJ88ror3Vksz3ulBEtek9rW3cC3ylz+H88i aIwtx63yuJCxaT9FzEoXNjYrYfutGBjy+3qIA1eWfl2IICoibUBVXqej4F077IY/dGw== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796320555; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=o5uMsI82U6iwvyCZsUb+5ZCKqmKXVuRKs6WaKM4JL98=; b=g3+89MrF9/UIb5NrCRt7btPlwLzLE/nQiOgm00qWOMiYOzPpeU9PmQTcFW+PNw2ukqhH Ga75OLjoqINa7j1CpBj7mHAXTWD4Oa2pLz5BAZkfMS6LUoLiXfpfwprIFBZrXiW1j83QW Oun8n1X+QG++zbdeUNTinuirF5qlUvKyU2cWWZP83xH7sv8vAaVUCrzi08jMDOZlZWjdj qqesmCTPzXT7fIk3Z3DOH+MXGmss5Q0N9nxP5Gj7ojlw4td7BXfSUdgcd56PG9XzFUwPH GnrYt3lcw5dQurvtZAXsPEeKgB3TRp+hGmePzXuDshKHR7E/0HFi2WwLik1tNitxPtQ== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (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.kernel.org (Postfix) with ESMTPS id 3D8CC1F00898; Thu, 3 Dec 2026 17:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796320555; bh=o5uMsI82U6iwvyCZsUb+5ZCKqmKXVuRKs6WaKM4JL98=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=apfuDXmIaUgLhHKLi1gPfbzH8bDo+ImqnA9KscqIb1Ko2s57Rqe+GtJOt/GY25Puc GIZWl/knywf3MO86SD97IF3EqauTX83/dCxqLd9Kxw3Jrf27WDWSxCCvaXcXAofJVI vK7pBiFO31f+kpokPkzdnC42IuR5fiJ5VJksUz6hZWOWQJ4I3eAAM7kJF6gaPeGQxq Maex9q4gCCeTHL6FU+6jCLmKl2+b0/0mNJWutDCkCi/VD1UBFF8RT7VzcVN75qwUv5 ur9g7qVVO2qGfCE+KiSilp5w6EBGbMxwF9SvOVwd+zp+wALqsOiogKtJSkftFmUxdG 62DRqhiz/cr/A== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id BB80C4FA8B; Thu, 3 Dec 2026 17:55:52 +0000 (UTC) From: Sarath Ganapathiraju via B4 Relay Date: Thu, 03 Dec 2026 23:25:20 +0530 Subject: [PATCH v16 1/2] dt-bindings: clock: qcom: Add LPASS VA CSR HeartBeat pulse clock 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" Message-Id: <20261203-master-v16-1-f946e4c2686a@oss.qualcomm.com> References: <20261203-master-v16-0-f946e4c2686a@oss.qualcomm.com> In-Reply-To: <20261203-master-v16-0-f946e4c2686a@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, konrad.dybcio@oss.qualcomm.com, ajay.nandam@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796320551; l=2786; i=sarath.ganapathiraju@oss.qualcomm.com; s=default; h=from:subject:message-id; bh=CChyy4txI3weNFB47O152lu+PysGCZMWl/XhjktF4KA=; b=YdXy01FMF+TE5T+nuHjO5Lu3Uw5/61P9AIQXkirnZXelL2TrIt95U4TfYxRY5RW7vuN5zwiMD fgkx80/V0uiBCJL0yloVcjL4Nwp/txNJmTn10bSWaqy8w4R1MwyuyeP 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 Content-Transfer-Encoding: 7bit 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) Reviewed-by: Prasad Kumpatla 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