projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57aaaa
)
clk: at91: add macro for pll ids mask
author
Claudiu Beznea
<claudiu.beznea@microchip.com>
Wed, 22 Jul 2020 07:38:23 +0000
(10:38 +0300)
committer
Stephen Boyd
<sboyd@kernel.org>
Fri, 24 Jul 2020 09:19:08 +0000
(
02:19
-0700)
Add macro for PLL IDs mask.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link:
https://lore.kernel.org/r/1595403506-8209-16-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/linux/clk/at91_pmc.h
patch
|
blob
|
history
diff --git
a/include/linux/clk/at91_pmc.h
b/include/linux/clk/at91_pmc.h
index 77d6dabc4c3c5a851132bdb19ea1af44fb9b60c5..dc5e85f124e06b7176487e576ae462bba2bfe390 100644
(file)
--- a/
include/linux/clk/at91_pmc.h
+++ b/
include/linux/clk/at91_pmc.h
@@
-59,6
+59,7
@@
#define AT91_PMC_PLL_UPDT 0x1C /* PMC PLL update register [for SAM9X60] */
#define AT91_PMC_PLL_UPDT_UPDATE (1 << 8) /* Update PLL settings */
#define AT91_PMC_PLL_UPDT_ID (1 << 0) /* PLL ID */
+#define AT91_PMC_PLL_UPDT_ID_MSK (0xf) /* PLL ID mask */
#define AT91_PMC_PLL_UPDT_STUPTIM (0xff << 16) /* Startup time */
#define AT91_CKGR_MOR 0x20 /* Main Oscillator Register [not on SAM9RL] */