[PATCH v4 0/2] Add DS4520 GPIO Expander Support

From: Okan Sahin
Date: Thu Jul 27 2023 - 05:10:02 EST


GPIO expander driver and bindings for DS4520.
The patches are required to be applied in sequence.

Changes in v3:
* Patch 1: "dt-bindings: gpio: ds4520: Add ADI DS4520"
* No change
* Patch 2: "gpio: ds4520: Add ADI DS4520 GPIO Expander Support"
* Add, remove unnecessary new lines.

Changes in v3:
* Patch 1: "dt-bindings: gpio: ds4520: Add ADI DS4520"
* Add ngpios property.
* Patch 2: "gpio: ds4520: Add ADI DS4520 GPIO Expander Support"
* Add namespace for MACROS
* Read ngpios from dt
* Add missing header file

Changes in v2:
* Patch 1: "dt-bindings: gpio: ds4520: Add ADI DS4520"
* Drop label for gpio node
* Use consistent quotes
* Fix filename matching compatible.
* Patch 2: "gpio: ds4520: Add ADI DS4520 GPIO Expander Support"
* Use regmap_gpio framework
* Fix typo in Kconfig
* Fix commit message

Okan Sahin (2):
dt-bindings: gpio: ds4520: Add ADI DS4520
gpio: ds4520: Add ADI DS4520 GPIO Expander Support

.../bindings/gpio/adi,ds4520-gpio.yaml | 51 +++++++++++
drivers/gpio/Kconfig | 11 +++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-ds4520.c | 89 +++++++++++++++++++
4 files changed, 152 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml
create mode 100644 drivers/gpio/gpio-ds4520.c

--
2.30.2