lkml.org 
[lkml]   [2018]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/6] dt-bindings: clock: add DDR3 standard speed bins.
Date
DDR3 SDRAM Standard (JESD79-3F) defines some standard speed bins for
DDR3 memories. The devfreq/rk3399_dmc.txt binding refers to this file
which does not exist, so add a ddr.h file with the standard speed bins
for DDR3.

Fixes: c1ceb8f7c167 (Documentation: bindings: add dt documentation for rk3399 dmc)
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---

include/dt-bindings/clock/ddr.h | 34 +++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 include/dt-bindings/clock/ddr.h

diff --git a/include/dt-bindings/clock/ddr.h b/include/dt-bindings/clock/ddr.h
new file mode 100644
index 000000000000..506aef7e609e
--- /dev/null
+++ b/include/dt-bindings/clock/ddr.h
@@ -0,0 +1,34 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
+
+#ifndef DT_BINDINGS_DDR_H
+#define DT_BINDINGS_DDR_H
+
+/* DDR3-800 Standard Speed Bins */
+#define DDR3_800D 15
+#define DDR3_800E 18
+/* DDR3-1066 Standard Speed Bins */
+#define DDR3_1066E 18
+#define DDR3_1066F 21
+#define DDR3_1066G 24
+/* DDR3-1333 Standard Speed Bins */
+#define DDR3_1333F 21
+#define DDR3_1333G 24
+#define DDR3_1333H 27
+#define DDR3_1333J 30
+/* DDR3-1600 Standard Speed Bins */
+#define DDR3_1600G 24
+#define DDR3_1600H 27
+#define DDR3_1600J 30
+#define DDR3_1600K 33
+/* DDR3-1600 Standard Speed Bins */
+#define DDR3_1866J 30
+#define DDR3_1866K 33
+#define DDR3_1866L 36
+#define DDR3_1866M 39
+/* DDR3-2133 Standard Speed Bins */
+#define DDR3_2133K 33
+#define DDR3_2133L 36
+#define DDR3_2133M 39
+#define DDR3_2133N 42
+
+#endif
--
2.17.0
\
 
 \ /
  Last update: 2018-04-19 12:43    [W:0.128 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site