Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461275

[PATCH v4 0/2] Technologic I2C-FPGA gpio support

From Lucile Quirion <lucile.quirion@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/2] Technologic I2C-FPGA gpio support
Date 2016-08-12 17:20 +0200
Message-ID <s5mpz-3m3-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This driver aims to support all Technologic Systems's boards embedding FPGA
GPIOs with an I2C interface.

Changes in v2:
 - convert from bool to tristate

Changes in v3:
 - use regmap abstraction to read/write from I2C
 - use devm_gpiochip_add_data()
 - implement ts4900_gpio_get_direction() function
 - use explicit bit names (GPIO_IN/GPIO_OUT)
 - fix ts4900_gpio_set() function (do not force the line as output)
 - doc: document ngpios property

Changes in v4:
 - do not use deprecated gpio interface (linux/gpio.h)
 - select REGMAP_I2C

Lucile Quirion (2):
  gpio: add bindings for Technologic I2C-FPGA gpio controller
  gpio: add Technologic I2C-FPGA gpio support

 .../devicetree/bindings/gpio/gpio-ts4900.txt       |  29 ++++
 drivers/gpio/Kconfig                               |   7 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-ts4900.c                         | 190 +++++++++++++++++++++
 4 files changed, 227 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-ts4900.txt
 create mode 100644 drivers/gpio/gpio-ts4900.c

-- 
2.5.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/2] Technologic I2C-FPGA gpio support Lucile Quirion <lucile.quirion@savoirfairelinux.com> - 2016-08-12 17:20 +0200
  [PATCH v4 2/2] gpio: add Technologic I2C-FPGA gpio support Lucile Quirion <lucile.quirion@savoirfairelinux.com> - 2016-08-12 17:20 +0200
    Re: [PATCH v4 2/2] gpio: add Technologic I2C-FPGA gpio support Linus Walleij <linus.walleij@linaro.org> - 2016-08-19 11:10 +0200

csiph-web