summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2010-12-19 10:12:13 +0000
committerHeiko Schocher <hs@denx.de>2011-01-10 07:53:00 +0100
commit5dec49ca2273bcf181071bc1c97a9901b155ebc1 (patch)
tree2b00e45e8f268dcd9b872525591d8460d434462f /include
parent89c95f0cd3f8140f3b8a82a22a6a144c148d09c6 (diff)
downloadu-boot-imx-5dec49ca2273bcf181071bc1c97a9901b155ebc1.zip
u-boot-imx-5dec49ca2273bcf181071bc1c97a9901b155ebc1.tar.gz
u-boot-imx-5dec49ca2273bcf181071bc1c97a9901b155ebc1.tar.bz2
pca953x: support 16-pin devices
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions