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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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                               |   6 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-ts4900.c                         | 198 +++++++++++++++++++++
 4 files changed, 234 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-ts4900.txt
 create mode 100644 drivers/gpio/gpio-ts4900.c

-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux