[PATCH v3 1/4] dt-bindings: clock: Add LPASS AUDIOCC reset controller for Glymur
From: Srinivas Kandagatla
Date: Fri Oct 02 2026 - 15:45:06 EST
The LPASS (Low Power Audio Subsystem) Audio clock controller on Glymur
provides reset support for the SoundWire RX and WSA1..4 masters when
LPASS is under the control of Q6DSP.
The programming model is a near-exact match for the existing SC8280XP
LPASS AUDIOCC, so add the qcom,glymur-lpassaudiocc compatible to the
existing qcom,sc8280xp-lpasscc.yaml rather than creating a new file,
and add a Glymur reset-ID header for the clients.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
---
.../bindings/clock/qcom,sc8280xp-lpasscc.yaml | 6 ++++--
include/dt-bindings/clock/qcom,glymur-lpasscc.h | 16 ++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
create mode 100644 include/dt-bindings/clock/qcom,glymur-lpasscc.h
diff --git a/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
index f235b4e24cc7..a25e043ab894 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
@@ -4,22 +4,24 @@
$id: http://devicetree.org/schemas/clock/qcom,sc8280xp-lpasscc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP
+title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP and Glymur
maintainers:
- Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
description: |
Qualcomm LPASS core and audio clock control module provides the clocks,
- and reset on SC8280XP.
+ and reset on SC8280XP and Glymur.
See also:
include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h
+ include/dt-bindings/clock/qcom,glymur-lpasscc.h
properties:
compatible:
oneOf:
- enum:
+ - qcom,glymur-lpassaudiocc
- qcom,sc8280xp-lpassaudiocc
- qcom,sc8280xp-lpasscc
- items:
diff --git a/include/dt-bindings/clock/qcom,glymur-lpasscc.h b/include/dt-bindings/clock/qcom,glymur-lpasscc.h
new file mode 100644
index 000000000000..3006b12e385e
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,glymur-lpasscc.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#ifndef _DT_BINDINGS_CLK_QCOM_LPASSCC_GLYMUR_H
+#define _DT_BINDINGS_CLK_QCOM_LPASSCC_GLYMUR_H
+
+/* LPASS AUDIO CC CSR */
+#define LPASS_AUDIO_SWR_RX_CGCR 0
+#define LPASS_AUDIO_SWR_WSA1_CGCR 1
+#define LPASS_AUDIO_SWR_WSA2_CGCR 2
+#define LPASS_AUDIO_SWR_WSA3_CGCR 3
+#define LPASS_AUDIO_SWR_WSA4_CGCR 4
+
+#endif
--
2.53.0