Skip to content
Snippets Groups Projects
Commit 5dec49ca authored by Chris Packham's avatar Chris Packham Committed by Heiko Schocher
Browse files

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: default avatarPeter Tyser <ptyser@xes-inc.com>
Tested-by: default avatarPeter Tyser <ptyser@xes-inc.com>
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
parent 89c95f0c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment