From: sergei.shtylyov@cogentembedded•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 01/11] ARM: shmobile: r8a7745: add power domain index macros
Date: Sat, 29 Oct 2016 01:07:45 +0300 [thread overview]
Message-ID: <1645729.DjklObBkNM@wasted.cogentembedded.com> (raw)
In-Reply-To: <4121805.SRTmqJtRfv@wasted.cogentembedded.com>
Add macros usable by the device tree sources to reference R8A7745 SYSC power
domains by index.
Based on the original (and large) patch by Dmitry Shifrin
<dmitry.shifrin@cogentembedded•com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
---
include/dt-bindings/power/r8a7745-sysc.h | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Index: renesas/include/dt-bindings/power/r8a7745-sysc.h
===================================================================
--- /dev/null
+++ renesas/include/dt-bindings/power/r8a7745-sysc.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2016 Cogent Embedded Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef __DT_BINDINGS_POWER_R8A7745_SYSC_H__
+#define __DT_BINDINGS_POWER_R8A7745_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 R8A7745_PD_CA7_CPU0 5
+#define R8A7745_PD_CA7_CPU1 6
+#define R8A7745_PD_SGX 20
+#define R8A7745_PD_CA7_SCU 21
+
+/* Always-on power area */
+#define R8A7745_PD_ALWAYS_ON 32
+
+#endif /* __DT_BINDINGS_POWER_R8A7745_SYSC_H__ */
next prev parent reply other threads:[~2016-10-28 22:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 22:04 [PATCH 0/11] Add R8A7745/SK-RZG1E board support Sergei Shtylyov
2016-10-28 22:07 ` Sergei Shtylyov [this message]
2016-11-02 9:46 ` [PATCH 01/11] ARM: shmobile: r8a7745: add power domain index macros Geert Uytterhoeven
2016-10-28 22:16 ` [PATCH 03/11] ARM: shmobile: r8a7745: basic SoC support Sergei Shtylyov
2016-10-31 6:22 ` Rob Herring
2016-11-02 9:49 ` Geert Uytterhoeven
2016-10-28 22:17 ` [PATCH 04/11] ARM: dts: r8a7745: initial SoC device tree Sergei Shtylyov
2016-11-02 10:03 ` Geert Uytterhoeven
2016-10-28 22:18 ` [PATCH 05/11] ARM: dts: r8a7745: add SYS-DMAC support Sergei Shtylyov
2016-11-02 10:08 ` Geert Uytterhoeven
2016-10-28 22:19 ` [PATCH 06/11] ARM: dts: r8a7745: add [H]SCIF{A|B} support Sergei Shtylyov
2016-11-02 10:12 ` Geert Uytterhoeven
2016-11-15 17:55 ` Simon Horman
2016-10-28 22:21 ` [PATCH 07/11] ARM: dts: r8a7745: add Ether support Sergei Shtylyov
2016-11-02 10:14 ` Geert Uytterhoeven
2016-10-28 22:22 ` [PATCH 08/12] ARM: dts: r8a7745: add IRQC support Sergei Shtylyov
2016-11-02 10:20 ` Geert Uytterhoeven
2016-10-28 22:25 ` [PATCH 10/12] ARM: dts: sk-rzg1e: initial device tree Sergei Shtylyov
2016-10-28 22:28 ` Sergei Shtylyov
2016-10-28 22:29 ` Sergei Shtylyov
2016-11-02 10:26 ` Geert Uytterhoeven
2016-10-28 22:31 ` [PATCH 11/12] ARM: dts: sk-rzg1e: add Ether support Sergei Shtylyov
2016-11-02 10:26 ` Geert Uytterhoeven
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=1645729.DjklObBkNM@wasted.cogentembedded.com \
--to=sergei.shtylyov@cogentembedded$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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