pinctrl: Add Cypress cy8c95x0 support
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 16 Aug 2022 05:49:15 +0000 (07:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 Aug 2022 22:24:32 +0000 (00:24 +0200)
commite6cbbe42944de93ba4e0785b4f90d284b1d7cdf6
tree8733f31dd7870d8b74812f412d1fc30ee83ae1bc
parent8d39e55e52c10f78967d6d029631601fcc8a0121
pinctrl: Add Cypress cy8c95x0 support

Add support for cypress I2C GPIO expanders cy8c9520, cy8c9540 and
cy8c9560. The GPIO expanders feature a PWM mode, thus add it as
pinctrl driver.

The chip features multiple drive modes for each pin when configured
as output and multiple bias settings when configured as input.

Tested all three components and verified that all functionality
is fully working.

Datasheet: https://www.cypress.com/file/37971/download
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Link: https://lore.kernel.org/r/20220816054917.7893-3-patrick.rudolph@9elements.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
MAINTAINERS
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-cy8c95x0.c [new file with mode: 0644]