Skip to content

Commit 682b108

Browse files
committed
clk: renesas: cpg-mssr: Remove unused [RM]MSTPCR() definitions
The Realtime Module Stop Control Register definitions (RMSTPCR(i)) are incorrect for i >= 8 on R-Car Gen2 and Gen3. As these are unused, and not planned to be used, just like the corresponding Modem Module Stop Control Register definitions (MMSTPCR()) on R-Mobile APE6 (they are intended for the software running on the Real-Time and Modem CPU cores), they can just be removed. Reported-by: Hai Nguyen Pham <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/2d8bc4d9806b419ebb06030d2f31b2ea1e59b1d6.1620119700.git.geert+renesas@glider.be
1 parent 6bd913f commit 682b108

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/clk/renesas/renesas-cpg-mssr.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ static const u16 srcr_for_v3u[] = {
100100
0x2C20, 0x2C24, 0x2C28, 0x2C2C, 0x2C30, 0x2C34, 0x2C38,
101101
};
102102

103-
/* Realtime Module Stop Control Register offsets */
104-
#define RMSTPCR(i) (smstpcr[i] - 0x20)
105-
106-
/* Modem Module Stop Control Register offsets (r8a73a4) */
107-
#define MMSTPCR(i) (smstpcr[i] + 0x20)
108-
109103
/* Software Reset Clearing Register offsets */
110104

111105
static const u16 srstclr[] = {

0 commit comments

Comments
 (0)