public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot,PATCHv4] pca953x: support 16-pin devices
Date: Mon, 10 Jan 2011 08:02:58 +0100	[thread overview]
Message-ID: <4D2AAF22.1010707@denx.de> (raw)
In-Reply-To: <AANLkTi=SCY1Mv1d-Ari4wxnfhkse8LQE36hgYCT4TWGc@mail.gmail.com>

Hello Chris,

Sorry for the late reply, but just looked in patchwork and found that
I am responsible for your patch, so ...

Chris Packham wrote:
> This adds support for for the PCA9535/PCA9539 family of gpio devices which
> have 16 output pins.
> 
> To let the driver know which devices are 16-pin it is necessary to define
> CONFIG_SYS_I2C_PCA953X_WIDTH in your board config file. This is used to
> create an array of {chip, ngpio} tuples that are used to determine the
> width of a particular chip. For backwards compatibility it is assumed that
> any chip not defined in CONFIG_SYS_I2C_PCA953X_WIDTH has 8 pins.
> 
> Acked-by: Peter Tyser <ptyser@xes-inc.com>
> Tested-by: Peter Tyser <ptyser@xes-inc.com>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> 
> ---
> Changes since v3:
> - pca953x_ngpio is now a function in all cases.
> - Added Peter's ACK to the commit message.
> 
>  README                 |    4 ++
>  drivers/gpio/pca953x.c |  114 ++++++++++++++++++++++++++++++++++++++----------
>  2 files changed, 95 insertions(+), 23 deletions(-)

Compiles with actual u-boot the xpedite* boards, so added to
u-boot-i2c.git

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2011-01-10  7:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 22:00 [U-Boot] [PATCHv2] pca953x: support 16-pin devices Chris Packham
2010-12-09  0:08 ` Peter Tyser
2010-12-09  4:40   ` Chris Packham
2010-12-09  9:11     ` [U-Boot] [PATCHv3] " Chris Packham
2010-12-09 17:08       ` Peter Tyser
2010-12-15  2:49         ` Chris Packham
2010-12-18 23:26           ` Wolfgang Denk
2010-12-19 20:12             ` [U-Boot] [PATCHv4] " Chris Packham
2011-01-10  7:02               ` Heiko Schocher [this message]
2011-01-13  4:02                 ` [U-Boot] [U-Boot,PATCHv4] " Chris Packham
2011-01-13  6:08                   ` Peter Tyser

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=4D2AAF22.1010707@denx.de \
    --to=hs@denx.de \
    --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