diff mbox series

[v3,1/3] dt-bindings: power: rpmhpd: Add Generic RPMh PD indexes

Message ID 1689054169-10800-2-git-send-email-quic_rohiagar@quicinc.com
State New
Headers show
Series Add rpmhpd support for SDX75 | expand

Commit Message

Rohit Agarwal July 11, 2023, 5:42 a.m. UTC
Add Generic RPMh Power Domain indexes that can be used
for all the Qualcomm SoC henceforth.

Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 include/dt-bindings/power/qcom-rpmhpd.h | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 include/dt-bindings/power/qcom-rpmhpd.h
diff mbox series

Patch

diff --git a/include/dt-bindings/power/qcom-rpmhpd.h b/include/dt-bindings/power/qcom-rpmhpd.h
new file mode 100644
index 0000000..4da2e04
--- /dev/null
+++ b/include/dt-bindings/power/qcom-rpmhpd.h
@@ -0,0 +1,30 @@ 
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+#ifndef _DT_BINDINGS_POWER_QCOM_RPMHPD_H
+#define _DT_BINDINGS_POWER_QCOM_RPMHPD_H
+
+/* Generic RPMH Power Domain Indexes */
+#define CX               0
+#define MX               1
+#define CX_AO            2
+#define MX_AO            3
+#define GFX              4
+#define MSS              5
+#define EBI              6
+#define LCX              7
+#define LMX              8
+#define MMCX             9
+#define MMCX_AO          10
+#define MXC              11
+#define MXC_AO           12
+#define NSP              13
+#define NSP0             14
+#define NSP1             15
+#define QPHY             16
+#define DDR              17
+#define XO               18
+
+#endif