Patchwork [1/3] ARM: mx28: Register SPI clocks

login
register
mail settings
Submitter Fabio Estevam
Date April 3, 2012, 7:20 p.m.
Message ID <1333480807-10480-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/150531/
State New
Headers show

Comments

Fabio Estevam - April 3, 2012, 7:20 p.m.
Register SPI clocks.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mxs/clock-mx28.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c
index cea29c9..add79a0 100644
--- a/arch/arm/mach-mxs/clock-mx28.c
+++ b/arch/arm/mach-mxs/clock-mx28.c
@@ -648,6 +648,10 @@  static struct clk_lookup lookups[] = {
 	_REGISTER_CLOCK("imx28-fb", NULL, lcdif_clk)
 	_REGISTER_CLOCK("mxs-saif.0", NULL, saif0_clk)
 	_REGISTER_CLOCK("mxs-saif.1", NULL, saif1_clk)
+	_REGISTER_CLOCK("mxs-spi.0", NULL, ssp0_clk)
+	_REGISTER_CLOCK("mxs-spi.1", NULL, ssp1_clk)
+	_REGISTER_CLOCK("mxs-spi.2", NULL, ssp2_clk)
+	_REGISTER_CLOCK("mxs-spi.3", NULL, ssp3_clk)
 };
 
 static int clk_misc_init(void)