All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Rob Herring <robh+dt@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Vinod Koul <vkoul@kernel.org>
Subject: [PATCH 5/7] dt-bindings: power: rpmpd: Add SM8450 to rpmpd binding
Date: Wed,  1 Dec 2021 12:57:43 +0530	[thread overview]
Message-ID: <20211201072745.3969077-6-vkoul@kernel.org> (raw)
In-Reply-To: <20211201072745.3969077-1-vkoul@kernel.org>

From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Add compatible and constants for the power domains exposed by the RPMH
in the Qualcomm SM8450 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 .../devicetree/bindings/power/qcom,rpmpd.yaml     |  1 +
 include/dt-bindings/power/qcom-rpmpd.h            | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index e810480e3eb7..a51f7d6c58b7 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -36,6 +36,7 @@ properties:
       - qcom,sm8150-rpmhpd
       - qcom,sm8250-rpmhpd
       - qcom,sm8350-rpmhpd
+      - qcom,sm8450-rpmhpd
 
   '#power-domain-cells':
     const: 1
diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h
index 960f7976a807..535d7addd382 100644
--- a/include/dt-bindings/power/qcom-rpmpd.h
+++ b/include/dt-bindings/power/qcom-rpmpd.h
@@ -68,6 +68,21 @@
 #define SM8350_MXC_AO	11
 #define SM8350_MSS	12
 
+/* SM8450 Power Domain Indexes */
+#define SM8450_CX	0
+#define SM8450_CX_AO	1
+#define SM8450_EBI	2
+#define SM8450_GFX	3
+#define SM8450_LCX	4
+#define SM8450_LMX	5
+#define SM8450_MMCX	6
+#define SM8450_MMCX_AO	7
+#define SM8450_MX	8
+#define SM8450_MX_AO	9
+#define SM8450_MXC	10
+#define SM8450_MXC_AO	11
+#define SM8450_MSS	12
+
 /* SC7180 Power Domain Indexes */
 #define SC7180_CX	0
 #define SC7180_CX_AO	1
-- 
2.31.1


  parent reply	other threads:[~2021-12-01  7:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01  7:27 [PATCH 0/7] soc: qcom: Add support for SM8450 Vinod Koul
2021-12-01  7:27 ` [PATCH 1/7] dt-bindings: arm: cpus: Add kryo780 compatible Vinod Koul
2021-12-01  7:27 ` [PATCH 2/7] dt-bindings: firmware: scm: Add SM8450 compatible Vinod Koul
2021-12-01  7:27 ` [PATCH 3/7] dt-bindings: arm: qcom: Document SM8450 SoC and boards Vinod Koul
2021-12-01  7:27 ` [PATCH 4/7] soc: qcom: smem: Update max processor count Vinod Koul
2021-12-01  7:27 ` Vinod Koul [this message]
2021-12-01  7:27 ` [PATCH 6/7] soc: qcom: rpmhpd: Add SM8450 power domains Vinod Koul
2021-12-01  7:27 ` [PATCH 7/7] soc: qcom: socinfo: add SM8450 ID Vinod Koul
2021-12-08 19:00 ` [PATCH 0/7] soc: qcom: Add support for SM8450 patchwork-bot+linux-arm-msm
2021-12-08 20:20 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211201072745.3969077-6-vkoul@kernel.org \
    --to=vkoul@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.