]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fb1efbf9c42af36cf0ad9b34b81d0dfa4f15974
treeba41d3f48363d8c0ee43b3d5b4423b38f14a79ef
parent0588661577fcc6c5f45410117e36f280c2b9dfa1
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]