[PATCH v2 0/2] add driver for PCA95[357]x, PCA9698, TCA64xx, and MAX7310 SMBus I/O expanders

Antony Pavlov antonynpavlov at gmail.com
Thu Jul 10 13:07:23 PDT 2014


changes since RFC v1 patchseries:

  * gpio-pca953x.c: drop depricated devicetree parameters;
  * gpio-pca953x.c: add pca953x_gpio_get_direction();
  * move SMBus stuff from i2c.c to i2c-smbus.c, introduce CONFIG_I2C_SMBUS.

Antony Pavlov (2):
  i2c: import SMBus stuff from linux
  gpio: add driver for PCA95[357]x, PCA9698, TCA64xx, and MAX7310 SMBus
    I/O expanders

 drivers/gpio/Kconfig            |  21 ++
 drivers/gpio/Makefile           |   1 +
 drivers/gpio/gpio-pca953x.c     | 481 ++++++++++++++++++++++++++++++++++++++++
 drivers/i2c/Kconfig             |   3 +
 drivers/i2c/Makefile            |   1 +
 drivers/i2c/i2c-smbus.c         | 371 +++++++++++++++++++++++++++++++
 include/i2c/i2c.h               |  57 +++++
 include/platform_data/pca953x.h |  27 +++
 8 files changed, 962 insertions(+)
 create mode 100644 drivers/gpio/gpio-pca953x.c
 create mode 100644 drivers/i2c/i2c-smbus.c
 create mode 100644 include/platform_data/pca953x.h

-- 
2.0.1




More information about the barebox mailing list