Devicetree
 help / color / mirror / Atom feed
From: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>
Cc: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das.jz@bp.renesas.com>,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: [PATCH v2 2/9] dt-bindings: power: Add r8a774a3 SYSC power domain definitions
Date: Mon, 21 Sep 2026 13:44:22 +0000	[thread overview]
Message-ID: <20260921134432.50338-3-ayman.chaudhry.kc@renesas.com> (raw)
In-Reply-To: <20260921134432.50338-1-ayman.chaudhry.kc@renesas.com>

Add power domain indices for the Renesas RZ/G2M v3.0 (a.k.a. R8A774A3)
SoC.

Signed-off-by: Ayman Chaudhry <ayman.chaudhry.kc@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v1->v2:
- Updated commit message
- Renamed file to include vendor prefix
- Added vendor prefix to include macros
- Added Reviewed-by tag

 .../dt-bindings/power/renesas,r8a774a3-sysc.h | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 include/dt-bindings/power/renesas,r8a774a3-sysc.h

diff --git a/include/dt-bindings/power/renesas,r8a774a3-sysc.h b/include/dt-bindings/power/renesas,r8a774a3-sysc.h
new file mode 100644
index 000000000000..ddee6812e9a4
--- /dev/null
+++ b/include/dt-bindings/power/renesas,r8a774a3-sysc.h
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2026 Renesas Electronics Corp.
+ */
+#ifndef __DT_BINDINGS_POWER_RENESAS_R8A774A3_SYSC_H__
+#define __DT_BINDINGS_POWER_RENESAS_R8A774A3_SYSC_H__
+
+/*
+ * These power domain indices match the numbers of the interrupt bits
+ * representing the power areas in the various Interrupt Registers
+ * (e.g. SYSCISR, Interrupt Status Register)
+ */
+
+#define R8A774A3_PD_CA57_CPU0		 0
+#define R8A774A3_PD_CA57_CPU1		 1
+#define R8A774A3_PD_CA53_CPU0		 5
+#define R8A774A3_PD_CA53_CPU1		 6
+#define R8A774A3_PD_CA53_CPU2		 7
+#define R8A774A3_PD_CA53_CPU3		 8
+#define R8A774A3_PD_CA57_SCU		12
+#define R8A774A3_PD_A3VC		14
+#define R8A774A3_PD_3DG_A		17
+#define R8A774A3_PD_3DG_B		18
+#define R8A774A3_PD_CA53_SCU		21
+#define R8A774A3_PD_A2VC1		26
+
+/* Always-on power area */
+#define R8A774A3_PD_ALWAYS_ON		32
+
+#endif /* __DT_BINDINGS_POWER_RENESAS_R8A774A3_SYSC_H__ */
-- 
2.34.1


  parent reply	other threads:[~2026-09-21 13:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 13:44 [PATCH v2 0/9] Add support for Renesas RZ/G2M v3.0 (a.k.a R8A774A3) SoC Ayman Chaudhry
2026-09-21 13:44 ` [PATCH v2 1/9] dt-bindings: power: renesas,rcar-sysc: Document vendor-prefixed header paths Ayman Chaudhry
2026-09-23 10:29   ` Geert Uytterhoeven
2026-09-21 13:44 ` Ayman Chaudhry [this message]
2026-09-23 10:31   ` [PATCH v2 2/9] dt-bindings: power: Add r8a774a3 SYSC power domain definitions Geert Uytterhoeven
2026-09-21 13:44 ` [PATCH v2 5/9] dt-bindings: clock: Add r8a774a3 CPG Core Clock definitions Ayman Chaudhry
2026-09-23 11:43   ` Geert Uytterhoeven
2026-09-21 13:44 ` [PATCH v2 7/9] arm64: dts: renesas: Add initial SoC DTSI for RZ/G2M v3.0 Ayman Chaudhry
2026-09-23 11:46   ` Geert Uytterhoeven
2026-09-21 13:44 ` [PATCH v2 8/9] arm64: dts: renesas: Add HiHope RZ/G2M v3.0 SoC main board support Ayman Chaudhry
2026-09-21 14:17   ` sashiko-bot
2026-09-23 11:55   ` Geert Uytterhoeven
2026-09-21 13:44 ` [PATCH v2 9/9] arm64: dts: renesas: Add HiHope RZ/G2M v3.0 SoC sub " Ayman Chaudhry
2026-09-23 12:40   ` Geert Uytterhoeven
2026-09-23 12:35 ` [PATCH v2 0/9] Add support for Renesas RZ/G2M v3.0 (a.k.a R8A774A3) SoC Ulf Hansson

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=20260921134432.50338-3-ayman.chaudhry.kc@renesas.com \
    --to=ayman.chaudhry.kc@renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox