public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Nokia n810 LCD (MIPID/blizzard) on 2.6.38
@ 2011-02-28 20:45 Michael Buesch
  2011-03-01  9:20 ` Felipe Balbi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Michael Buesch @ 2011-02-28 20:45 UTC (permalink / raw)
  To: linux-omap; +Cc: Felipe Balbi, Varadarajan Charulatha

The n810 LCD does not work on the 2.6.38(-rc6) kernel
due to changes in the OMAP GPIO-hwmod code.

The hwmod code performs a soft-reset on the GPIO
module. The first GPIO module carries the MIPID
"nreset" line, which is toggled due to the hwmod soft reset.
This resets Blizzard and breaks it, because
it assumes the LCD was left in the state that the
bootloader initialized it to:

	if (!(blizzard_read_reg(BLIZZARD_PLL_DIV) & 0x80)) {
		dev_err(fbdev->dev,
			  "controller not initialized by the bootloader\n");
		r = -ENODEV;
		goto err3;
	}

My temporary workaround to this issue is to disable
soft reset for the first GPIO module:

	static struct omap_hwmod omap2420_gpio1_hwmod = {
		.name           = "gpio1",
		.flags          = HWMOD_INIT_NO_RESET, /* Workaround: Don't reset the n810 MIPID */

I'm wondering if a better fix suitable for the mainline
kernel inclusion could be found.
Any ideas?

-- 
Greetings, Michael.





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

end of thread, other threads:[~2011-03-10  5:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 20:45 Nokia n810 LCD (MIPID/blizzard) on 2.6.38 Michael Buesch
2011-03-01  9:20 ` Felipe Balbi
2011-03-01 14:23   ` Michael Büsch
2011-03-01 14:39     ` Felipe Balbi
2011-03-01 16:23 ` Varadarajan, Charulatha
2011-03-01 16:29   ` Michael Büsch
2011-03-02  4:41     ` Varadarajan, Charulatha
2011-03-02 18:30 ` Tony Lindgren
2011-03-10  1:18 ` Paul Walmsley
2011-03-10  5:49   ` Michael Büsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox