diff mbox

[PATCH/POC,v3,2/3] clk: shmobile: Add r8a7791 CPG Core Clock Definitions

Message ID 1444649863-17796-3-git-send-email-geert+renesas@glider.be (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Geert Uytterhoeven Oct. 12, 2015, 11:37 a.m. UTC
Add the R-Car M2-W CPG Core Clocks that are currently needed by the DTS.
More will be added when needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This is a Proof-of-Concept. Final definitions and values may be
different.

 include/dt-bindings/clock/r8a7791-cpg-mssr.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 include/dt-bindings/clock/r8a7791-cpg-mssr.h
diff mbox

Patch

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..a68093bc77f846fa
--- /dev/null
+++ b/include/dt-bindings/clock/r8a7791-cpg-mssr.h
@@ -0,0 +1,22 @@ 
+/*
+ * Copyright 2013 Ideas On Board SPRL
+ *
+ * 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_M2			1
+#define R8A7791_CLK_ADSP		2
+#define R8A7791_CLK_SD0			3
+#define R8A7791_CLK_RCAN		4
+
+#endif /* __DT_BINDINGS_CLOCK_R8A7791_CPG_MSSR_H__ */