[PATCH 1/3] dt-bindings: clock: gcc-msm8998: Add Q6 and LPASS clocks definitions

Marc Gonzalez posted 3 patches 1 year, 5 months ago
[PATCH 1/3] dt-bindings: clock: gcc-msm8998: Add Q6 and LPASS clocks definitions
Posted by Marc Gonzalez 1 year, 5 months ago
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>

Add definitions for the Q6 BIMC, LPASS core and adsp smmu clocks,
required to enable audio functionality on MSM8998.

Add the GDSC definitions for the LPASS_ADSP_GDSC and LPASS_CORE_GDSC
as a final step to enable the required clock tree for the lpass iommu
and for the audio dsp itself.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
---
 include/dt-bindings/clock/qcom,gcc-msm8998.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/dt-bindings/clock/qcom,gcc-msm8998.h b/include/dt-bindings/clock/qcom,gcc-msm8998.h
index b5456a64d4213..5b0dde0809007 100644
--- a/include/dt-bindings/clock/qcom,gcc-msm8998.h
+++ b/include/dt-bindings/clock/qcom,gcc-msm8998.h
@@ -193,10 +193,15 @@
 #define GCC_MMSS_GPLL0_DIV_CLK					184
 #define GCC_GPU_GPLL0_DIV_CLK					185
 #define GCC_GPU_GPLL0_CLK					186
+#define HLOS1_VOTE_LPASS_CORE_SMMU_CLK				187
+#define HLOS1_VOTE_LPASS_ADSP_SMMU_CLK				188
+#define GCC_MSS_Q6_BIMC_AXI_CLK					189
 
 #define PCIE_0_GDSC						0
 #define UFS_GDSC						1
 #define USB_30_GDSC						2
+#define LPASS_ADSP_GDSC						3
+#define LPASS_CORE_GDSC						4
 
 #define GCC_BLSP1_QUP1_BCR					0
 #define GCC_BLSP1_QUP2_BCR					1

-- 
2.34.1
Re: [PATCH 1/3] dt-bindings: clock: gcc-msm8998: Add Q6 and LPASS clocks definitions
Posted by Conor Dooley 1 year, 5 months ago
On Wed, Aug 14, 2024 at 06:20:22PM +0200, Marc Gonzalez wrote:
> From: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
> 
> Add definitions for the Q6 BIMC, LPASS core and adsp smmu clocks,
> required to enable audio functionality on MSM8998.
> 
> Add the GDSC definitions for the LPASS_ADSP_GDSC and LPASS_CORE_GDSC
> as a final step to enable the required clock tree for the lpass iommu
> and for the audio dsp itself.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
> Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>

Acked-by: Conor Dooley <conor.dooley@microchip.com>