mbox series

[v2,0/2] gpio: fxl6408: add I2C GPIO expander driver

Message ID 20230313113308.157930-1-francesco@dolcini.it
Headers show
Series gpio: fxl6408: add I2C GPIO expander driver | expand

Message

Francesco Dolcini March 13, 2023, 11:33 a.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

Add support for Fairchild (now ON Semiconductor) fxl6408 8-bit I2C-controlled
GPIO expander, see data-sheet [0].

[0] https://www.onsemi.com/download/data-sheet/pdf/fxl6408-d.pdf

v2:
 * improved commit messages and titles
 * dt schema:
  * remove "driver" word from yaml
  * simplify gpio-hog property definition
  * rename fcs,fxl6408-gpio.yaml to fcs,fxl6408.yaml
  * add missing SoB
 * driver:
  * remove includes: <linux/gpio.h> and <linux/of_platform.h>
  * add missing and required select REGMAP_I2C in KConfig
  * use dev_err_probe()
  * add "Datasheet:" tag in commit message
  * improve KConfig help section
  * fix newlines, multi-line comments and trailing commas
 

Emanuele Ghidoli (2):
  dt-bindings: gpio: add fcs,fxl6408
  gpio: fxl6408: add I2C GPIO expander driver

 .../devicetree/bindings/gpio/fcs,fxl6408.yaml |  58 +++++++
 drivers/gpio/Kconfig                          |  10 ++
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-fxl6408.c                   | 152 ++++++++++++++++++
 4 files changed, 221 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml
 create mode 100644 drivers/gpio/gpio-fxl6408.c