From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 0/3] Support for XPedite5370 and misc GPIO
Date: Wed, 17 Dec 2008 16:36:20 -0600 [thread overview]
Message-ID: <cover.1229551661.git.ptyser@xes-inc.com> (raw)
NOTE: If there are still concerns about the ds4510 driver, feel
free to leave it out of this patch series and only apply
"Add support for PCA953x I2C gpio devices" and "XPedite5370
board support". I'd rather get those 2 changes merged in for
the upcoming release and deal with the ds4510 later if need be.
Hello,
This patch series adds support for the XPedite5370 SBC.
Its an MPC8572-based VPX card with a PMC/XMC site. The
XPedite5370 includes a significant number of I2C GPIO devices (5)
which are used for board configuration. I added support for
2 new I2C gpio devices in a new drivers/gpio directory. I'm
not sure if this is the preferred location/method, so let me know
if others have have different preferences. It'd be nice to have a
more generic GPIO framework (like Linux's) at some point, but
figured this was a step in the right direction by providing a
place for generic GPIO devices in drivers/gpio.
Thanks,
Peter
Changes since v1:
- Rebased to u-boot-mpc85xx tree
- Updated NOR flash remapping method
- Added CONFIG_SYS_I2C2_OFFSET define to XPEDITE5370.h
- Removed CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE from XPEDITE5370.h
Changes since v2:
pca953x.c:
- Use cmd_tbl_t for subcommand parsing
- Made 'info' command dependent on CONFIG_CMD_PCA953X_INFO
- Removed chip command parameters, added 'device' subcommand
ds4510.c:
- Use cmd_tbl_t for subcommand parsing
- Made 'info' command dependent on CONFIG_CMD_DS4510_INFO
- Made memory commands dependent on CONFIG_CMD_DS4510_MEM
- Made 'rst' command dependent on CONFIG_CMD_DS4510_RST
- Removed chip command parameters, added 'device' subcommand
- Fixed multiline comment style
- moved to drivers/misc
xpedite5370:
- Changed alignment by spaces to alignment by tabs
- Fixed gur->devdisr typo for PCIe2
- Fixed some lines over 80 chars
- Fixed multiline comment style
- Cleaned up environment defines
Changes since v3:
- Removed CONFIG_L1_INIT_RAM reference
Changes since v4:
- Legitimately fixed gur->devdisr typo for PCIe2/3
Changes since v5:
- Additional error checks in pca953x.c and ds4510.c
- Changed usage of maxargs for command parsing in pca953x.c and ds4510.c
- Moved include/gpio/pca953x.h to include/pca953x.h
- Moved include/gpio/ds4510.h to include/ds4510.h
- Rebased on current TOT
Peter Tyser (3):
Add support for PCA953x I2C gpio devices
Add support for Maxim's DS4510 I2C device
XPedite5370 board support
MAINTAINERS | 3 +
MAKEALL | 1 +
Makefile | 5 +
README | 13 +
board/xes/common/Makefile | 56 ++++
board/xes/common/fsl_8572_clk.c | 51 +++
board/xes/common/fsl_85xx_ddr.c | 93 ++++++
board/xes/common/fsl_85xx_pci.c | 265 ++++++++++++++++
board/xes/xpedite5370/Makefile | 45 +++
board/xes/xpedite5370/config.mk | 35 ++
board/xes/xpedite5370/ddr.c | 270 ++++++++++++++++
board/xes/xpedite5370/law.c | 54 ++++
board/xes/xpedite5370/tlb.c | 94 ++++++
board/xes/xpedite5370/u-boot.lds | 145 +++++++++
board/xes/xpedite5370/xpedite5370.c | 128 ++++++++
drivers/gpio/Makefile | 47 +++
drivers/gpio/pca953x.c | 227 ++++++++++++++
drivers/misc/Makefile | 1 +
drivers/misc/ds4510.c | 424 +++++++++++++++++++++++++
include/configs/XPEDITE5370.h | 589 +++++++++++++++++++++++++++++++++++
include/ds4510.h | 75 +++++
include/pca953x.h | 39 +++
22 files changed, 2660 insertions(+), 0 deletions(-)
create mode 100644 board/xes/common/Makefile
create mode 100644 board/xes/common/fsl_8572_clk.c
create mode 100644 board/xes/common/fsl_85xx_ddr.c
create mode 100644 board/xes/common/fsl_85xx_pci.c
create mode 100644 board/xes/xpedite5370/Makefile
create mode 100644 board/xes/xpedite5370/config.mk
create mode 100644 board/xes/xpedite5370/ddr.c
create mode 100644 board/xes/xpedite5370/law.c
create mode 100644 board/xes/xpedite5370/tlb.c
create mode 100644 board/xes/xpedite5370/u-boot.lds
create mode 100644 board/xes/xpedite5370/xpedite5370.c
create mode 100644 drivers/gpio/Makefile
create mode 100644 drivers/gpio/pca953x.c
create mode 100644 drivers/misc/ds4510.c
create mode 100644 include/configs/XPEDITE5370.h
create mode 100644 include/ds4510.h
create mode 100644 include/pca953x.h
next reply other threads:[~2008-12-17 22:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 22:36 Peter Tyser [this message]
2008-12-17 22:36 ` [U-Boot] [PATCH v6 1/3] Add support for PCA953x I2C gpio devices Peter Tyser
2008-12-17 22:36 ` [U-Boot] [PATCH v6 2/3] Add support for Maxim's DS4510 I2C device Peter Tyser
2008-12-17 22:36 ` [U-Boot] [PATCH v6 3/3] XPedite5370 board support Peter Tyser
2009-01-24 0:48 ` [U-Boot] [PATCH v6 2/3] Add support for Maxim's DS4510 I2C device 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.1229551661.git.ptyser@xes-inc.com \
--to=ptyser@xes-inc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox