GPIO expander driver and bindings for DS4520. The patches are required to be applied in sequence. Changes in v5: * Patch 1: "dt-bindings: gpio: ds4520: Add ADI DS4520" * No change * Patch 2: "gpio: ds4520: Add ADI DS4520 GPIO Expander Support" * Remove unnecessary new lines. * Use probe(..) instead of probe_new(..) Changes in v4: * 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 | 80 +++++++++++++++++++ 4 files changed, 143 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml create mode 100644 drivers/gpio/gpio-ds4520.c -- 2.30.2