public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] request for comments
@ 2004-02-17  3:20 Josh Fryman
  2004-02-17 20:58 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Fryman @ 2004-02-17  3:20 UTC (permalink / raw)
  To: u-boot

hi all,

i've got a set of patches i've been working on to support a new platform.
it's still a work-in-progress, but a couple of issues have come up that
i'd like to ask for input on.

this platform has an LCD panel and a backlight.  both are controllable to
a certain extent.  i'd like to add a set of new commands to support the
features:

   bkon                        backlight on
   bkoff                       backlight off
   bkset percent               set backlight brightness to "percent" of max
   lcdon                       turn lcd on
   lcdoff                      turn lcd off
   lcdtst                      draw a test pattern on the lcd
   lcddraw x0 y0 x1 y1 r g b   draw a rectangle on the lcd, scaling R/G/B
                               values to hardware supported (ie, the cmd
                               values are in 0-255, but the hardware only
                               does RGB565 ... causes "255" to be mapped
                               accordingly)

and accompanying cmd_lcd.c, and cmd_bklite.c files.

of course, i could re-work this to be more like

   bk   {on,off,set percent}
   lcd  {on,off,tst,draw x0 y0 x1 y1 r g b}

to not take up so many command values...

any thoughts?  

-josh

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

end of thread, other threads:[~2004-02-17 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17  3:20 [U-Boot-Users] request for comments Josh Fryman
2004-02-17 20:58 ` Wolfgang Denk
2004-02-17 21:22   ` Josh Fryman
2004-02-17 21:37     ` Wolfgang Denk

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