Skip to contentSkip to conversation

clk: renesas: Synchronize Gen2 MSTP teardown tables

PATCH New Marek Vasut 1 participant 1 message Jun 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: renesas: Synchronize Gen2 MSTP teardown tables

Synchronize Gen2 MSTP teardown tables with datasheet Rev.2.00 Feb 01, 2016. This corrects the following bits:
- added H2 MSTP3[10] SCIF2
- added H2/M2/E2 MSTP7[29] TCON
- removed E2 MSTP5[22] Thermal Sensor
- removed E2 MSTP10[31,24:22] SRC0, SRC7:9

Cc Nobuhiro Iwamatsu <[email protected]>
---
 drivers/clk/renesas/r8a7790-cpg-mssr.c | 4 ++--
 drivers/clk/renesas/r8a7791-cpg-mssr.c | 2 +-
 drivers/clk/renesas/r8a7794-cpg-mssr.c | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)
drivers/clk/renesas/r8a7790-cpg-mssr.c +2 -2
index 7451f53ba3..6f4aa6f0ca 100644
@@ -239,11 +239,11 @@ static const struct mstp_stop_table r8a7790_mstp_table[] = {
 	{ 0x00640801, 0x400000, 0x00640801, 0x0 },
 	{ 0xDB6E9BDF, 0x0, 0xDB6E9BDF, 0x0 },
 	{ 0x300DA1FC, 0x2010, 0x300DA1FC, 0x0 },
-	{ 0xF08CF831, 0x0, 0xF08CF831, 0x0 },
+	{ 0xF08CFC31, 0x0, 0xF08CFC31, 0x0 },
 	{ 0x80000184, 0x180, 0x80000184, 0x0 },
 	{ 0x44C00046, 0x0, 0x44C00046, 0x0 },
 	{ 0x0, 0x0, 0x0, 0x0 },	/* SMSTP6 is not present on Gen2 */
-	{ 0x07F30718, 0x200000, 0x07F30718, 0x0 },
+	{ 0x27F30718, 0x200000, 0x27F30718, 0x0 },
 	{ 0x01F0FF84, 0x0, 0x01F0FF84, 0x0 },
 	{ 0xF5979FCF, 0x0, 0xF5979FCF, 0x0 },
 	{ 0xFFFEFFE0, 0x0, 0xFFFEFFE0, 0x0 },
drivers/clk/renesas/r8a7791-cpg-mssr.c +1 -1
index 25fd489609..3f02f419a4 100644
@@ -245,7 +245,7 @@ static const struct mstp_stop_table r8a7791_mstp_table[] = {
 	{ 0x800001C4, 0x180, 0x800001C4, 0x0 },
 	{ 0x44C00046, 0x0, 0x44C00046, 0x0 },
 	{ 0x0, 0x0, 0x0, 0x0 },	/* SMSTP6 is not present on Gen2 */
-	{ 0x05BFE618, 0x200000, 0x05BFE618, 0x0 },
+	{ 0x25BFE618, 0x200000, 0x25BFE618, 0x0 },
 	{ 0x40C0FE85, 0x0, 0x40C0FE85, 0x0 },
 	{ 0xFF979FFF, 0x0, 0xFF979FFF, 0x0 },
 	{ 0xFFFEFFE0, 0x0, 0xFFFEFFE0, 0x0 },
drivers/clk/renesas/r8a7794-cpg-mssr.c +3 -3
index 7093e0d42c..53b55b679d 100644
@@ -218,12 +218,12 @@ static const struct mstp_stop_table r8a7794_mstp_table[] = {
 	{ 0x100D21FC, 0x2000, 0x100D21FC, 0x0 },
 	{ 0xE084D810, 0x0, 0xE084D810, 0x0 },
 	{ 0x800001C4, 0x180, 0x800001C4, 0x0 },
-	{ 0x40C00044, 0x0, 0x40C00044, 0x0 },
+	{ 0x40800044, 0x0, 0x40800044, 0x0 },
 	{ 0x0, 0x0, 0x0, 0x0 },	/* SMSTP6 is not present on Gen2 */
-	{ 0x013FE618, 0x80000, 0x013FE618, 0x0 },
+	{ 0x21BFE618, 0x80000, 0x21BFE618, 0x0 },
 	{ 0x40803C05, 0x0, 0x40803C05, 0x0 },
 	{ 0xFB879FEE, 0x0, 0xFB879FEE, 0x0 },
-	{ 0xFFFEFFE0, 0x0, 0xFFFEFFE0, 0x0 },
+	{ 0x7E3EFFE0, 0x0, 0x7E3EFFE0, 0x0 },
 	{ 0x000001C0, 0x0, 0x000001C0, 0x0 },
 };
 
Signature · 1 line
2.25.1