linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Restore Integrator/CP CLCD to fully working state
@ 2013-07-23 15:42 Jonathan Austin
  2013-07-23 15:42 ` [PATCH 1/2] ARM: integrator_cp: Set LCD{0, 1} enable lines when turning on CLCD Jonathan Austin
  2013-07-23 15:42 ` [PATCH 2/2] clk: fixup argument order when setting VCO parameters Jonathan Austin
  0 siblings, 2 replies; 17+ messages in thread
From: Jonathan Austin @ 2013-07-23 15:42 UTC (permalink / raw)
  To: linux-arm-kernel

Over time and with refactoring, the use of the Integrator/CP LCD seems to have
broken.

This series restores the ability to use the Integrator's CLCD and an external
VGA display.

Jonathan Austin (2):
  ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD
  clk: fixup argument order when setting VCO parameters

 arch/arm/mach-integrator/integrator_cp.c |    3 ++-
 drivers/clk/versatile/clk-icst.c         |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH 1/2] ARM: integrator_cp: Set LCD{0, 1} enable lines when turning on CLCD
@ 2013-08-29 17:41 Jonathan Austin
  2013-09-10  0:35 ` [PATCH 1/2] ARM: integrator_cp: Set LCD{0,1} " Olof Johansson
  0 siblings, 1 reply; 17+ messages in thread
From: Jonathan Austin @ 2013-08-29 17:41 UTC (permalink / raw)
  To: linux-arm-kernel

This turns on the internal integrator LCD display(s). It seems that the code
to do this got lost in refactoring of the CLCD driver.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable at vger.kernel.org

---
...resending this patch to arm at kernel.org as suggested by Linus W with this Ack

 arch/arm/mach-integrator/integrator_cp.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c
index 8c60fcb..2f4c9248 100644
--- a/arch/arm/mach-integrator/integrator_cp.c
+++ b/arch/arm/mach-integrator/integrator_cp.c
@@ -199,7 +199,8 @@ static struct mmci_platform_data mmc_data = {
 static void cp_clcd_enable(struct clcd_fb *fb)
 {
 	struct fb_var_screeninfo *var = &fb->fb.var;
-	u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2;
+	u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2
+			| CM_CTRL_LCDEN0 | CM_CTRL_LCDEN1;
 
 	if (var->bits_per_pixel <= 8 ||
 	    (var->bits_per_pixel == 16 && var->green.length == 5))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-11 18:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 15:42 [PATCH 0/2] Restore Integrator/CP CLCD to fully working state Jonathan Austin
2013-07-23 15:42 ` [PATCH 1/2] ARM: integrator_cp: Set LCD{0, 1} enable lines when turning on CLCD Jonathan Austin
2013-08-15 15:41   ` [PATCH 1/2] ARM: integrator_cp: Set LCD{0,1} " Jonathan Austin
2013-08-28  7:29   ` Linus Walleij
2013-07-23 15:42 ` [PATCH 2/2] clk: fixup argument order when setting VCO parameters Jonathan Austin
2013-07-24 19:32   ` Linus Walleij
2013-07-25  9:30     ` Jonathan Austin
2013-07-25  9:33       ` Linus Walleij
2013-07-25  9:36         ` Jonathan Austin
2013-07-25 14:01           ` Linus Walleij
2013-07-25 17:44       ` Mike Turquette
2013-07-29 11:01         ` Jonathan Austin
2013-07-24 23:26   ` Mike Turquette
  -- strict thread matches above, loose matches on Subject: below --
2013-08-29 17:41 [PATCH 1/2] ARM: integrator_cp: Set LCD{0, 1} enable lines when turning on CLCD Jonathan Austin
2013-09-10  0:35 ` [PATCH 1/2] ARM: integrator_cp: Set LCD{0,1} " Olof Johansson
2013-11-11 18:40   ` Jonathan Austin
2013-11-11 18:43     ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).