mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* lcd clock
@ 2011-04-11 11:54 Vanalme Filip
  2011-04-11 12:19 ` Juergen Beisert
  0 siblings, 1 reply; 2+ messages in thread
From: Vanalme Filip @ 2011-04-11 11:54 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]

Hi,

Is there any specific reason why the (i.MX27) LCDC clocks are disabled in imxfb_probe() (drivers\imx.c) ?

#ifdef CONFIG_ARCH_IMX27
PCCR0 &= ~PCCR0_LCDC_EN;
PCCR1 &= ~PCCR1_HCLK_LCDC;
#endif

I would have expected the clocks to be enabled in that routine.

I'm experimenting a little with Barebox's 'bmp' command. Although the command did not return any error, I did not have any output on my lcd. Then I noticed that the LCDC clocks were not enabled. If the clocks were not enabled by default in the probe function, I would expect the enabling in the bmp command code, e.g. with FBIO_ENABLE ioctl command. But, as far as I can see, FBIO_ENABLE is not executed in the bmp command code.

Filip



[-- Attachment #1.2: Type: text/html, Size: 4507 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: lcd clock
  2011-04-11 11:54 lcd clock Vanalme Filip
@ 2011-04-11 12:19 ` Juergen Beisert
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Beisert @ 2011-04-11 12:19 UTC (permalink / raw)
  To: barebox

Vanalme Filip wrote:
> Is there any specific reason why the (i.MX27) LCDC clocks are disabled in
> imxfb_probe() (drivers\imx.c) ?
>
> #ifdef CONFIG_ARCH_IMX27
> PCCR0 &= ~PCCR0_LCDC_EN;
> PCCR1 &= ~PCCR1_HCLK_LCDC;
> #endif
>
> I would have expected the clocks to be enabled in that routine.
>
> I'm experimenting a little with Barebox's 'bmp' command. Although the
> command did not return any error, I did not have any output on my lcd. Then
> I noticed that the LCDC clocks were not enabled. If the clocks were not
> enabled by default in the probe function, I would expect the enabling in
> the bmp command code, e.g. with FBIO_ENABLE ioctl command. But, as far as I
> can see, FBIO_ENABLE is not executed in the bmp command code.

Try within barebox

fb0.enable=1

This should enable the LCD controller on demand.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-04-11 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 11:54 lcd clock Vanalme Filip
2011-04-11 12:19 ` Juergen Beisert

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