From: Simon Horman <horms+renesas@verge.net.au> To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm <magnus.damm@gmail.com>, Biju Das <biju.das@bp.renesas.com>, Simon Horman <horms+renesas@verge.net.au> Subject: [PATCH 15/21] dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros Date: Fri, 28 Sep 2018 12:23:30 +0200 [thread overview] Message-ID: <841e37a5cad3976a15b531e512076a05b6045b4b.1538128711.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1538128711.git.horms+renesas@verge.net.au> From: Biju Das <biju.das@bp.renesas.com> Add power domain indices for RZ/G1N (R8A7744) SoC. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- include/dt-bindings/power/r8a7744-sysc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/r8a7744-sysc.h diff --git a/include/dt-bindings/power/r8a7744-sysc.h b/include/dt-bindings/power/r8a7744-sysc.h new file mode 100644 index 000000000000..8b6529778f98 --- /dev/null +++ b/include/dt-bindings/power/r8a7744-sysc.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A7744_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A7744_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) + * + * Note that RZ/G1N is identical to RZ/G2M w.r.t. power domains. + */ + +#define R8A7744_PD_CA15_CPU0 0 +#define R8A7744_PD_CA15_CPU1 1 +#define R8A7744_PD_CA15_SCU 12 +#define R8A7744_PD_SGX 20 + +/* Always-on power area */ +#define R8A7744_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A7744_SYSC_H__ */ -- 2.11.0
WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 15/21] dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros Date: Fri, 28 Sep 2018 12:23:30 +0200 [thread overview] Message-ID: <841e37a5cad3976a15b531e512076a05b6045b4b.1538128711.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1538128711.git.horms+renesas@verge.net.au> From: Biju Das <biju.das@bp.renesas.com> Add power domain indices for RZ/G1N (R8A7744) SoC. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- include/dt-bindings/power/r8a7744-sysc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/r8a7744-sysc.h diff --git a/include/dt-bindings/power/r8a7744-sysc.h b/include/dt-bindings/power/r8a7744-sysc.h new file mode 100644 index 000000000000..8b6529778f98 --- /dev/null +++ b/include/dt-bindings/power/r8a7744-sysc.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A7744_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A7744_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) + * + * Note that RZ/G1N is identical to RZ/G2M w.r.t. power domains. + */ + +#define R8A7744_PD_CA15_CPU0 0 +#define R8A7744_PD_CA15_CPU1 1 +#define R8A7744_PD_CA15_SCU 12 +#define R8A7744_PD_SGX 20 + +/* Always-on power area */ +#define R8A7744_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A7744_SYSC_H__ */ -- 2.11.0
next prev parent reply other threads:[~2018-09-28 16:46 UTC|newest] Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-09-28 10:23 [GIT PULL] Renesas ARM Based SoC Drivers Updates for v4.20 Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 01/21] soc: renesas: Identify RZ/G2M Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 02/21] ARM: shmobile: Add basic RZ/A2 SoC support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 03/21] soc: renesas: identify RZ/A2 Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 04/21] dt-bindings: power: Add r8a774a1 SYSC power domain definitions Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 05/21] soc: renesas: rcar-sysc: Add r8a774a1 support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 06/21] soc: renesas: rcar-rst: Add support for RZ/G2M Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 07/21] soc: renesas: convert to SPDX identifiers Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 08/21] soc: renesas: Identify RZ/G2E Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 09/21] dt-bindings: power: Add r8a774c0 SYSC power domain definitions Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 10/21] dt-bindings: power: rcar-sysc: Document r8a774c0 sysc Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 11/21] soc: renesas: rcar-sysc: Add r8a774c0 support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 12/21] dt-bindings: reset: rcar-rst: Document r8a774c0 rst Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 13/21] soc: renesas: rcar-rst: Add support for RZ/G2E Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 14/21] dt-bindings: power: rcar-sysc: Document r8a7744 SYSC binding Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` Simon Horman [this message] 2018-09-28 10:23 ` [PATCH 15/21] dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros Simon Horman 2018-09-28 10:23 ` [PATCH 16/21] soc: renesas: rcar-sysc: Add r8a7744 support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 17/21] dt-bindings: reset: rcar-rst: Document r8a7744 reset module Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 18/21] soc: renesas: rcar-rst: Add support for RZ/G1N Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 19/21] dt-bindings: apmu: Document r8a77470 support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 20/21] dt-bindings: timer: renesas: tmu: document R8A779{7|8}0 bindings Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 10:23 ` [PATCH 21/21] dt-bindings: apmu: Document r8a7744 support Simon Horman 2018-09-28 10:23 ` Simon Horman 2018-09-28 20:18 ` [GIT PULL] Renesas ARM Based SoC Drivers Updates for v4.20 Arnd Bergmann 2018-09-28 20:18 ` Arnd Bergmann
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=841e37a5cad3976a15b531e512076a05b6045b4b.1538128711.git.horms+renesas@verge.net.au \ --to=horms+renesas@verge.net.au \ --cc=biju.das@bp.renesas.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ /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: linkBe 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.