From: Josh Fryman <fryman@cc.gatech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] request for comments
Date: Mon, 16 Feb 2004 22:20:14 -0500 [thread overview]
Message-ID: <20040216222014.23806b93.fryman@cc.gatech.edu> (raw)
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
next reply other threads:[~2004-02-17 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-17 3:20 Josh Fryman [this message]
2004-02-17 20:58 ` [U-Boot-Users] request for comments Wolfgang Denk
2004-02-17 21:22 ` Josh Fryman
2004-02-17 21:37 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040216222014.23806b93.fryman@cc.gatech.edu \
--to=fryman@cc.gatech.edu \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox