diff options
| author | Emanuele Ghidoli <[email protected]> | 2023-03-13 17:09:50 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-03-15 12:49:18 +0000 |
| commit | 03810031c91dfe448cd116ee987d5dc4139006f4 (patch) | |
| tree | d22f48029de80b3c4e723d4066a0358031b534a8 /drivers/gpio/gpio-pxa.c | |
| parent | dt-bindings: gpio: add fcs,fxl6408 (diff) | |
| download | kernel-03810031c91dfe448cd116ee987d5dc4139006f4.tar.gz kernel-03810031c91dfe448cd116ee987d5dc4139006f4.zip | |
gpio: fxl6408: add I2C GPIO expander driver
Add minimal driver for Fairchild FXL6408 8-bit I2C-controlled GPIO expander
using the generic regmap based GPIO driver (GPIO_REGMAP).
The driver implements setting the GPIO direction, reading inputs
and writing outputs.
In addition to that the FXL6408 has the following functionalities:
- allows to monitor input ports for data transitions with an interrupt pin
- all inputs can be configured with pull-up or pull-down resistors
Datasheet: https://www.onsemi.com/download/data-sheet/pdf/fxl6408-d.pdf
Signed-off-by: Emanuele Ghidoli <[email protected]>
Co-developed-by: Francesco Dolcini <[email protected]>
Signed-off-by: Francesco Dolcini <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
[Bartosz: order includes alphabetically]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-pxa.c')
0 files changed, 0 insertions, 0 deletions
