All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 03/10] clk: renesas: Add r8a7791 CPG Core Clock Definitions
Date: Tue, 25 Apr 2017 18:53:13 +0200	[thread overview]
Message-ID: <1493139200-27396-4-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1493139200-27396-1-git-send-email-geert+renesas@glider.be>

Add all R-Car M2-W Clock Pulse Generator Core Clock Outputs, as listed
in Table 7.2b ("List of Clocks [R-Car M2-W/M2-N]") of the R-Car Gen2
Hardware User's Manual rev. 2.00.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 include/dt-bindings/clock/r8a7791-cpg-mssr.h | 48 ++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 include/dt-bindings/clock/r8a7791-cpg-mssr.h

diff --git a/include/dt-bindings/clock/r8a7791-cpg-mssr.h b/include/dt-bindings/clock/r8a7791-cpg-mssr.h
new file mode 100644
index 0000000000000000..e8823410c01c5a09
--- /dev/null
+++ b/include/dt-bindings/clock/r8a7791-cpg-mssr.h
@@ -0,0 +1,48 @@
+/*
+ * Copyright (C) 2015 Renesas Electronics Corp.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef __DT_BINDINGS_CLOCK_R8A7791_CPG_MSSR_H__
+#define __DT_BINDINGS_CLOCK_R8A7791_CPG_MSSR_H__
+
+#include <dt-bindings/clock/renesas-cpg-mssr.h>
+
+/* r8a7791 CPG Core Clocks */
+#define R8A7791_CLK_Z			0
+#define R8A7791_CLK_ZG			1
+#define R8A7791_CLK_ZTR			2
+#define R8A7791_CLK_ZTRD2		3
+#define R8A7791_CLK_ZT			4
+#define R8A7791_CLK_ZX			5
+#define R8A7791_CLK_ZS			6
+#define R8A7791_CLK_HP			7
+#define R8A7791_CLK_I			8
+#define R8A7791_CLK_B			9
+#define R8A7791_CLK_LB			10
+#define R8A7791_CLK_P			11
+#define R8A7791_CLK_CL			12
+#define R8A7791_CLK_M2			13
+#define R8A7791_CLK_ADSP		14
+#define R8A7791_CLK_ZB3			15
+#define R8A7791_CLK_ZB3D2		16
+#define R8A7791_CLK_DDR			17
+#define R8A7791_CLK_SDH			18
+#define R8A7791_CLK_SD0			19
+#define R8A7791_CLK_SD2			20
+#define R8A7791_CLK_SD3			21
+#define R8A7791_CLK_MMC0		22
+#define R8A7791_CLK_MP			23
+#define R8A7791_CLK_SSP			24
+#define R8A7791_CLK_SSPRS		25
+#define R8A7791_CLK_QSPI		26
+#define R8A7791_CLK_CP			27
+#define R8A7791_CLK_RCAN		28
+#define R8A7791_CLK_R			29
+#define R8A7791_CLK_OSC			30
+
+#endif /* __DT_BINDINGS_CLOCK_R8A7791_CPG_MSSR_H__ */
-- 
2.7.4

  parent reply	other threads:[~2017-04-25 16:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 16:53 [PATCH 00/10] clk: renesas: rcar-gen2: Add new CPG/MSSR drivers Geert Uytterhoeven
     [not found] ` <1493139200-27396-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-04-25 16:53   ` [PATCH 01/10] clk: renesas: cpg-mssr: Document R-Car Gen2 support Geert Uytterhoeven
2017-04-25 16:53     ` Geert Uytterhoeven
     [not found]     ` <1493139200-27396-2-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-04-28 19:42       ` Rob Herring
2017-04-28 19:42         ` Rob Herring
2017-04-25 16:53 ` [PATCH 02/10] clk: renesas: Add r8a7790 CPG Core Clock Definitions Geert Uytterhoeven
2017-04-28 12:38   ` Niklas Söderlund
2017-04-28 12:38     ` Niklas Söderlund
2017-04-28 12:45     ` Geert Uytterhoeven
2017-04-28 12:45       ` Geert Uytterhoeven
2017-04-25 16:53 ` Geert Uytterhoeven [this message]
2017-04-28 12:42   ` [PATCH 03/10] clk: renesas: Add r8a7791 " Niklas Söderlund
2017-04-28 12:42     ` Niklas Söderlund
2017-04-25 16:53 ` [PATCH 04/10] clk: renesas: Add r8a7792 " Geert Uytterhoeven
2017-04-28 12:44   ` Niklas Söderlund
2017-04-28 12:44     ` Niklas Söderlund
2017-04-25 16:53 ` [PATCH 05/10] clk: renesas: Add r8a7793 " Geert Uytterhoeven
2017-04-28 12:46   ` Niklas Söderlund
2017-04-28 12:46     ` Niklas Söderlund
2017-04-25 16:53 ` [PATCH 06/10] clk: renesas: Add r8a7794 " Geert Uytterhoeven
2017-04-28 12:49   ` Niklas Söderlund
2017-04-28 12:49     ` Niklas Söderlund
2017-04-25 16:53 ` [PATCH 07/10] clk: renesas: r8a7790: Add new CPG/MSSR driver Geert Uytterhoeven
2017-04-25 16:53 ` [PATCH 08/10] clk: renesas: r8a7791/r8a7793: " Geert Uytterhoeven
2017-04-25 16:53 ` [PATCH 09/10] clk: renesas: r8a7792: " Geert Uytterhoeven
2017-04-25 16:53 ` [PATCH 10/10] clk: renesas: r8a7794: " 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=1493139200-27396-4-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.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.