Define clock objects for switching on and off clocks for LCDC0, LCDC1 and MIPI
DSI-Tx.
Signed-off-by: Guennadi Liakhovetski <redacted>
---
Now that the "fbdev: add a MIPI DSI header" patch has been acked, we can
add the rest of the patches in this series, which can completely be pulled
via the genesis tree. Paul, please apply. This patch is unchanged from its
original version.
arch/arm/mach-shmobile/clock-sh7372.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index abbc380..66ee47a 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -264,8 +264,12 @@ struct clk div6_clks[] = {
#define R_CLK (&r_clk)
#define HP_CLK (&div4_clks[DIV4_HP])
+#define B_CLK (&div4_clks[DIV4_B])
static struct clk mstp_clks[] = {
+ MSTP("lcdc0", B_CLK, SMSTPCR1, 0, 0),
+ MSTP("lcdc1", B_CLK, SMSTPCR1, 17, 0),
+ MSTP("dsitx", B_CLK, SMSTPCR1, 18, 0),
MSTP("sdhi0", HP_CLK, SMSTPCR3, 14, 0),
MSTP("sdhi1", HP_CLK, SMSTPCR3, 13, 0),
MSTP("keysc0", R_CLK, SMSTPCR4, 3, 0),--
1.6.2.4