[v3,0/2] Add DS4520 GPIO Expander Support

Message ID 20230724063414.102805-1-okan.sahin@analog.com
Headers
Series Add DS4520 GPIO Expander Support |

Message

Sahin, Okan July 24, 2023, 6:34 a.m. UTC
  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"
  * 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