From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Tyser Date: Thu, 09 Dec 2010 11:08:25 -0600 Subject: [U-Boot] [PATCHv3] pca953x: support 16-pin devices In-Reply-To: References: <1291853332.20072.874.camel@petert> Message-ID: <1291914505.20072.911.camel@petert> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2010-12-09 at 22:11 +1300, 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. > > Signed-off-by: Chris Packham Looks good to me and works as advertised. Acked-by: Peter Tyser Tested-by: Peter Tyser