[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230313113308.157930-1-francesco@dolcini.it>
Date: Mon, 13 Mar 2023 12:33:06 +0100
From: Francesco Dolcini <francesco@...cini.it>
To: linux-gpio@...r.kernel.org
Cc: Francesco Dolcini <francesco.dolcini@...adex.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] gpio: fxl6408: add I2C GPIO expander driver
From: Francesco Dolcini <francesco.dolcini@...adex.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
--
2.25.1
Powered by blists - more mailing lists