diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-08-31 16:28:30 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-25 21:49:18 -0400 |
commit | ac47fbee6ddd3cc50869d6e46f24f85ff59a5b0a (patch) | |
tree | 837320b132e986d8a49c3b71152eea8524ff04a1 /arch/arm/include/asm | |
parent | 8a4791fa08fb456f9cf8ef95083ddd4e0d07b48e (diff) |
arm: spear: enable SSP1, 2 and 3 clocks when SPI controller driver is built
SPI controllers SSP1, 2 and 3 require to enable their respective clocks.
Let's enable them only when the SPI controller driver is built.
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-spear/spr_misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-spear/spr_misc.h b/arch/arm/include/asm/arch-spear/spr_misc.h index 65063fca51..01b4b2bee3 100644 --- a/arch/arm/include/asm/arch-spear/spr_misc.h +++ b/arch/arm/include/asm/arch-spear/spr_misc.h @@ -146,11 +146,13 @@ struct misc_regs { #define MISC_SMIENB 0x00200000 #define MISC_GPIO3ENB 0x00040000 #define MISC_GPT3ENB 0x00010000 +#define MISC_SSP3ENB 0x00004000 #define MISC_GPIO4ENB 0x00002000 #define MISC_GPT2ENB 0x00000800 #define MISC_FSMCENB 0x00000200 #define MISC_I2CENB 0x00000080 #define MISC_SSP2ENB 0x00000070 +#define MISC_SSP1ENB 0x00000020 #define MISC_UART0ENB 0x00000008 /* PERIPH_CLK_CFG */ |