mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
@ 2017-07-24  9:15 Uwe Kleine-König
  2017-07-24  9:15 ` [PATCH 2/2] ARM: use register defines in the dcd table of the WaRP7 Uwe Kleine-König
  2017-07-24  9:37 ` [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Robert Schwebel
  0 siblings, 2 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2017-07-24  9:15 UTC (permalink / raw)
  To: barebox

This was created using cut'n'paste from the i.MX7D reference manual
(rev 0.1, 08/2016).

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
 1 file changed, 174 insertions(+)
 create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h

diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
new file mode 100644
index 000000000000..e66b2da11ede
--- /dev/null
+++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
@@ -0,0 +1,174 @@
+/*
+ * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#define MX7_DDRC_MSTR			0x307a0000
+#define MX7_DDRC_STAT			0x307a0004
+#define MX7_DDRC_MRCTRL0		0x307a0010
+#define MX7_DDRC_MRCTRL1		0x307a0014
+#define MX7_DDRC_MRSTAT			0x307a0018
+#define MX7_DDRC_DERATEEN		0x307a0020
+#define MX7_DDRC_DERATEINT		0x307a0024
+#define MX7_DDRC_PWRCTL			0x307a0030
+#define MX7_DDRC_PWRTMG			0x307a0034
+#define MX7_DDRC_HWLPCTL		0x307a0038
+#define MX7_DDRC_RFSHCTL0		0x307a0050
+#define MX7_DDRC_RFSHCTL1		0x307a0054
+#define MX7_DDRC_RFSHCTL3		0x307a0060
+#define MX7_DDRC_RFSHTMG		0x307a0064
+#define MX7_DDRC_INIT0			0x307a00d0
+#define MX7_DDRC_INIT1			0x307a00d4
+#define MX7_DDRC_INIT2			0x307a00d8
+#define MX7_DDRC_INIT3			0x307a00dc
+#define MX7_DDRC_INIT4			0x307a00e0
+#define MX7_DDRC_INIT5			0x307a00e4
+#define MX7_DDRC_RANKCTL		0x307a00f4
+#define MX7_DDRC_DRAMTMG0		0x307a0100
+#define MX7_DDRC_DRAMTMG1		0x307a0104
+#define MX7_DDRC_DRAMTMG2		0x307a0108
+#define MX7_DDRC_DRAMTMG3		0x307a010c
+#define MX7_DDRC_DRAMTMG4		0x307a0110
+#define MX7_DDRC_DRAMTMG5		0x307a0114
+#define MX7_DDRC_DRAMTMG6		0x307a0118
+#define MX7_DDRC_DRAMTMG7		0x307a011c
+#define MX7_DDRC_DRAMTMG8		0x307a0120
+#define MX7_DDRC_ZQCTL0			0x307a0180
+#define MX7_DDRC_ZQCTL1			0x307a0184
+#define MX7_DDRC_ZQCTL2			0x307a0188
+#define MX7_DDRC_ZQSTAT			0x307a018c
+#define MX7_DDRC_DFITMG0		0x307a0190
+#define MX7_DDRC_DFITMG1		0x307a0194
+#define MX7_DDRC_DFILPCFG0		0x307a0198
+#define MX7_DDRC_DFIUPD0		0x307a01a0
+#define MX7_DDRC_DFIUPD1		0x307a01a4
+#define MX7_DDRC_DFIUPD2		0x307a01a8
+#define MX7_DDRC_DFIUPD3		0x307a01ac
+#define MX7_DDRC_DFIMISC		0x307a01b0
+#define MX7_DDRC_ADDRMAP0		0x307a0200
+#define MX7_DDRC_ADDRMAP1		0x307a0204
+#define MX7_DDRC_ADDRMAP2		0x307a0208
+#define MX7_DDRC_ADDRMAP3		0x307a020c
+#define MX7_DDRC_ADDRMAP4		0x307a0210
+#define MX7_DDRC_ADDRMAP5		0x307a0214
+#define MX7_DDRC_ADDRMAP6		0x307a0218
+#define MX7_DDRC_ODTCFG			0x307a0240
+#define MX7_DDRC_ODTMAP			0x307a0244
+#define MX7_DDRC_SCHED			0x307a0250
+#define MX7_DDRC_SCHED1			0x307a0254
+#define MX7_DDRC_PERFHPR1		0x307a025c
+#define MX7_DDRC_PERFLPR1		0x307a0264
+#define MX7_DDRC_PERFWR1		0x307a026c
+#define MX7_DDRC_PERFVPR1		0x307a0274
+#define MX7_DDRC_PERFVPW1		0x307a0278
+#define MX7_DDRC_DBG0			0x307a0300
+#define MX7_DDRC_DBG1			0x307a0304
+#define MX7_DDRC_DBGCAM			0x307a0308
+#define MX7_DDRC_DBGCMD			0x307a030c
+#define MX7_DDRC_DBGSTAT		0x307a0310
+#define MX7_DDRC_SWCTL			0x307a0320
+#define MX7_DDRC_SWSTAT			0x307a0324
+
+#define MX7_DDRC_MP_PSTAT		0x307a03fc
+#define MX7_DDRC_MP_PCCFG		0x307a0400
+#define MX7_DDRC_MP_PCFGR_0		0x307a0404
+#define MX7_DDRC_MP_PCFGW_0		0x307a0408
+#define MX7_DDRC_MP_PCFGIDMASKCH_00	0x307a0410
+#define MX7_DDRC_MP_PCFGIDVALUECH_00	0x307a0414
+#define MX7_DDRC_MP_PCFGIDMASKCH_10	0x307a0418
+#define MX7_DDRC_MP_PCFGIDVALUECH_10	0x307a041c
+#define MX7_DDRC_MP_PCFGIDMASKCH_20	0x307a0420
+#define MX7_DDRC_MP_PCFGIDVALUECH_20	0x307a0424
+#define MX7_DDRC_MP_PCFGIDMASKCH_30	0x307a0428
+#define MX7_DDRC_MP_PCFGIDVALUECH_30	0x307a042c
+#define MX7_DDRC_MP_PCFGIDMASKCH_40	0x307a0430
+#define MX7_DDRC_MP_PCFGIDVALUECH_40	0x307a0434
+#define MX7_DDRC_MP_PCFGIDMASKCH_50	0x307a0438
+#define MX7_DDRC_MP_PCFGIDVALUECH_50	0x307a043c
+#define MX7_DDRC_MP_PCFGIDMASKCH_60	0x307a0440
+#define MX7_DDRC_MP_PCFGIDVALUECH_60	0x307a0444
+#define MX7_DDRC_MP_PCFGIDMASKCH_70	0x307a0448
+#define MX7_DDRC_MP_PCFGIDVALUECH_70	0x307a044c
+#define MX7_DDRC_MP_PCFGIDMASKCH_80	0x307a0450
+#define MX7_DDRC_MP_PCFGIDVALUECH_80	0x307a0454
+#define MX7_DDRC_MP_PCFGIDMASKCH_90	0x307a0458
+#define MX7_DDRC_MP_PCFGIDVALUECH_90	0x307a045c
+#define MX7_DDRC_MP_PCFGIDMASKCH_100	0x307a0460
+#define MX7_DDRC_MP_PCFGIDVALUECH_100	0x307a0464
+#define MX7_DDRC_MP_PCFGIDMASKCH_110	0x307a0468
+#define MX7_DDRC_MP_PCFGIDVALUECH_110	0x307a046c
+#define MX7_DDRC_MP_PCFGIDMASKCH_120	0x307a0470
+#define MX7_DDRC_MP_PCFGIDVALUECH_120	0x307a0474
+#define MX7_DDRC_MP_PCFGIDMASKCH_130	0x307a0478
+#define MX7_DDRC_MP_PCFGIDVALUECH_130	0x307a047c
+#define MX7_DDRC_MP_PCFGIDMASKCH_140	0x307a0480
+#define MX7_DDRC_MP_PCFGIDVALUECH_140	0x307a0484
+#define MX7_DDRC_MP_PCFGIDMASKCH_150	0x307a0488
+#define MX7_DDRC_MP_PCFGIDVALUECH_150	0x307a048c
+#define MX7_DDRC_MP_PCTRL_0		0x307a0490
+#define MX7_DDRC_MP_PCFGQOS0_0		0x307a0494
+#define MX7_DDRC_MP_PCFGQOS1_0		0x307a0498
+#define MX7_DDRC_MP_PCFGWQOS0_0		0x307a049c
+#define MX7_DDRC_MP_PCFGWQOS1_0		0x307a04a0
+#define MX7_DDRC_MP_SARBASE0		0x307a0f04
+#define MX7_DDRC_MP_SARSIZE0		0x307a0f08
+#define MX7_DDRC_MP_SARBASE1		0x307a0f0c
+#define MX7_DDRC_MP_SARSIZE1		0x307a0f10
+#define MX7_DDRC_MP_SARBASE2		0x307a0f14
+#define MX7_DDRC_MP_SARSIZE2		0x307a0f18
+#define MX7_DDRC_MP_SARBASE3		0x307a0f1c
+#define MX7_DDRC_MP_SARSIZE3		0x307a0f20
+
+#define MX7_DDR_PHY_PHY_CON0		0x30790000
+#define MX7_DDR_PHY_PHY_CON1		0x30790004
+#define MX7_DDR_PHY_PHY_CON2		0x30790008
+#define MX7_DDR_PHY_PHY_CON3		0x3079000c
+#define MX7_DDR_PHY_PHY_CON4		0x30790010
+#define MX7_DDR_PHY_PHY_CON5		0x30790014
+#define MX7_DDR_PHY_LP_CON0		0x30790018
+#define MX7_DDR_PHY_RODT_CON0		0x3079001c
+#define MX7_DDR_PHY_OFFSET_RD_CON0	0x30790020
+#define MX7_DDR_PHY_OFFSET_WR_CON0	0x30790030
+#define MX7_DDR_PHY_GATE_CODE_CON0	0x30790040
+#define MX7_DDR_PHY_SHIFTC_CON0		0x3079004c
+#define MX7_DDR_PHY_CMD_SDLL_CON0	0x30790050
+#define MX7_DDR_PHY_LVL_CON0		0x3079006c
+#define MX7_DDR_PHY_LVL_CON3		0x30790078
+#define MX7_DDR_PHY_CMD_DESKEW_CON0	0x3079007c
+#define MX7_DDR_PHY_CMD_DESKEW_CON1	0x30790080
+#define MX7_DDR_PHY_CMD_DESKEW_CON2	0x30790084
+#define MX7_DDR_PHY_CMD_DESKEW_CON3	0x30790088
+#define MX7_DDR_PHY_CMD_DESKEW_CON4	0x30790094
+#define MX7_DDR_PHY_DRVDS_CON0		0x3079009c
+#define MX7_DDR_PHY_MDLL_CON0		0x307900b0
+#define MX7_DDR_PHY_MDLL_CON1		0x307900b4
+#define MX7_DDR_PHY_ZQ_CON0		0x307900c0
+#define MX7_DDR_PHY_ZQ_CON1		0x307900c4
+#define MX7_DDR_PHY_ZQ_CON2		0x307900c8
+#define MX7_DDR_PHY_RD_DESKEW_CON0	0x30790190
+#define MX7_DDR_PHY_RD_DESKEW_CON3	0x3079019c
+#define MX7_DDR_PHY_RD_DESKEW_CON6	0x307901a8
+#define MX7_DDR_PHY_RD_DESKEW_CON9	0x307901b4
+#define MX7_DDR_PHY_RD_DESKEW_CON12	0x307901c0
+#define MX7_DDR_PHY_RD_DESKEW_CON15	0x307901cc
+#define MX7_DDR_PHY_RD_DESKEW_CON18	0x307901d8
+#define MX7_DDR_PHY_RD_DESKEW_CON21	0x307901e4
+#define MX7_DDR_PHY_WR_DESKEW_CON0	0x307901f0
+#define MX7_DDR_PHY_WR_DESKEW_CON3	0x307901fc
+#define MX7_DDR_PHY_WR_DESKEW_CON6	0x30790208
+#define MX7_DDR_PHY_WR_DESKEW_CON9	0x30790214
+#define MX7_DDR_PHY_WR_DESKEW_CON12	0x30790220
+#define MX7_DDR_PHY_WR_DESKEW_CON15	0x3079022c
+#define MX7_DDR_PHY_WR_DESKEW_CON18	0x30790238
+#define MX7_DDR_PHY_WR_DESKEW_CON21	0x30790244
+#define MX7_DDR_PHY_DM_DESKEW_CON	0x30790250
+#define MX7_DDR_PHY_RDATA0		0x307903a0
+#define MX7_DDR_PHY_STAT0		0x307903ac
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/2] ARM: use register defines in the dcd table of the WaRP7
  2017-07-24  9:15 [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Uwe Kleine-König
@ 2017-07-24  9:15 ` Uwe Kleine-König
  2017-07-24  9:37 ` [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Robert Schwebel
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2017-07-24  9:15 UTC (permalink / raw)
  To: barebox

This was generated with the following command after adding the include
directive to the file:

	scripts/regsubst.pl -I arch/arm/mach-imx/include arch/arm/boards/element14-warp7/flash-header-mx7-warp.imxcfg

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 .../element14-warp7/flash-header-mx7-warp.imxcfg   | 102 +++++++++++----------
 1 file changed, 52 insertions(+), 50 deletions(-)

diff --git a/arch/arm/boards/element14-warp7/flash-header-mx7-warp.imxcfg b/arch/arm/boards/element14-warp7/flash-header-mx7-warp.imxcfg
index a3389218d597..d54b3ea8518a 100644
--- a/arch/arm/boards/element14-warp7/flash-header-mx7-warp.imxcfg
+++ b/arch/arm/boards/element14-warp7/flash-header-mx7-warp.imxcfg
@@ -13,69 +13,71 @@ soc imx7
 loadaddr 0x80000000
 dcdofs 0x400
 
+#include <mach/imx7-ddr-regs.h>
+
 wm 32 0x30340004 0x4F400005
 
 wm 32 0x30391000 0x00000002
-wm 32 0x307a0000 0x03040008
-wm 32 0x307a0064 0x00200038
-wm 32 0x307a0490 0x00000001
-wm 32 0x307a00d0 0x00350001
-wm 32 0x307a00dc 0x00c3000a
-wm 32 0x307a00e0 0x00010000
-wm 32 0x307a00e4 0x00110006
-wm 32 0x307a00f4 0x0000033f
-wm 32 0x307a0100 0x0a0e110b
-wm 32 0x307a0104 0x00020211
-wm 32 0x307a0108 0x03060708
-wm 32 0x307a010c 0x00a0500c
-wm 32 0x307a0110 0x05020307
-wm 32 0x307a0114 0x02020404
-wm 32 0x307a0118 0x02020003
-wm 32 0x307a011c 0x00000202
-wm 32 0x307a0120 0x00000202
+wm 32 MX7_DDRC_MSTR 0x03040008
+wm 32 MX7_DDRC_RFSHTMG 0x00200038
+wm 32 MX7_DDRC_MP_PCTRL_0 0x00000001
+wm 32 MX7_DDRC_INIT0 0x00350001
+wm 32 MX7_DDRC_INIT3 0x00c3000a
+wm 32 MX7_DDRC_INIT4 0x00010000
+wm 32 MX7_DDRC_INIT5 0x00110006
+wm 32 MX7_DDRC_RANKCTL 0x0000033f
+wm 32 MX7_DDRC_DRAMTMG0 0x0a0e110b
+wm 32 MX7_DDRC_DRAMTMG1 0x00020211
+wm 32 MX7_DDRC_DRAMTMG2 0x03060708
+wm 32 MX7_DDRC_DRAMTMG3 0x00a0500c
+wm 32 MX7_DDRC_DRAMTMG4 0x05020307
+wm 32 MX7_DDRC_DRAMTMG5 0x02020404
+wm 32 MX7_DDRC_DRAMTMG6 0x02020003
+wm 32 MX7_DDRC_DRAMTMG7 0x00000202
+wm 32 MX7_DDRC_DRAMTMG8 0x00000202
 
-wm 32 0x307a0180 0x00600018
-wm 32 0x307a0184 0x00e00100
-wm 32 0x307a0190 0x02098205
-wm 32 0x307a0194 0x00060303
-wm 32 0x307a01a0 0x80400003
-wm 32 0x307a01a4 0x00100020
-wm 32 0x307a01a8 0x80100004
+wm 32 MX7_DDRC_ZQCTL0 0x00600018
+wm 32 MX7_DDRC_ZQCTL1 0x00e00100
+wm 32 MX7_DDRC_DFITMG0 0x02098205
+wm 32 MX7_DDRC_DFITMG1 0x00060303
+wm 32 MX7_DDRC_DFIUPD0 0x80400003
+wm 32 MX7_DDRC_DFIUPD1 0x00100020
+wm 32 MX7_DDRC_DFIUPD2 0x80100004
 
-wm 32 0x307a0200 0x00000015
-wm 32 0x307a0204 0x00161616
-wm 32 0x307a0210 0x00000f0f
-wm 32 0x307a0214 0x04040404
-wm 32 0x307a0218 0x0f0f0404
+wm 32 MX7_DDRC_ADDRMAP0 0x00000015
+wm 32 MX7_DDRC_ADDRMAP1 0x00161616
+wm 32 MX7_DDRC_ADDRMAP4 0x00000f0f
+wm 32 MX7_DDRC_ADDRMAP5 0x04040404
+wm 32 MX7_DDRC_ADDRMAP6 0x0f0f0404
 
-wm 32 0x307a0240 0x06000600
-wm 32 0x307a0244 0x00000000
+wm 32 MX7_DDRC_ODTCFG 0x06000600
+wm 32 MX7_DDRC_ODTMAP 0x00000000
 wm 32 0x30391000 0x00000000
-wm 32 0x30790000 0x17421e40
-wm 32 0x30790004 0x10210100
-wm 32 0x30790008 0x00010000
-wm 32 0x30790010 0x0007080c
-wm 32 0x307900b0 0x1010007e
+wm 32 MX7_DDR_PHY_PHY_CON0 0x17421e40
+wm 32 MX7_DDR_PHY_PHY_CON1 0x10210100
+wm 32 MX7_DDR_PHY_PHY_CON2 0x00010000
+wm 32 MX7_DDR_PHY_PHY_CON4 0x0007080c
+wm 32 MX7_DDR_PHY_MDLL_CON0 0x1010007e
 
-wm 32 0x3079001C 0x01010000
-wm 32 0x3079009c 0x00000d6e
+wm 32 MX7_DDR_PHY_RODT_CON0 0x01010000
+wm 32 MX7_DDR_PHY_DRVDS_CON0 0x00000d6e
 
-wm 32 0x30790030 0x06060606
-wm 32 0x30790020 0x0a0a0a0a
-wm 32 0x30790050 0x01000008
-wm 32 0x30790050 0x00000008
-wm 32 0x30790018 0x0000000f
-wm 32 0x307900c0 0x0e487304
-wm 32 0x307900c0 0x0e4c7304
-wm 32 0x307900c0 0x0e4c7306
-wm 32 0x307900c0 0x0e4c7304
+wm 32 MX7_DDR_PHY_OFFSET_WR_CON0 0x06060606
+wm 32 MX7_DDR_PHY_OFFSET_RD_CON0 0x0a0a0a0a
+wm 32 MX7_DDR_PHY_CMD_SDLL_CON0 0x01000008
+wm 32 MX7_DDR_PHY_CMD_SDLL_CON0 0x00000008
+wm 32 MX7_DDR_PHY_LP_CON0 0x0000000f
+wm 32 MX7_DDR_PHY_ZQ_CON0 0x0e487304
+wm 32 MX7_DDR_PHY_ZQ_CON0 0x0e4c7304
+wm 32 MX7_DDR_PHY_ZQ_CON0 0x0e4c7306
+wm 32 MX7_DDR_PHY_ZQ_CON0 0x0e4c7304
 
-check 32 while_any_bit_clear 0x307900c4 0x1
+check 32 while_any_bit_clear MX7_DDR_PHY_ZQ_CON1 0x1
 
-wm 32 0x307900c0 0x0e487304
+wm 32 MX7_DDR_PHY_ZQ_CON0 0x0e487304
 
 wm 32 0x30384130 0x00000000
 wm 32 0x30340020 0x00000178
 wm 32 0x30384130 0x00000002
 
-check 32 while_any_bit_clear 0x307a0004 0x1
+check 32 while_any_bit_clear MX7_DDRC_STAT 0x1
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24  9:15 [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Uwe Kleine-König
  2017-07-24  9:15 ` [PATCH 2/2] ARM: use register defines in the dcd table of the WaRP7 Uwe Kleine-König
@ 2017-07-24  9:37 ` Robert Schwebel
  2017-07-24  9:45   ` Uwe Kleine-König
  2017-07-24 16:04   ` Sam Ravnborg
  1 sibling, 2 replies; 9+ messages in thread
From: Robert Schwebel @ 2017-07-24  9:37 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Mon, Jul 24, 2017 at 11:15:58AM +0200, Uwe Kleine-König wrote:
> This was created using cut'n'paste from the i.MX7D reference manual
> (rev 0.1, 08/2016).
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
>  1 file changed, 174 insertions(+)
>  create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> 
> diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> new file mode 100644
> index 000000000000..e66b2da11ede
> --- /dev/null
> +++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> @@ -0,0 +1,174 @@
> +/*
> + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>

Sure?

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24  9:37 ` [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Robert Schwebel
@ 2017-07-24  9:45   ` Uwe Kleine-König
  2017-07-24  9:46     ` Robert Schwebel
  2017-08-10 12:23     ` Uwe Kleine-König
  2017-07-24 16:04   ` Sam Ravnborg
  1 sibling, 2 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2017-07-24  9:45 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox

Hello Robert,

On Mon, Jul 24, 2017 at 11:37:07AM +0200, Robert Schwebel wrote:
> On Mon, Jul 24, 2017 at 11:15:58AM +0200, Uwe Kleine-König wrote:
> > This was created using cut'n'paste from the i.MX7D reference manual
> > (rev 0.1, 08/2016).
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > ---
> >  arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
> >  1 file changed, 174 insertions(+)
> >  create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > 
> > diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > new file mode 100644
> > index 000000000000..e66b2da11ede
> > --- /dev/null
> > +++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > @@ -0,0 +1,174 @@
> > +/*
> > + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
> 
> Sure?

That's what I copied from our internal license template ... *sigh* I
will resend.

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24  9:45   ` Uwe Kleine-König
@ 2017-07-24  9:46     ` Robert Schwebel
  2017-08-10 12:23     ` Uwe Kleine-König
  1 sibling, 0 replies; 9+ messages in thread
From: Robert Schwebel @ 2017-07-24  9:46 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Mon, Jul 24, 2017 at 11:45:33AM +0200, Uwe Kleine-König wrote:
> > > + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
> > 
> > Sure?
> 
> That's what I copied from our internal license template ... *sigh* I
> will resend.

It is a *template* :-)

rsc 
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24  9:37 ` [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Robert Schwebel
  2017-07-24  9:45   ` Uwe Kleine-König
@ 2017-07-24 16:04   ` Sam Ravnborg
  2017-07-26 16:21     ` Robert Schwebel
  1 sibling, 1 reply; 9+ messages in thread
From: Sam Ravnborg @ 2017-07-24 16:04 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox, Uwe Kleine-König

On Mon, Jul 24, 2017 at 11:37:07AM +0200, Robert Schwebel wrote:
> On Mon, Jul 24, 2017 at 11:15:58AM +0200, Uwe Kleine-König wrote:
> > This was created using cut'n'paste from the i.MX7D reference manual
> > (rev 0.1, 08/2016).
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > ---
> >  arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
> >  1 file changed, 174 insertions(+)
> >  create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > 
> > diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > new file mode 100644
> > index 000000000000..e66b2da11ede
> > --- /dev/null
> > +++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > @@ -0,0 +1,174 @@
> > +/*
> > + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
> 
> Sure?

If the content is copy'n'pasted then (to my limited understanding) this is not
enough to grant any copyright. And copyright should be from the source?
Not that I care much, but just a random thought.

	Sam

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24 16:04   ` Sam Ravnborg
@ 2017-07-26 16:21     ` Robert Schwebel
  2017-07-26 16:48       ` Sam Ravnborg
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Schwebel @ 2017-07-26 16:21 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: barebox, Uwe Kleine-König

On Mon, Jul 24, 2017 at 06:04:25PM +0200, Sam Ravnborg wrote:
> On Mon, Jul 24, 2017 at 11:37:07AM +0200, Robert Schwebel wrote:
> > On Mon, Jul 24, 2017 at 11:15:58AM +0200, Uwe Kleine-König wrote:
> > > This was created using cut'n'paste from the i.MX7D reference manual
> > > (rev 0.1, 08/2016).
> > > 
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > > ---
> > >  arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
> > >  1 file changed, 174 insertions(+)
> > >  create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > 
> > > diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > new file mode 100644
> > > index 000000000000..e66b2da11ede
> > > --- /dev/null
> > > +++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > @@ -0,0 +1,174 @@
> > > +/*
> > > + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
> > 
> > Sure?
> 
> If the content is copy'n'pasted then (to my limited understanding) this is not
> enough to grant any copyright. And copyright should be from the source?
> Not that I care much, but just a random thought.

Only the header text was copy-pasted, which is why it contains Fridolin
Tux (who, in fact, is my stuffed penguin).

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-26 16:21     ` Robert Schwebel
@ 2017-07-26 16:48       ` Sam Ravnborg
  0 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2017-07-26 16:48 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox, Uwe Kleine-König

Hi Robert.

From the original changelog:
> > > > This was created using cut'n'paste from the i.MX7D reference manual
> > > > (rev 0.1, 08/2016).

> > 
> Only the header text was copy-pasted, which is why it contains Fridolin
> Tux (who, in fact, is my stuffed penguin).
So all content was somehow copy'n'pasted.
But let's not waste more bandwidth on this...

And I had done my homework - and looked up Fridolin Tux:
http://www.linux-community.de/Internal/User-Blogs/Fridolin-Tux
:-)

	Sam

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX7: provide DDR register definitions
  2017-07-24  9:45   ` Uwe Kleine-König
  2017-07-24  9:46     ` Robert Schwebel
@ 2017-08-10 12:23     ` Uwe Kleine-König
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2017-08-10 12:23 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: barebox

On Mon, Jul 24, 2017 at 11:45:33AM +0200, Uwe Kleine-König wrote:
> Hello Robert,
> 
> On Mon, Jul 24, 2017 at 11:37:07AM +0200, Robert Schwebel wrote:
> > On Mon, Jul 24, 2017 at 11:15:58AM +0200, Uwe Kleine-König wrote:
> > > This was created using cut'n'paste from the i.MX7D reference manual
> > > (rev 0.1, 08/2016).
> > > 
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > > ---
> > >  arch/arm/mach-imx/include/mach/imx7-ddr-regs.h | 174 +++++++++++++++++++++++++
> > >  1 file changed, 174 insertions(+)
> > >  create mode 100644 arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > 
> > > diff --git a/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > new file mode 100644
> > > index 000000000000..e66b2da11ede
> > > --- /dev/null
> > > +++ b/arch/arm/mach-imx/include/mach/imx7-ddr-regs.h
> > > @@ -0,0 +1,174 @@
> > > +/*
> > > + * Copyright (C) 2017 Pengutronix, Fridolin Tux <kernel@pengutronix.de>
> > 
> > Sure?
> 
> That's what I copied from our internal license template ... *sigh* I
> will resend.

I think I forgot to resend, but Lucas took my patch anyhow :-)

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-10 12:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24  9:15 [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Uwe Kleine-König
2017-07-24  9:15 ` [PATCH 2/2] ARM: use register defines in the dcd table of the WaRP7 Uwe Kleine-König
2017-07-24  9:37 ` [PATCH 1/2] ARM: i.MX7: provide DDR register definitions Robert Schwebel
2017-07-24  9:45   ` Uwe Kleine-König
2017-07-24  9:46     ` Robert Schwebel
2017-08-10 12:23     ` Uwe Kleine-König
2017-07-24 16:04   ` Sam Ravnborg
2017-07-26 16:21     ` Robert Schwebel
2017-07-26 16:48       ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox