[PATCH v3 0/2] gpio: fxl6408: add I2C GPIO expander driver
From: Francesco Dolcini
Date:  Mon Mar 13 2023 - 13:11:31 EST
From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
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
v3:
 * dt schema
  * add Reviewed-by: Krzysztof Kozlowski krzysztof.kozlowski@xxxxxxxxxx
 * driver
  * add include files: kernel.h and err.h
  * refactor of fxl6408_identify and used dev_err_probe instead of dev_err
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                   | 158 ++++++++++++++++++
 4 files changed, 227 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/fcs,fxl6408.yaml
 create mode 100644 drivers/gpio/gpio-fxl6408.c
-- 
2.25.1