projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f2a148
)
MIPS: CPC: Add start, stop and running CM3 CPC registers
author
Markos Chandras
<
[email protected]
>
Wed, 3 Feb 2016 03:15:24 +0000
(
03:15
+0000)
committer
Ralf Baechle
<
[email protected]
>
Fri, 13 May 2016 12:01:48 +0000
(14:01 +0200)
Add the new CM3 registers for controlling bringing up and powering down
VPs on MIPSR6 cores.
Signed-off-by: Markos Chandras <
[email protected]
>
Signed-off-by: Paul Burton <
[email protected]
>
Cc: Bjorn Helgaas <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12330/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/include/asm/mips-cpc.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/mips-cpc.h
b/arch/mips/include/asm/mips-cpc.h
index e09035239e5383117947fcabe8920cdf8d7608f1..8c519f9827a3036c3a16f3beb60ba182b71665fd 100644
(file)
--- a/
arch/mips/include/asm/mips-cpc.h
+++ b/
arch/mips/include/asm/mips-cpc.h
@@
-106,6
+106,9
@@
BUILD_CPC_R_(revision, MIPS_CPC_GCB_OFS + 0x20)
BUILD_CPC_Cx_RW(cmd, 0x00)
BUILD_CPC_Cx_RW(stat_conf, 0x08)
BUILD_CPC_Cx_RW(other, 0x10)
+BUILD_CPC_Cx_RW(vp_stop, 0x20)
+BUILD_CPC_Cx_RW(vp_run, 0x28)
+BUILD_CPC_Cx_RW(vp_running, 0x30)
/* CPC_Cx_CMD register fields */
#define CPC_Cx_CMD_SHF 0