gpio: pca9570: add GPO driver for PCA9570
authorSungbo Eo <mans0n@gorani.run>
Thu, 9 Jul 2020 13:48:29 +0000 (22:48 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2020 12:35:12 +0000 (14:35 +0200)
commit16d44b6085c1d90884b264deb938a34ab85a9c6d
treeba41d3f48363d8c0ee43b3d5b4423b38f14a79ef
parente6827bc3faa4da29ddbf48f48d04e87ca7c1c3c7
gpio: pca9570: add GPO driver for PCA9570

NXP PCA9570 is a 4-bit I2C GPO expander without interrupt functionality.
Its ports are controlled only by a data byte without register address.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Datasheet: https://www.nxp.com/docs/en/data-sheet/PCA9570.pdf
Link: https://lore.kernel.org/r/20200709134829.216393-1-mans0n@gorani.run
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-pca9570.c [new file with mode: 0644]