On Thu, Nov 25, 2021 at 4:21 PM [off-list ref] wrote:
From: Patrick Rudolph <patrick.rudolph@9elements.com>
Add support for I2C GPIO expanders:
- cy8c9520
- cy8c9540
- cy8c9560
Add basic support for GPIO input, output, direction, pin config and
interrupt handling.
The chip uses an optional regulator called vdd-supply.
The ngpios devicetree property can be used to specify less GPIOs if not
all are connected.
Tested:
- Input
- Output
- Direction
- Pullup
- Pulldown
- IRQ support
Thanks (*really* appreciate this effort, since I have even hardware to
test and had thought of developing the driver myself)!
And unfortunately NAK from me. Please do it as a pin control.
I specifically had in mind to have PWM stitching with the pin control
subsystem with this chip taken as an example.
--
With Best Regards,
Andy Shevchenko