gpio: pca9570: add slg7xl45106 support
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Wed, 26 Oct 2022 15:15:43 +0000 (20:45 +0530)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 27 Oct 2022 07:32:31 +0000 (09:32 +0200)
commitfbb19fe17eaef7b6ba2e68dbf0600a97060f2909
tree7cc5f41bae34de50bc114d732be4f10390e5f3d5
parentb8a34582c7f7f22f82852f9d3cc192e050f892fd
gpio: pca9570: add slg7xl45106 support

Dialog semiconductors SLG7XL45106 is an 8-bit I2C GPO expander.
The output port is controlled by a data byte with register
address. Add a compatible string for the same. Also update
the driver to write and read from it.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pca9570.c