From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 0/9] display and keypad support for nhk8815
Date: Wed, 25 Nov 2009 22:46:21 +0100 [thread overview]
Message-ID: <cover.1259185128.git.rubini@unipv.it> (raw)
This patch set implements display and keypad support. To turn the display
on I need the STMPE2401 port expander, set up as a separate driver in this
patch set.
It's the same set I sent for RFC on Oct 9 2009, with the requested
fixes. I also added commit messages to each of them, and an initial
nhk-specific patch that was not submitted for RFC.
Detailed list of changes from V1 (as well as fixed message-id):
1/9 (nhk8815: fix i2c and other gpios at board_init time, not later):
new patch, needed to apply the other ones.
Please note that there is a block with local variables;
I know it is generally not advisable but they are really of
strictly local use, I think they deserve their limited scope.
2/9 (video: add amba-clcd prime-cell):
include/amba_clcd.h: fixed white space (spaces before tab)
better comments on the data structures
3/9 (include/nomadik.h: add physical address for cldc):
unchanged
4/9 (drivers/misc: add stmpe2401 port extender and keypad controller):
drivers/misc/stmpe2401.c: newlined all statements of if/else
include/stmpe2401.h: white space fixes
====> Note: I did not turn it into a C structure, as those registers
are I2C registers, so they are plain numbers, not offsets in
an I/O memory region where I use readl/writel
5/9 (nhk8815.h: define we need stmpe):
unchanged
6/9 (lcd: make 16bpp work):
declared the new "d" pointer in new ifdef block. I dislike it, but
my previous approach to avoid the ifdef was nacked. common/lcd.c is
a mess, unfortunately.
I made "./MAKEALL arm" and "./MAKEALL ppc" with no adverse effects.
7/9 (nhk8815: added keypad):
layout (space, if blocks)
removed extra __LINE__ temporary printouts
added an header for local prototypes
8/9 (nhk8815: start lower in RAM, so the 800x480 frame buffer fits):
changed the comment in config.mk.
9/9 (nhk8815: added lcd support):
white space changes (tabified the structures)
removed the __LINE__ temporary printouts
used the header introduced in 7/9 for local prototypes
Alessandro Rubini (9):
nhk8815: change the order of initialization
video: add amba-clcd prime-cell
include/nomadik.h: add physical address for cldc
drivers/misc: add stmpe2401 port extender and keypad controller
nhk8815.h: define we need stmpe
lcd: make 16bpp work
nhk8815: added keypad
nhk8815: start lower in RAM, so the 800x480 frame buffer fits
nhk8815: added lcd support
board/st/nhk8815/Makefile | 6 +-
board/st/nhk8815/config.mk | 8 +-
board/st/nhk8815/keypad.c | 99 +++++++++++++++++++
board/st/nhk8815/lcd.c | 87 ++++++++++++++++
board/st/nhk8815/nhk8815-devices.h | 8 ++
board/st/nhk8815/nhk8815.c | 38 +++++--
common/lcd.c | 27 ++++-
drivers/misc/Makefile | 1 +
drivers/misc/stmpe2401.c | 191 ++++++++++++++++++++++++++++++++++++
drivers/video/Makefile | 1 +
drivers/video/amba.c | 86 ++++++++++++++++
include/amba_clcd.h | 85 ++++++++++++++++
include/configs/nhk8815.h | 20 ++++-
include/nomadik.h | 1 +
include/stmpe2401.h | 66 ++++++++++++
15 files changed, 701 insertions(+), 23 deletions(-)
create mode 100644 board/st/nhk8815/keypad.c
create mode 100644 board/st/nhk8815/lcd.c
create mode 100644 board/st/nhk8815/nhk8815-devices.h
create mode 100644 drivers/misc/stmpe2401.c
create mode 100644 drivers/video/amba.c
create mode 100644 include/amba_clcd.h
create mode 100644 include/stmpe2401.h
next reply other threads:[~2009-11-25 21:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <84aa128b71cbe6595dd5859c64a592b122cef723.1259185128.git.rubini@ unipv.it>
2009-11-25 21:46 ` Alessandro Rubini [this message]
2009-11-25 21:46 ` [U-Boot] [PATCH V2 1/9] nhk8815: change the order of initialization Alessandro Rubini
2009-11-25 21:46 ` [U-Boot] [PATCH V2 2/9] video: add amba-clcd prime-cell Alessandro Rubini
2009-11-29 21:24 ` Anatolij Gustschin
2009-11-29 21:44 ` Alessandro Rubini
2009-11-29 23:15 ` Anatolij Gustschin
2009-11-29 23:31 ` Alessandro Rubini
2009-11-29 22:21 ` Wolfgang Denk
2009-11-25 21:46 ` [U-Boot] [PATCH V2 3/9] include/nomadik.h: add physical address for cldc Alessandro Rubini
2009-11-25 21:47 ` [U-Boot] [PATCH V2 4/9] drivers/misc: add stmpe2401 port extender and keypad controller Alessandro Rubini
2009-11-25 21:47 ` [U-Boot] [PATCH V2 5/9] nhk8815.h: define we need stmpe Alessandro Rubini
2009-11-25 21:47 ` [U-Boot] [PATCH V2 6/9] lcd: make 16bpp work Alessandro Rubini
2009-11-29 22:13 ` Anatolij Gustschin
2009-11-25 21:47 ` [U-Boot] [PATCH V2 7/9] nhk8815: added keypad Alessandro Rubini
2009-11-25 21:47 ` [U-Boot] [PATCH V2 8/9] nhk8815: start lower in RAM, so the 800x480 frame buffer fits Alessandro Rubini
2009-11-25 21:47 ` [U-Boot] [PATCH V2 9/9] nhk8815: added lcd support Alessandro Rubini
[not found] ` <84aa128b71cbe6595dd5859c64a592b122cef723.1259185128.git.rubini @unipv.it>
2009-11-26 9:17 ` [U-Boot] [PATCH V2 2/9] video: add amba-clcd prime-cell Alessandro Rubini
2009-12-05 0:26 ` 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=cover.1259185128.git.rubini@unipv.it \
--to=rubini-list@gnudd.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.